cpsrvd dead but pid file exists

fleksi

Well-Known Member
Sep 17, 2003
124
0
166
# service cpanel status
cpsrvd dead but pid file exists
entropychat (pid 30660) is running...
melange is stopped
stunnel (pid 30713) is running...
interchange is stopped
qrunner is stopped

# ps aux|grep cpsrvd
root 30633 0.0 0.7 17264 14552 pts/0 S 05:06 0:00 cpsrvd - waiting for connections
root 31730 0.0 0.0 3732 720 pts/0 S 05:08 0:00 grep cpsrvd

what wrong with cpanel?
i am using 10.9.0-CURRENT_3

-fleksi-
 

fleksi

Well-Known Member
Sep 17, 2003
124
0
166
I have changed update config to stable dan ran /scripts/upcp --force.
Now I have 10.9.0-STABLE_45, but still have no luck :(

# service cpanel status
cpsrvd dead but pid file exists <-------------------
entropychat (pid 17821) is running...
melange is stopped
stunnel (pid 18964) is running...
interchange is stopped
qrunner is stopped

I also receive this more frequent :
"cpsrvd failed @ Wed Oct 11 10:55:51 2006. A restart was attempted automagicly".

How to fix this problem?
 

halfbyte

Registered
Jan 9, 2005
4
0
151
Going to current I get this:

service cpanel status
cpsrvd dead but pid file exists
entropychat is stopped
melange is stopped
stunnel is stopped
interchange is stopped
qrunner is stopped
 

mainecrab

Registered
Jul 12, 2006
3
0
151
I hope someone knows how to fix this. I have worked on a few servers, that I cannot fix this error on.
 

halfbyte

Registered
Jan 9, 2005
4
0
151
The file still shows the same, but I am able to access my site now.

Seems that an over zealous admin decided that we need to block the ports to WHM and cPanel.

Time to go cower before they find out it was me.
 

eharun

Registered
Sep 7, 2004
3
0
151
I believe it is something to do with the port cpanel is currently running on. Say you login using http://IPADDR:2082
the cpsrvd status should show running and not dead but pid file exists.
but if one uses https://IPADDR:2083
it will show cpsrvd is dead but pid file exists.
So
vi /etc/init.d/cpanel that is if you are using port 2083
(/status ) - find status cpsvrd and change it to status cpsrvd-ssl.

Hope that info is already known if it aint then now you know.