I'm running CentOS 7 x86 on a Virtual Machine. I already installed Apache and wanted to start it, but if I type:
systemctl start httpd.service
it gives me this error:
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
When I type:
systemctl status httpd.service
it gives me this error
and when I type
journalctl -xe
it gives me this error
Please help me. :o
Thanks
i think you want to map port 3221
to use apache and you have no access of selinux .
try a solution of these solution:
change listen option of
/etc/httpd/conf/httpd.conf
to 80 if 3221 is not important to you and restart httpd again
or
setsebool -P httpd_can_network_connect 1
and restart your httpd service.
or
sudo yum -y install policycoreutils-python
sudo semanage port -a -t http_port_t -p tcp 3221
and restart your httpd service.
i think your problem will be ok after user a solution from these solution.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.