Welcome! Log In Create A New Profile

Advanced

"[emerg]: bind() to 0.0.0.0:80" and relation between 'logs' directory and 'pid' direction

May 28, 2015 02:33AM
Hello,

I had compiled my Nginx using '.configure', 'make' and 'make install' commands.

nginx.pid file occurs on 'logs' directory as default. If I change set 'pid' directive (e.g. pid sbin/nginx.pid) on my nginx.conf file then I cannot restart Nginx and I get following message at second restart service.

[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)

And if I change the direction as 'pid logs/nginx.pid' everything is perfect!

Would it be possible to change Nginx default settings?
Subject Author Posted

"[emerg]: bind() to 0.0.0.0:80" and relation between 'logs' directory and 'pid' direction

addictofnginx May 28, 2015 02:33AM

Re: "[emerg]: bind() to 0.0.0.0:80" and relation between 'logs' directory and 'pid' direction

addictofnginx May 28, 2015 03:05AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 55
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready