Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
と、503 エラー
/etc/httpd/logs/ で最新のエラーログを見ると
(111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:3000 (127.0.0.1) failedためしに、マニュアルで mongrel をリスタートしてみる
> mongrel_rails cluster::restart --clean !!! Configuration file does not exist. Run mongrel_rails cluster::configure. cluster::restart reported an error. Use mongrel_rails cluster::restart -h to get help.Rails アプリケーションフォルダに入って、mongrel cluster configure してみる。
mongrel_rails cluster::configure -e production -p 3000 -N 2 mongrel_rails cluster::restart --cleanすると、スタートしたみたい。
** Daemonized, any open files are closed. Look at tmp/pids/mongrel.3000.pid and log/mongrel.3000.log for info. ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with production environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel 1.1.5 available at 0.0.0.0:3000 ** Writing PID file to tmp/pids/mongrel.3000.pid
proxy: BALANCER: (balancer://mongrel_cluster). All workers are in error state
> ps aux 15:23 0:07 /usr/bin/ruby /usr/bin/mongrel_rails start -d -e production -p 3000 -P tmp/pids/mongrel.3000.pid -l log/mongrel.300 0.log 15:23 0:07 /usr/bin/ruby /usr/bin/mongrel_rails start -d -e production -p 3001 -P tmp/pids/mongrel.3001.pid -l log/mongrel.300 1.log動いている。。。
0 件のコメント:
コメントを投稿