1

実行するたびにcap deploy、このエラーが発生します。3 つのインスタンス (db01、web01、app01) があり、問題はアプリ インスタンスのみにあるようです。何が起こっているかは次のとおりです。

     triggering after callbacks for `deploy:restart'
   * 2013-01-06 12:13:17 executing `rubber:apache:reload'
   * 2013-01-06 12:13:17 executing `rubber:apache:serial_reload'
   * 2013-01-06 12:13:17 executing `rubber:apache:_serial_task_serial_reload_app01'
     triggering before callbacks for `rubber:apache:_serial_task_serial_reload_app01'
   * 2013-01-06 12:13:17 executing `rubber:passenger:serial_remove_from_pool_reload_app01'
   * executing "sudo -p 'sudo password: '  bash -l -c 'rm -f /mnt/vlogio-production/releases/*/public/httpchk.txt && sleep 5'"
     servers: ["app01.foo.com"]
     [app01.foo.com] executing command
     command finished in 10646ms
   * executing "sudo -p 'sudo password: '  bash -l -c 'if ! ps ax | grep -v grep | grep -c apache2 &> /dev/null; then service apache2 start; else service apache2 reload; fi'"
     servers: ["app01.foo.com"]
     [app01.foo.com] executing command
  ** [out :: app01.foo.com] * Starting web server apache2
  ** [out :: app01.foo.com] 
  ** [out :: app01.foo.com] 
  ** [out :: app01.foo.com] 
  ** [out :: app01.foo.com] 
  ** [out :: app01.foo.com] [ OK ]
     command finished in 5817ms
     triggering after callbacks for `rubber:apache:_serial_task_serial_reload_app01'
   * 2013-01-06 12:13:34 executing `rubber:passenger:serial_add_to_pool_reload_app01'
  ** Waiting for passenger to startup
   * executing "sudo -p 'sudo password: '  bash -l -c 'while ! curl -s -ff http://localhost:$CAPISTRANO:VAR$/ &> /dev/null; do echo .; done'"
     servers: ["app01.foo.com"]
     [app01.foo.com] executing command
  ** [out :: app01.foo.com] .
  ** [out :: app01.foo.com] .
  ** [out :: app01.foo.com] .
  ** [out :: app01.foo.com] .
  ** [out :: app01.foo.com] .
  ** [out :: app01.foo.com] .
  ** [out :: app01.foo.com] .

その後** [out :: app01.foo.com] .、毎秒数回無期限に印刷されます(6時間放置しても何も起こりませんでした)。この問題を解決するための助けをいただければ幸いです。

4

0 に答える 0