I have installed the wordpress through easy-engine and getting this issue. Can anyone help.
Logs
root@fn:~# journalctl -xe | grep nginx Sep 08 04:09:48 fn sudo[24157]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/apt-get install python-certbot-nginx Sep 08 04:10:40 fn sudo[25139]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/nano /etc/nginx/sites-available/default Sep 08 04:11:26 fn sudo[25141]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/nano /etc/nginx/sites-available/default Sep 08 04:11:42 fn sudo[25144]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/usr/sbin/nginx -t Sep 08 04:11:52 fn sudo[25146]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl reload nginx Sep 08 04:11:52 fn systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive. Sep 08 04:11:58 fn sudo[25149]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl reload nginx Sep 08 04:11:58 fn systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive. Sep 08 04:15:43 fn sudo[25156]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/systemctl start nginx – Subject: Unit nginx.service has begun start-up – Unit nginx.service has begun starting up. Sep 08 04:15:43 fn nginx[25168]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:15:43 fn nginx[25168]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:15:43 fn nginx[25168]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:15:43 fn nginx[25168]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:15:44 fn nginx[25168]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:15:44 fn nginx[25168]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:15:44 fn nginx[25168]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:15:44 fn nginx[25168]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:15:45 fn nginx[25168]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:15:45 fn nginx[25168]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:15:45 fn nginx[25168]: nginx: [emerg] still could not bind() Sep 08 04:15:45 fn systemd[1]: nginx.service: Control process exited, code=exited status=1 Sep 08 04:15:45 fn systemd[1]: nginx.service: Failed with result ‘exit-code’. – Subject: Unit nginx.service has failed – Unit nginx.service has failed. Sep 08 04:23:57 fn sudo[25266]: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/etc/init.d/nginx start – Subject: Unit nginx.service has begun start-up – Unit nginx.service has begun starting up. Sep 08 04:23:58 fn nginx[25285]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:23:58 fn nginx[25285]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:23:58 fn nginx[25285]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:23:58 fn nginx[25285]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:23:59 fn nginx[25285]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:23:59 fn nginx[25285]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:23:59 fn nginx[25285]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:23:59 fn nginx[25285]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:24:00 fn nginx[25285]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Sep 08 04:24:00 fn nginx[25285]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Sep 08 04:24:00 fn nginx[25285]: nginx: [emerg] still could not bind() Sep 08 04:24:00 fn systemd[1]: nginx.service: Control process exited, code=exited status=1 Sep 08 04:24:00 fn systemd[1]: nginx.service: Failed with result ‘exit-code’. – Subject: Unit nginx.service has failed – Unit nginx.service has failed.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @feedknock,
It seems like your port is already taken. Please type the following command
You’ll see what’s actually running on port 80. If’s not needed, you can actually kill it.