0

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
AnimeCYC
  • 1
  • 1
  • Is the server running or not? Can you post the last contents of the thin log file? –  May 22 '11 at 21:14

1 Answers1

0
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.

Cian
  • 5,838
  • 1
  • 28
  • 40