correct message after restarting nginx?
cimenta
nginx-forum at nginx.us
Wed Sep 15 06:17:04 MSD 2010
edogawaconan Wrote:
-------------------------------------------------------
> On Wed, Sep 15, 2010 at 8:43 AM, cimenta wrote:
> > Now I get
> >
> >
> > root at server:~# /etc/init.d/nginx reload
> > Reloading nginx configuration: nginx.
> >
> >
>
> probably the messages have been suppressed by the
> init.d script.
but I want to know if the new configuration was loaded or not. Like it
was happening before.
I installed nginx using
[code]
./passenger-install-nginx-module
[/code]
> assuming your config file is at default location:
>
> # nginx -s reload
gets no output
[code]
root at server:/opt/nginx# sbin/nginx -s reload
root at server:/opt/nginx#
[/code]
>
> or else additionally specify the config file
> location by using -c
> /path/to/nginx.conf
gets
[code]
root at server:/opt/nginx# sbin/nginx -c conf/nginx.conf
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()
[/code]
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,130498,130505#msg-130505
More information about the nginx
mailing list