Tag Info

Hot answers tagged

8

Per process memory on 32-bit systems is 4GB (which is divided into 3GB for the process and 1GB for the kernel, by default). If you want your database to be able to access more memory /per process/ you have little choice but to install a 64-bit operating system. If the limit of 3GB per process is not bothering you, you might as well stay with the current ...


8

Do: ls -al /var/lock/subsys Look for mysql.pid. Remove that. Also remove mysql.sock if it exists. If all else fails, [as root] use updatedb ; locate <filename>. This is your friend in situations like this. Try restarting MySQL using the init script. If that doesn't work, restore to a database checkpoint from an acceptable backup of the database. ...


6

Most modern 32-bit CPUs support PAE which allows them to address more than 4GB of physical memory, although a single process can only see 4GB at a time. The kernel will take some of this address space. This Stackoverflow post discusses how PAE works. Many operating systems (including Linux and MS Windows) offer an API that allows you to manipulate the ...


5

According to the man page, inserting a precedence value in gai.conf disables the all the other default rules. Try setting all the rules as listed in RFC 3484 (10.3): Prefix Precedence Label ::1/128 50 0 ::/0 40 1 2002::/16 30 2 ::/96 20 3 ::ffff:0:0/96 100 ...


4

If iLO/DRAC is present, use them. IF not, you can equip your host by so called IP-KVM. If your host is virtual, probably you can access it via some kind of VNC.


4

Your question is impossible to answer. Perhaps the previous admin installed the MySQL with some other way than the official one? Perhaps he just googled for the init script and manually copied it to /etc/init.d? There's no way to know what happened, unless you have some kind of audit logs.


3

