Apache failed. Error is httpd.pid overwritten

phantom2

Well-Known Member
Jan 3, 2004
59
0
156
Here's the error I'm getting

[Thu Mar 24 16:52:50 2005] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
semget: No space left on device

Thanks
 

undef

Registered
Dec 22, 2004
2
0
151
How to fix?

Please can anyone can describe step-by-step what i need to do to slove this problem. Clean memory ore somthing else. Please describe in details what i need to do to fix this.
Thx in advance
 

ecn

Member
Oct 18, 2005
19
0
151
re

Have you tryed re Building Apchie

[Moderator - comments removed: please don't advertise outside of the Ads & Offers forum]
 
Last edited by a moderator:

undef

Registered
Dec 22, 2004
2
0
151
Yep i rebuild it couple of times still not work. I;m not intrested in server cause i'm hosting in Kazakhstan. I'm runing out of sever administrator right now so i ask for help. My admin gone :(
I got some knowledges of linux so i'm trying to fix the problem now. Can anyone help me?
 

p_s_p

Member
Feb 8, 2004
13
0
151
I am also getting the same error, installed a new apache on the server, changed the cpanel build using upcp, recompiled apache with easypache, still the same problem.
 

madhav

Member
Jun 29, 2005
7
0
151
check the disk space first.

df -h

check if you have any low memory problems with

free -m

Also let us know which version of kernel you are running.

uname -r

you can try deleting the semaphores in the server with ipcs and ipcrm. If you are not sure how to use it do the following:


for i in `ipcs -s | grep nobody | awk '{print $2}'`; do ipcrm -s $i; done
 

felosi

Active Member
Aug 27, 2006
39
0
156
same crap, apache dies from nowhere and wont restart right. I have to totally stop it and then start it. this is definetly some bug in cpanels apache. just atsrted happening lately too.
Ive rebuild apache numerous times and now I have to sit and babysit my server because apache wont start backl right. im currentlyu starting to move accounts off my cpanel server I cannot find a fix for this

Jeez, people were having this prob a year ago. didnt know this post was that old when I replied.
 
Last edited:

bayo

Registered
Jun 5, 2006
2
0
151
you can solved by remove semaphore with this command :

ipcs | awk '/^0x000000/ && /nobody/ {print $2}' | xargs -n1 ipcrm -s

and now, restart yor apache : /scripts/restartsrv restart