Report this

What is the reason for this report?

Why Nginx is not properly working in CentOS7, Can any one suggest me

Posted on April 9, 2018

[root@localhost bin]# systemctl status nginx.service ● nginx.service - The nginx HTTP and reverse proxy server Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2018-04-09 16:35:28 IST; 6min ago Process: 22654 ExecStart=/usr/sbin/nginx (code=exited, status=1/FAILURE) Process: 22597 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS) Process: 22595 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)

Apr 09 16:35:27 localhost.localdomain nginx[22654]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use) Apr 09 16:35:27 localhost.localdomain nginx[22654]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Apr 09 16:35:28 localhost.localdomain nginx[22654]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Apr 09 16:35:28 localhost.localdomain nginx[22654]: nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use) Apr 09 16:35:28 localhost.localdomain nginx[22654]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) Apr 09 16:35:28 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited status=1 Apr 09 16:35:28 localhost.localdomain nginx[22654]: nginx: [emerg] still could not bind() Apr 09 16:35:28 localhost.localdomain systemd[1]: Failed to start The nginx HTTP and reverse proxy server. Apr 09 16:35:28 localhost.localdomain systemd[1]: Unit nginx.service entered failed state. Apr 09 16:35:28 localhost.localdomain systemd[1]: nginx.service failed.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.