centos 7 problems installing no /etc/init.d/httpd
Posted: Sat Dec 23, 2017 3:45 am
I have just installed CentOS 7 on a machine to start testing with nagios. I have been following the install documentation but have run into a problem.
After runnig all the makes and configure scripts I try run this command/etc/init.d/httpd but i get the following error: -bash: /etc/init.d/httpd: No such file or directory I tried continuing just having httpd running but when I try to access the web inter face I cannot connect.
After going to init.d using cd /etc/init.d/ I see that there is no httpd file.
As a result of the above I cannot run the chkconfig --add httpd and chkconfig --level 35 httpd on commands I get the following errors: error reading information on service httpd: No such file or directory and Note: Forwarding request to 'systemctl enable httpd.service'. respectively
After runnig all the makes and configure scripts I try run this command/etc/init.d/httpd but i get the following error: -bash: /etc/init.d/httpd: No such file or directory I tried continuing just having httpd running but when I try to access the web inter face I cannot connect.
After going to init.d using cd /etc/init.d/ I see that there is no httpd file.
As a result of the above I cannot run the chkconfig --add httpd and chkconfig --level 35 httpd on commands I get the following errors: error reading information on service httpd: No such file or directory and Note: Forwarding request to 'systemctl enable httpd.service'. respectively