I just installed passenger for nginx on my Ubuntu (8.04) box. 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 ..init.d/nginx config to point to /opt/nginx after installing passenger, so that should all be fine.
If I kill the process with "sudo killall nginx" and try to start nginx, it works fine, but restart doesn't work.