centos 7 problems installing no /etc/init.d/httpd

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
JoshuaSm48
Posts: 1
Joined: Sat Dec 23, 2017 3:31 am
Location: South Africa
Contact:

centos 7 problems installing no /etc/init.d/httpd

Post by JoshuaSm48 »

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
Its not a bug, its an undocumented feature.
kyang

Re: centos 7 problems installing no /etc/init.d/httpd

Post by kyang »

Could you tell us which documentation you followed for installing Nagios?

Was it this one?
https://support.nagios.com/kb/article/n ... tml#CentOS

Is this the latest version of Nagios Core?

Could you try running these commands?

Code: Select all

systemctl enable httpd.service

make install-webconf

systemctl start httpd.service
Or have you done this already?
Locked