tags: Nginx
Starting nginx package error "Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.", may be caused by the following circumstances.
nginx -t
If there is an error, an error message will be displayed
The following two methods are
# Check if a port is occupied
lsof -i:80 # If nginx configures port 80
# View all current tcp ports
netstat -ntlp
If the port is occupied, consider changing the port or killing the service that occupied the port
The reason on my server is the default/etc/nginx/nginx.conf The configuration file is wrong. The reason I encountered the problem is different from your basic. After Google, each blog and question and...
When you start nginx service If you encounter this error Job for nginx.service failed because the control process exited with error code See "systemctl stat solution is as follows: Can kill...
Processing: Job for nginx.service failed because the control process exited with error code See "systemctl status nginx.service" and "journalctl -xe" for details (the port number i...
If you encounter this error when starting the nginx serviceJob for nginx.service failed because the control process exited with error code. See “systemctl stat The possible reasons are as follow...
About nginx Job for nginx.service failed because the control process exited with error code. When you put down the microcontroller to work on the server. . . Just when there was a metaphysical problem...
I have encountered problems: Solution:...
Nginx abnormal Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details. Nginx Nor...
Solve Start NGINX Times wrong "Job for nginx.service failed Because The Control Process EXITED with ERROR CODE" Start when NGINX is installed Let's first check the NGINX service situation. (...
Such a problem is usually used to start the 80 port of Nginx. It is occupied by Apache2. This is how we will kill the process of Apache2 as shown in the figure, but we find that we can't kill. Then we...
Project scene: Scenario: deploy Zabbix5.0, start the Nginx service error Problem Description: error code: solution View nginx status Modify the nginx file Start nginx...