Can't start nginx - no errors anywhere

Xeoncross

I am unable to start nginx using the service nginx {signal}.

root# service nginx status
 * /usr/sbin/nginx is not running
root# service nginx start
root# service nginx status
 * /usr/sbin/nginx is not running
root# ls -al /run/*.pid
-rw-r--r-- 1 root  root    5 Jul 23 17:32 /run/acpid.pid
root# /etc/init.d/nginx restart
 * Restarting nginx nginx   [fail] 
root# ls -al /run/*.pid
-rw-r--r-- 1 root  root    5 Jul 23 17:32 /run/acpid.pid
-rw-r--r-- 1 root  root    0 Jul 25 17:06 /run/nginx.pid
root# service nginx status
 * /usr/sbin/nginx is not running

Inside /var/log/nginx/error.log there is only one entry:

2014/07/25 16:59:52 [notice] 17085#0: signal process started

However, neither top, nginx, or netstat show nginx is actually running.

Since I built from source, where might nginx be dying? Where are the log files? /var/log/syslog doesn't seem to have anything about this. I'm not sure where to go from here.

Rhim

I'm can't add comment :(
file size /run/nginx.pid = 0, nginx can't write pid to file.

start script can't find pid master process
I suspect you need to diff:
pidfile in /etc/init.d/nginx and pid in nginx.conf

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related