Apache not starting - No space left on device
Hello, i have a RedHat 7.2 Linux server with Plesk 5.0.5 RPM installed, this box is using Apache 1.3.27.
I also have an Apache 2.0.48 installed manually for some testing which works perfect and has nothing to do with Plesk. Now both Apaches are not working. In both httpd.conf i put LogLevel debug to get more detailed error messages when starting and i get this from error_log: error_log from Apache 1.3.27 [Wed Jan 14 10:34:23 2004] [error] (28)No space left on device: MutexCreate(/var/spool/mod_watch/SharedHash.lock) failed [Wed Jan 14 10:34:23 2004] [crit] (28)No space left on device: shCreate(80865b4, 991, /var/spool/mod_watch/) failed in watchInit() error_log from Apache 2.0.48 [Wed Jan 14 10:29:43 2004] [warn] pid file /usr/local/apache-2.0.48/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Jan 14 10:29:43 2004] [emerg] (28)No space left on device: Couldn't create accept lock It seems as if there is no space on my hard disk (by the way, how do i know how much swap space i have?, i did "df /sda1/swap but i'm not too sure on that procedure) but here is my output from df commands: df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 7.0G 5.8G 873M 88% / /dev/sda2 48M 31M 14M 68% /boot none 125M 0 125M 0% /dev/shm df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda3 8372224 295184 8077040 4% / /dev/sda2 56280 45 56235 1% /boot none 32131 1 32130 1% /dev/shm I don't have lots of space but i've been working with no problem using this space for months!. Any ideas please?. Regards. |
Hello, i've found the solution at: http://www2.goldfisch.at/knowledge/224 , thanks a lot to Peter Pilsl for his information.
I copy part of Peter's solution (he used "nobody" as Apache user, I guess most of us use "apache" so you have to change that accordingly): Only reboot of the system helped out of my crisis. Solution: There were myriads of semaphore-arrays left, owned by my apache-user. ipcs -s | grep nobody Removing this semaphores immediately solved the problem. ipcs -s | grep nobody | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}' |
All times are GMT -5. The time now is 03:34 AM. |