unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Imdad <khanimdad@gmail.com>
To: Eric Wong <e@80x24.org>
Cc: unicorn-public <unicorn-public@bogomips.org>
Subject: Re: Having issue with Unicorn
Date: Sat, 25 Oct 2014 01:28:02 +0530	[thread overview]
Message-ID: <CADQvUy5H+cQTZnviM3A2-L8a5yhJZeXB08-B=acdwDYw4ShbmQ@mail.gmail.com> (raw)
In-Reply-To: <20141024194153.GA1670@dcvr.yhbt.net>

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
`<top (required)>'
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
`<main>'
I, [2014-10-24T19:55:54.795603 #8814]  INFO -- : reaped #<Process::Status:
pid 17502 exit 0> worker=0
I, [2014-10-24T19:55:54.803712 #18246]  INFO -- : worker=0 ready
I, [2014-10-24T19:55:54.838425 #8814]  INFO -- : reaped #<Process::Status:
pid 17505 exit 0> 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=>#<Kgio::UNIXServer:fd 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 #<Process::Status:
pid 18246 exit 0> worker=0
I, [2014-10-24T19:56:18.921691 #8814]  INFO -- : reaped #<Process::Status:
pid 18249 exit 0> 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 <e@80x24.org> wrote:

> Imdad <khanimdad@gmail.com> 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.
>


  reply	other threads:[~2014-10-24 19:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 17:33 Having issue with Unicorn Imdad
2014-10-24 17:45 ` Eric Wong
2014-10-24 18:02   ` Imdad
2014-10-24 18:13     ` Eric Wong
2014-10-24 18:28       ` Imdad
2014-10-24 18:34         ` Eric Wong
2014-10-24 18:39           ` Imdad
2014-10-24 18:41             ` Imdad
2014-10-24 19:13             ` Eric Wong
2014-10-24 19:29               ` Imdad
2014-10-24 19:41                 ` Eric Wong
2014-10-24 19:58                   ` Imdad [this message]
2014-10-24 20:06                     ` Eric Wong
2014-10-24 20:09                       ` Imdad
2014-10-24 20:17                         ` Eric Wong
2014-10-24 20:35                           ` Imdad
2014-10-24 20:39                             ` Imdad
2014-10-24 20:44                               ` Eric Wong
2014-10-24 20:40                             ` Eric Wong
2014-10-24 20:45                               ` Imdad
2014-10-24 20:50                                 ` Imdad
2014-10-24 20:58                                 ` Eric Wong
2014-10-24 21:24                                   ` Imdad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADQvUy5H+cQTZnviM3A2-L8a5yhJZeXB08-B=acdwDYw4ShbmQ@mail.gmail.com' \
    --to=khanimdad@gmail.com \
    --cc=e@80x24.org \
    --cc=unicorn-public@bogomips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).