I think it would be better to ask the question, "Why would I stay with a 32-bit kernel?" I went all 64-bit on every piece of hardware that supports it as soon as I could and I have no regrets. At work we are running PostgreSQL servers on 64-bit CentOS 5 with 32 GB RAM and it is pretty great (Except for certain limitations with PostgreSQL itself, but ...


3

You will probably find that ps on slackware is showing you the individual threads for each process. Threads in Linux are basically separate processes created using clone() rather than fork(), which leaves them with the same address space. On a 2.6 kernel, ps can usually detect which processes are threads and which aren't. Perhaps slackware has a slightly ...


3

Slackware hasn't been requested for support, and its not one that anyone at Opscode uses, so Chef doesn't currently support Slackware (version 0.9.12). It needs two things for this to happen: Detection of Slackware via Ohai Platform-specific providers in Chef::Platform For the former, the platform plugin would need to determine somehow if the system is ...


3

From dhcpcd manpage: <ConfigDir>/dhcpcd-<interface>.info file in which dhcpcd saves the host information. The word <interface> is actually replaced with the network interface name like eth0 to which dhcpcd is attached. The default ConfigDir in Slackware 12 is /etc/dhcpc


3

What do you mean by "I installed the newest version of cairo without any problems". Did you install a slackware package or did you untar a pre-built archive or did you compile it from source? I suspect that you did either one of the latter. If you merely downloaded a archive and untarred it somewhere, the package manger would not know. Ditto with source ...


3

I'm nearly in the same scenario as you (http://serverfault.com/questions/25758/is-there-any-reason-to-use-64bit-mysql-and-os-on-small-databases), and from what I could find out: MySQL on 32bit can not use more than 2GB RAM per instance no matter what you do with your kernel. If you're not running MySQL the situation might be different.


3

Look into NoMachine NX Free Edition. It will provide an optimized remote session over SSH and has clients for Macintosh, Windows and Linux. http://www.nomachine.com/download.php


3

According to your iptables -nvL output, you have a rule to drop all traffic coming in eth1. This is likely your issue. The rule youre trying to add uses -A INPUT, so it appends the rule to the end of the chain. Given that there are other rules in your -nvL output that arent in your script, I'm guessing you have some other rules that are being applied ...


3

Unless ntop is a member of users, he cannot enter /mnt/user or /mnt/user/media, as entering a directory requires +x permissions.


2

The main danger of running on a 32 bit system with lots of highmem (more than 8GB) is that the kernel could end up needing to allocate more data than what fits in ZONE_NORMAL. This means the machine can effectively run out of memory, even if there were still lots of high memory free. Another issue is that the system will more aggressively reclaim kernel ...


2

64-bit is the only way. On 32-bit, it's an inventive hack to get to >1GB, and an even bigger hack for >4GB.[1] You say it's a heavily loaded system, so why waste cycles in a bodge to get to memory when it can be mapped directly? The only reason you should use 32bit is for vendor support. As you're on Slackware, I doubt that would be a reason. [1] See, for ...


2

So it looks like some type overflow attack at first glance. It my systems, i regulary use an iDS,IPS (intrusion detection/protection system) Attacks like this are usually mitagated by a good ruleset(similiar to antivirus). It filters the traffic in realtime and checks for matches, finally if matched performs the specified operation (e.g DROP) A ...


2

Client A: eth0(VMnet0) Bridge setup (internet) eth1(VMnet4) custom network with no hosts, bridges, local dhcps from vmware Client B and C: eth0(VMnet4) custom network with no hosts, bridges, local dhcps from vmware With the above setup i could merge the VMs networks with Client A allowing it to distribute the ips and internet to them. With the ...


2

If you want to provide DHCP from A Client, you should not use Bridged Networking but Host Only. Indeed except if you want your Client A to offer DHCP Leases on your whole Lan, you shoud edit every VM and choose Host-Only Networking. By this way you will be able to make your vms interact the way you want. Before that you will need to disable the DHCP on the ...


2

what accounts have an open connection to the mysql-server ? mysqladmin processlist how often they request a new connection ? Not sure - try the General Query log - but I suspect it may not record connections - only queries how many requests they usually do per connection ? See above. It would be nice if I could aswell identify the codes ...


2

From http://www.php.net/manual/en/features.commandline.introduction.php: The name, location and existence of the CLI/CGI binaries will differ depending on how PHP is installed on your system. By default when executing make, both the CGI and CLI are built and placed as sapi/cgi/php-cgi and sapi/cli/php respectively, in your PHP source directory. You will ...


2

I would suggest changing both sticky-world-write and just regular sticky (its only purpose is world-write, right? usually at least) to the same value, namely ...37;44 which is white on a blue background. Much less annoying than the typical black on yellow which always calls for your attention and there is nothing suspicious going on. Much less annoyed now ...


2

I take it that this is output from ls, rather than tab-completion of shells? (I know at least one shell which can colourise shell tab-completions but you don't say, so I'll assume ls). Use $LS_COLORS, often initialised via the dircolors(1) command. dircolors -p to see the defaults, take the output from the two systems and diff. Drop the desired config ...


2

These are the instructions for use with the Ubuntu ISOs. It looks like KVM has to be started with special options for the cdrom, then once the installation is complete, it has to be stopped then restarted normally. Did the host tell you that it wasn't possible at all, or perhaps there's a problem with the ISO that makes it unbootable? Did you have them ...


2

Seems to have been a misunderstanding. Mpstat prints avg's since system boot if it is not given any args, the documentation seems to have been a little unclear in its workding. To get one set of current statistics the command mpstat 1 1 can be issued, however it takes one second to return with the proper data.


2

Running fsck more often won't help. What will help is using ext4 instead of ext3. This is an explicit design goal of the updated filesystem.


2

With any server, if the service fails you lose access. If SSH is failing, I'd be concerned about configuration mistakes or hardware issues. Adding another service isn't a solution for this problem. If your server is real hardware, consider setting up an external serial console and using that as the kernel's console interface. If its a VM, the hypervisor's ...


1

As I understand it, you have two sites. The Postfix server is at site A, and all users can use it normally. However, from site B, users can send mail only within the domain and not elsewhere. The short quick answer is to add the IP address(es) of site B to the mynetworks variable in main.cf. A slightly longer answer: Postfix makes it relaying decisions ...


1

I felt although this is an older question, it needs another answer. It seems to me Puppet is, out of the box, almost completely capable of managing Slack boxes. The only issue I've seen is package management...namely, there is no support for slackpkg/slapt-get/swaret/etc. Anyway before I ramble on too long, I think facter (from my understanding, the Puppet ...



Only top voted, non community-wiki answers of a minimum length are eligible