edogawaconan Wrote:
-------------------------------------------------------
> On Wed, Sep 15, 2010 at 8:43 AM, cimenta wrote:
> > Now I get
> >
> >
> > root@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@server:/opt/nginx# sbin/nginx -s reload
root@server:/opt/nginx#
[/code]
>
> or else additionally specify the config file
> location by using -c
> /path/to/nginx.conf
gets
[code]
root@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]