Hi - sounds like your issue is that the generic make install in nagios src tries to drop a file called nagios.conf into httpd's (usually the default) location, /etc/httpd/conf.d/, which, appears does not exist on your server...
If you can find what directory your apache uses for "/etc/httpd/conf.d/" you can manually copy and paste whatever is in nagios.conf (the one trying to be installed from nagios src dir) into your "/etc/httpd/conf/httpd.conf" (You can likely disregard the "apache2.conf" stuff - sounds like they used their own file naming, as the default is normally "httpd.conf") - Apache itself is very flexible, there are many ways to configure it - nagios simply guesses you are using redhat, so it tries to drop it's httpd config into /etc/httpd/conf.d) HTH ... Regards, jamie > -----Original Message----- > From: Jimmyboy [mailto:jimmyjose2...@gmail.com] > Sent: Monday, April 13, 2009 2:25 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Fwd: Apache Server configuration for Nagios 3.0 > > Hi, > > On reading https://help.ubuntu.com/8.10/serverguide/C/httpd.html, I > understand that /etc/apache2/apache2.conf is the most important file. > Though I have installed Apache in /etc/apache2 location, I do not have > apache2.conf file as mentioned in the site. > > However, when I stop/start the Apache service using the command > '/etc/apache2/bin/apachectl -k stop/start' respectively, and check > http://127.0.0.1 <http://127.0.0.1/> and ps -A | grep httpd, the results > are OK. > > Thanks, > Jim > > =-=-=-=-= > > > ---------- Forwarded message ---------- > From: Jimmyboy <jimmyjose2...@gmail.com> > Date: Mon, Apr 13, 2009 at 11:49 PM > Subject: Apache Server configuration for Nagios 3.0 > To: nagios-users@lists.sourceforge.net > > > > Hi All, > > I am following the Quickstart Guide for installing NAGIOS using > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html. > > One of the prerequisites is Apache2, which I installed, and was successful > in getting "It Works!!" for http://127.0.0.1 <http://127.0.0.1/> . > > However, I am stuck at point 5) Configure the Web Interface, make install- > webconf. > > When this command is issued, this is what I get. > /usr/bin/install -c -m 644 sample-config/httpd.conf > /etc/httpd/conf.d/nagios.conf > /usr/bin/install: cannot create regular file > '/etc/httpd/conf.d/nagios.conf': No such file or directory > make: *** [install-webconf] Error 1 > > Prefix for Apache: /etc/apache2 > > I believe the httpd.conf file and a few others also need to be edited for > Nagios. Can some please guide me through this? > > > Thanks, > Jim > > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null