From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS15169 74.125.0.0/16 X-Spam-Status: No, score=-1.1 required=3.0 tests=AWL,BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,URIBL_BLOCKED shortcircuit=no autolearn=ham version=3.3.2 X-Original-To: unicorn-public@bogomips.org Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 520891FB0C for ; Fri, 24 Oct 2014 19:58:24 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id l18so1803162wgh.4 for ; Fri, 24 Oct 2014 12:58:22 -0700 (PDT) X-Received: by 10.180.98.132 with SMTP id ei4mr6172958wib.64.1414180702678; Fri, 24 Oct 2014 12:58:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.138.100 with HTTP; Fri, 24 Oct 2014 12:58:02 -0700 (PDT) In-Reply-To: <20141024194153.GA1670@dcvr.yhbt.net> References: <20141024174520.GA27334@dcvr.yhbt.net> <20141024181300.GA29311@dcvr.yhbt.net> <20141024183409.GA28506@dcvr.yhbt.net> <20141024191328.GA6584@dcvr.yhbt.net> <20141024194153.GA1670@dcvr.yhbt.net> From: Imdad Date: Sat, 25 Oct 2014 01:28:02 +0530 Message-ID: Subject: Re: Having issue with Unicorn To: Eric Wong Cc: unicorn-public Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: PublicInbox::Filter 0.0.1 List-Id: Here you go... root@Hailisys:/var/www/hailisys/shared/pids# kill -HUP $(cat unicorn.pid) root@Hailisys:/var/www/hailisys/shared/pids# kill -USR2 $(cat unicorn.pid) root@Hailisys:/var/www/hailisys/shared/pids# cd .. root@Hailisys:/var/www/hailisys/shared# tail -n 20 -f log/unicorn.stderr.log E, [2014-10-24T19:55:54.656013 #8814] ERROR -- : /var/www/hailisys/current/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/util.rb:39:in `each' E, [2014-10-24T19:55:54.656044 #8814] ERROR -- : /var/www/hailisys/current/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/util.rb:39:in `reopen_logs' E, [2014-10-24T19:55:54.656119 #8814] ERROR -- : /var/www/hailisys/current/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:743:in `load_config!' E, [2014-10-24T19:55:54.656150 #8814] ERROR -- : /var/www/hailisys/current/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:325:in `join' E, [2014-10-24T19:55:54.656179 #8814] ERROR -- : /var/www/hailisys/current/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `' E, [2014-10-24T19:55:54.656206 #8814] ERROR -- : /var/www/hailisys/releases/6/vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load' E, [2014-10-24T19:55:54.656233 #8814] ERROR -- : /var/www/hailisys/releases/6/vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `
' I, [2014-10-24T19:55:54.795603 #8814] INFO -- : reaped # worker=0 I, [2014-10-24T19:55:54.803712 #18246] INFO -- : worker=0 ready I, [2014-10-24T19:55:54.838425 #8814] INFO -- : reaped # worker=1 I, [2014-10-24T19:55:54.851649 #18249] INFO -- : worker=1 ready I, [2014-10-24T19:56:16.054817 #18256] INFO -- : executing ["/var/www/hailisys/current/vendor/bundle/ruby/2.1.0/bin/unicorn", "-c", "/var/www/hailisys/current/config/unicorn.rb", "-D", "-E", "production", {11=>#}] (in /var/www/hailisys/releases/31) I, [2014-10-24T19:56:16.626199 #18256] INFO -- : inherited addr=/var/www/hailisys/shared/sockets/unicorn.sock fd=11 I, [2014-10-24T19:56:16.626930 #18256] INFO -- : Refreshing Gem list I, [2014-10-24T19:56:18.723512 #18256] INFO -- : master process ready I, [2014-10-24T19:56:18.727108 #18261] INFO -- : worker=0 ready I, [2014-10-24T19:56:18.742734 #18264] INFO -- : worker=1 ready I, [2014-10-24T19:56:18.921508 #8814] INFO -- : reaped # worker=0 I, [2014-10-24T19:56:18.921691 #8814] INFO -- : reaped # worker=1 I, [2014-10-24T19:56:18.921776 #8814] INFO -- : master complete Cheers! Imdad Ali Khan Mob (0) 9818484057 http://www.linkedin.com/in/imdad On 25 October 2014 01:11, Eric Wong wrote: > Imdad wrote: > > INFO -- : executing > > ["/var/www/hailisys/releases/6/vendor/bundle/ruby/2.1.0/bin/unicorn", > "-c" > > Gack, we missed that having the wrong path, too. You probably need > this in your config/unicorn.rb: > > Unicorn::HttpServer::START_CTX[0] = > "/var/www/hailisys/current/vendor/bundle/ruby/2.1.0/bin/unicorn" > > And do the HUP/USR2 again. And if it fails again, show us the logs > right after the HUP, too. Thanks. >