Job for httpd.service failed because the control process exited with error code.
See “systemctl status httpd.service” and “journalctl -xe” for details.
When opening the httpd service, the error as shown in the title appears
# systemctl start httpd.service Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
View the startup log through systemctl status
Check whether port 80 is occupied
netstat -antlp | grep 80
Killing process with kill instruction
Input the httpd start command again, and the error still exists.
Finally, it is found that the & lt; Directory/> It is found that the access permission of the/usr directory is readable by anyone but not executable. Therefore, the access permission of the/usr directory is changed
chmod -R o+x /usr
Try to open the service again, success!
Configuration of httpd.conf
- Django WSGI protocol application, based on wsgiref module DIY a web framework
- Mac Upgrade pip Error OSError: [Errno 13] Permission denied: ‘/Library/Python/2.7/site-packages/pip-9.0.1-py2….
- command ‘gcc’ failed with exit status 1 error while installing scrapy
- How to Fix “HTTP error 403: forbidden” in Python 3. X
- How to Solve Automatic error keyerror:***‘
- You can run the Ansible Playbook in Python by hand
- [example multitasking] Python multithreading module
- Full explanation of SYS module of Python
- Implementation of Kalman Filter in Python
- Python: SVN deletes files on local and remote repositories
- The automatic token of Python interface is passed into the header
- Httprunner output assure Report
- About the solution of ERROR: Failed building wheel for dlib
- Python FileNotFoundError: [Errno 2] No such file or directory: ‘objects/epsilon.pkl
- Python 3 uses the relative path import module
- How to Fix Python reading large local file memory error
- cffi Security Report “c / _cffi_backend.oc / _cffi_backend.c: 15:17: error: ffi.h: No such file or directory” Problem
- Python + Requests +Excel+Jenkins interface automation
- Dell Error Code for Failed Hard Disk
- PIP Install Mysqlclient error C1083: Cannot open include file: ‘mysql.h‘: No such file or directory