Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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
share|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

1 Answer 1

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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