Server Issues Today Published: Jun 06, 2006
  • Rating

    0/5

There were some problems with Apache early this morning (1am) that I didn’t catch until about 6am today.

If you tried to access the site
then, you couldn’t =) The semaphore were full, I’ve never run into this
problem before. Every time I tried to start Apache it would error out
disk was out of space.

warn pid file /usr/local/apache/logs/httpd.pid overwritten — Unclean
shutdown of previous Apache run?
semget: No space left on device

I checked the space and log file sizes, all were fine. Thankfully I
managed to find a nice script on cpanel forums that helped me get things
back to normal once again.

#!/bin/bash

ipcs -s | grep nobody | perl -e ‘while () {
@a=split(/\s+/); print `ipcrm sem $a[1]`}’

/scripts/restartsrv httpd

Cheers

Steve

  • Rating

    0/5

Related Articles

Comments (0)

No one has commented on this page yet.

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2020 WebHostGear.com