I had a little problem with Debian that didn’t want to restart after an update. Of course, no site were working.
I had this message log:
1 2 3 4 5 6 7 |
# /etc/init.d/nginx restart Restarting nginx: nginxnginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] still could not bind() |
nginx created a new file : /etc/nginx/sites-available/default
I just renamed it to default.old so it takes mine instead of the default one and it works again !
Hope it helped you !
Recent Comments