Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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/
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
pgrep 'thin';

echo <pid> > /tmp/pids/

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.