I get the below error whenever I try to stop or restart the thin gem on Ubuntu 10.04. Any fix for this?

Can't stop process, no PID found in tmp/pids/thin.pid
link|improve this question
Is the server running or not? Can you post the last contents of the thin log file? – J-_-L May 22 '11 at 21:14
feedback

1 Answer

pgrep 'thin';

echo <pid> > /tmp/pids/thin.pid

Essentially the problem is your PID file is empty for whatever reason. So use pgrep/ps to find the PID, and stick it in the PID file.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.