Hi Dev

I have installed the nginx and when I try  starting the nginx, I
receive following error.

 sudo service nginx start

Job for nginx.service failed because the control process exited with error
code.
See "systemctl  status nginx.service" and "journalctl  -xe" for details.


when I check the status it gives me.

● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Tue 2017-11-28 16:33:48 +0530;
50s ago
     Docs: man:nginx(8)
  Process: 953 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on;
master_process on; (code=exited, status=1/FAILURE)

නෙවැ 28 16:44:57 dushantha-ThinkPad-X1-Carbon-5th nginx[2996]: nginx:
[emerg] bind() to [::]:80 failed (98: Address already in use)
නෙවැ 28 16:44:58 dushantha-ThinkPad-X1-Carbon-5th nginx[2996]: nginx:
[emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
නෙවැ 28 16:44:58 dushantha-ThinkPad-X1-Carbon-5th nginx[2996]: nginx:
[emerg] bind() to [::]:80 failed (98: Address already in use)
නෙවැ 28 16:44:58 dushantha-ThinkPad-X1-Carbon-5th nginx[2996]: nginx:
[emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
නෙවැ 28 16:44:58 dushantha-ThinkPad-X1-Carbon-5th nginx[2996]: nginx:
[emerg] bind() to [::]:80 failed (98: Address already in use)
නෙවැ 28 16:44:59 dushantha-ThinkPad-X1-Carbon-5th nginx[2996]: nginx:
[emerg] still could not bind()
නෙවැ 28 16:44:59 dushantha-ThinkPad-X1-Carbon-5th systemd[1]:
nginx.service: Control process exited, code=exited status=1
නෙවැ 28 16:44:59 dushantha-ThinkPad-X1-Carbon-5th systemd[1]: Failed to
start A high performance web server and a reverse proxy server.
නෙවැ 28 16:44:59 dushantha-ThinkPad-X1-Carbon-5th systemd[1]:
nginx.service: Unit entered failed state.
නෙවැ 28 16:44:59 dushantha-ThinkPad-X1-Carbon-5th systemd[1]:
nginx.service: Failed with result 'exit-code'.




Is there any possible solution to get rid of the error
regards




-- 
*Dushantha Nayanajith Chandima Batuwita*
Software Engineer Support | WSO2
dushan...@wso2.com
mobile : 0094777453010
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to