I just installed a passenger for nginx on my Ubuntu box (8.04). Now "sudo / etc / init.d / nginx restart" fails with the following errors:
Restarting nginx: [emerg]: bind() to 0.0.0.0:3000 failed (98: Address already in use) [emerg]: bind() to 0.0.0.0:3000 failed (98: Address already in use) [emerg]: bind() to 0.0.0.0:3000 failed (98: Address already in use) [emerg]: bind() to 0.0.0.0:3000 failed (98: Address already in use) [emerg]: bind() to 0.0.0.0:3000 failed (98: Address already in use) [emerg]: still could not bind() nginx.
I updated the configuration ..init.d / nginx to point to / opt / nginx after installing the passenger, so everything should be fine.
If I kill the process with sudo killall nginx and try to start nginx, it works fine, but restarting does not work.
Phil jeffs
source share