mongrel_clusterが起動しない
朝からとなりの本棚にアクセスできない。
んで、mongrel_cluster をスタートしようとしても↓のメッセージが
> mongrel_rails cluster::start
starting port 4000
** !!! PID file tmp/pids/mongrel.4000.pid already exists. Mongrel could be running already. Check your log/mongrel.4000.log for errors.
** !!! Exiting with error. You must stop mongrel and clear the .pid before I'll attempt a start.starting port 4001
** !!! PID file tmp/pids/mongrel.4001.pid already exists. Mongrel could be running already. Check your log/mongrel.4001.log for errors.
** !!! Exiting with error. You must stop mongrel and clear the .pid before I'll attempt a start.starting port 4002
^[[A** !!! PID file tmp/pids/mongrel.4002.pid already exists. Mongrel could be running already. Check your log/mongrel.4002.log for errors.
** !!! Exiting with error. You must stop mongrel and clear the .pid before I'll attempt a start.
スタートコマンドを実行しても動かん。
ん?
>You must stop mongrel and clear the .pid before I'll attempt a start.
pidファイルを消せって事?
っつー事で、RAILS_ROOT/tmp/pids内に各ポート番号のpidファイルがあるのでそいつらをクリアして再度チャレンジ
> mongrel_rails cluster::start
starting port 4000
starting port 4001
starting port 4002
オッケー!!
GJオレ。