PDA

View Full Version : error: directadmin dead but pid file exists



johnallen
01-06-2004, 07:03 PM
error: directadmin dead but pid file exists

Red Hat Linux release 9 (Shrike)

Just updated software and a new kernel from last night. Today directadmin will not restart. It says a pid file exists. Anyone had this problem before?

johnallen
01-06-2004, 07:04 PM
I should have done a search first..

I'll try this..

http://www.directadmin.com/forum/showthread.php?s=&threadid=1357&highlight=directadmin+dead+pid+file+exists

ProWebUK
01-07-2004, 01:40 AM
# service directadmin stop
# rm -f /var/run/directadmin.pid
# service directadmin start

Should fix.... if it fails check your directadmin log files :)

Chris

DirectAdmin Support
01-07-2004, 01:18 PM
Hello,

Just an fyi, that the above error message is generated by the boot scripts "daemon" program and not from DA, so the logs won't show anything related to DA starting up.

John

ProWebUK
01-07-2004, 02:37 PM
Originally posted by DirectAdmin Support
Hello,

Just an fyi, that the above error message is generated by the boot scripts "daemon" program and not from DA, so the logs won't show anything related to DA starting up.

John

If i remember correctly.... wasn't the licensing issue causing this problem before?

Im sure it was! but i may be wrong.... will check my logs in a moment :p

Chris

DirectAdmin Support
01-08-2004, 09:11 AM
Hello,

Actually, check the logs in either case.. I think I'm wrong about that. If the daemon starts it up, DA dies, I think the daemon program checks to see if it's running. So if it isn't, then you'd have to check the logs too see why :) .. You're right, normally an invalid license or something like that.

John

ProWebUK
01-08-2004, 09:21 AM
Just double checked my IM logs and seen the error with the fix being licensing issues that were in the directadmin log ;)

The log file was just flooded with lines similar to:

(DATE): The license file does not match your ip

Turned out to be an interface problem that time

Chris