Welcome! Log In Create A New Profile

Advanced

Re: correct message after restarting nginx?

September 14, 2010 10:17PM
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]
Subject Author Posted

correct message after restarting nginx?

cimenta September 14, 2010 09:43PM

Re: correct message after restarting nginx?

edogawaconan September 14, 2010 09:54PM

Re: correct message after restarting nginx?

cimenta September 14, 2010 10:17PM

Re: correct message after restarting nginx?

edogawaconan September 14, 2010 11:04PM

Re: correct message after restarting nginx?

Maxim Dounin September 14, 2010 10:36PM

Re: correct message after restarting nginx?

cimenta September 14, 2010 10:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 235
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready