Did following by login to server

root@Hailisys:/var/www/hailisys/shared/pids# kill -HUP $(cat unicorn.pid)
root@Hailisys:/var/www/hailisys/shared/pids# kill -USR2 $(cat unicorn.pid)


Then did "mina deploy"

-----> Launching
-----> Restart unicorn service
-----> Done. Deployed v30
Connection to 104.131.74.69 closed.
       Elapsed time: 52.96 seconds



And here is my log file  (/var/www/hailisys/shared/log/unicorn.stderr.log)

INFO -- : executing
["/var/www/hailisys/releases/6/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/30)
/var/www/hailisys/current/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:475:in
`exec': No such file or directory -
/var/www/hailisys/releases/6/vendor/bundle/ruby/2.1.0/bin/unicorn
(Errno::ENOENT)
from
/var/www/hailisys/current/vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http




Cheers!
Imdad Ali Khan
Mob (0) 9818484057
http://www.linkedin.com/in/imdad

On 25 October 2014 00:43, Eric Wong <[email protected]> wrote:

> Imdad <[email protected]> wrote:
> > Thanks Eric, not how to do
> >  2) SIGHUP master to reload new config # manual step to fix up config
> >  3) proceed with SIGUSR2 as usual
>
> I think you need to do this fix manually by logging into your server:
>
>         kill -HUP $(cat /path/to/pid/file)
>         kill -USR2 $(cat /path/to/pid/file)
>
> (SIGUSR2 is what you were doing before with the reexec)
>
> > Also not sure how did i send HTML portions
>
> Your initial message got through fine (HTML is given a high spam score).
>


Reply via email to