Running Ubuntu 11.10 server
getting ready to switch from Apache to nginx for running wsgi got everything setup correctly while running testing on port 82
I switched nginx to use port 80 restarted server and realized I had forgotten to disable apache start on boot
disabled apache restart for good measure goto open the web-site and instant denial as though port was not open checked with netstat and port was not open
checked ps aux - nginx running
long story short I can now start nginx via upstart
$ sudo start nginx nginx start/running, process 2601 $ sudo stop nginx stop: Unknown instance:
nginx logs look like
unlink() "/var/run/nginx.pid" failed (2: No such file or directory)
when I start nginx I can see it running via ps aux when I check
netstat --numeric-ports -a
doesn't show nginx listening - tried multiple ports
any idea what caused this change?
or where to look for an answer?
Currently have nginx running back on port 82 and it still has the same error/symptoms for each worker thread