nginx_apache

dailyhost

Verified User
Joined
Nov 26, 2019
Messages
39
I am set new machine error occur
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.

How to fix
 
That is just a standard message and not many of us will understand that. Please do what it said and post here:

Code:
systemctl status nginx.service
 
Last edited:
That is just a standard message and nobody will understand why. Please do what it said and post here:

Code:
systemctl status nginx.service
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/etc/systemd/system/nginx.service; enabled; vendor preset: d>
Active: failed (Result: exit-code) since Thu 2021-10-21 20:23:43 IST; 1min 4>
Process: 442440 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exit>
Process: 442438 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (cod>
Main PID: 2976 (code=exited, status=0/SUCCESS)

Oct 21 20:23:42 shiv.hostname.org nginx[442440]: nginx: [emerg] bind() to >
Oct 21 20:23:43 shiv.hostname.org nginx[442440]: nginx: [emerg] bind() to >
Oct 21 20:23:43 shiv.hostname.org nginx[442440]: nginx: [emerg] bind() to >
Oct 21 20:23:43 shiv.hostname.org nginx[442440]: nginx: [emerg] bind() to >
Oct 21 20:23:43 shiv.hostname.org nginx[442440]: nginx: [emerg] bind() to >
Oct 21 20:23:43 shiv.hostname.org nginx[442440]: nginx: [emerg] still coul>
Oct 21 20:23:43 shiv.hostname.org nginx[442440]: t:none,t:urlDecode
Oct 21 20:23:43 shiv.hostname.org systemd[1]: nginx.service: Control proce>
Oct 21 20:23:43 shiv.hostname.org systemd[1]: nginx.service: Failed with r>
Oct 21 20:23:43 shiv.hostname.org systemd[1]: Failed to start The nginx HT>
 
Oct 21 20:23:42 HOSTNAMEnginx[442440]: nginx: [emerg] bind() to >

Please post the full log, there are other pieces of information after the symbol '>' that were trimmed when you copied this. AND HIDE your HOSTNAME
 
Last edited:
Oct 21 20:59:59 YOURHOSTNAME nginx[505447]: nginx: [emerg] bind() to 127.0.0.1:443 failed (98: Address already in use)
~

Have you tried restart your nginx_apache or do:

/usr/local/directadmin/custombuild/./build rewrite_confs
 
Back
Top