Hello,
While I am installing nagios core 4.0.x in Ubuntu 14.0, I am getting this below error. Can someone please help in resolving this.
I am following this below link..
http://assets.nagios.com/downloads/nagi ... Source.pdf
root@asi-nagiossvr02:/tmp/nagios-4.0.4# make install-webconf
/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/apache2/conf.d/nagios.conf
/usr/bin/install: cannot create regular file â/etc/apache2/conf.d/nagios.confâ: No such file or directory
make: *** [install-webconf] Error 1
root@asi-nagiossvr02:/tmp/nagios-4.0.4#
Sam..
Nagios Core installation failure
Re: Nagios Core installation failure
Do you have apache installed already? If so, what version? If might be under /etc/apache3 or possibly /etc/httpd if you compiled from source. Can you show us what apache-related directories you have under /etc?
Former Nagios employee
Re: Nagios Core installation failure
Hai,
Here is the apache version info..
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 22 2014 14:36:38
I dont have any folder by httpd, instead i have only apache2 folder.
Sam.
Here is the apache version info..
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 22 2014 14:36:38
I dont have any folder by httpd, instead i have only apache2 folder.
Sam.
Re: Nagios Core installation failure
The conf locations are different: https://help.ubuntu.com/14.04/serverguide/httpd.html
to the ./configure command line.
(The Nagios site conf file should live in /etc/apache2/sites-available with a syhmlink in /etc/apache2/sites-enabled to match the conventions on Ubuntu, but the install commands need to be modified to do that.)
I think you will also need to install sysv-rc-conf to get chkconfig for the later installations commands.
We can tell configure to install there by adding:conf-available: this directory contains available configuration files. All files that were previously in /etc/apache2/conf.d should be moved to /etc/apache2/conf-available.
Code: Select all
--with-httpd-conf=/etc/apache2/conf-available(The Nagios site conf file should live in /etc/apache2/sites-available with a syhmlink in /etc/apache2/sites-enabled to match the conventions on Ubuntu, but the install commands need to be modified to do that.)
I think you will also need to install sysv-rc-conf to get chkconfig for the later installations commands.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios Core installation failure
I have a full guide you can follow which shows you how to install Core 4.0.8 on Ubuntu 14.04.
http://sites.box293.com/nagios/guides/i ... untu-14-04
http://sites.box293.com/nagios/guides/i ... untu-14-04
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios Core installation failure
Thank you so much. I have installed it successfully and mails are getting.