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 ...


7

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 ...


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.


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

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

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

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

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

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

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

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 ...


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.


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

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

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

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

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

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

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

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

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


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

Autoreconf's option -i should generate missing autotool files using library defaults.


1

Setting my default route to the ip address of the modem itself fixed the issue.


1

After the rc.S, the init will run the rc.M if run level 2,3,4 or 5 and rc.K if run level 1... you can try to run in single (ie: runlevel 1) to see if it boots slackware 10.1 is old and might not be ready enough to run a 3.0 kernel... but you can try to debug it better, it might some missing feature on the kernel or some util that you needs update edit the ...


1

Slackware Linux doesn't have any provision for post package removal scripts. You may want to create a remove script and manually run it anytime you remove the package. It would be nice if there were built-in support for this though.


1

Forbidden You don't have permission to access / on this server. Take a look at Apache error log, it will tell you more details. Both. The public side is at 80, the admin/intranet side is at 8080. For the testing purpose, add 2 hostnames into the /etc/hosts: 127.0.0.1 public.example.com 127.0.0.1 private.example.com Change the Listen from: ...


1

Moving my comment to a question because apparently it was the right answer! Check what version of cron you are using. It's possible you have some weird non-vixie cron that doesn't accept the same settings or arguments.



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