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
centos 7 problems installing no /etc/init.d/httpd
-
- Posts: 1
- Joined: Sat Dec 23, 2017 3:31 am
- Location: South Africa
- Contact:
centos 7 problems installing no /etc/init.d/httpd
Its not a bug, its an undocumented feature.
Re: centos 7 problems installing no /etc/init.d/httpd
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?
Or have you done this already?
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