Problem installing web config file

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
xyzcmd
Posts: 4
Joined: Wed Dec 21, 2011 3:55 pm

Problem installing web config file

Post by xyzcmd »

Hi,
I am following this guide http://nagios.sourceforge.net/docs/3...rt-ubuntu.html on how to install Nagios. Getting this error messages when i try to install web config file:
root@de-ap32:/etc/apache2/conf.d# make install-webconf
make: *** No rule to make target `install-webconf'. Stop.

I have tried to reload Apache. and tried to add the space after install right before -webconf. receiving the same message. If I skipped this and i got no errors on other steps. However I cannot start nagios via browser. verified that the service is started. I am running ubuntu 8.04.2 server. Have posted the same message on Ubuntu forum but no response.

what could be the problem?

Thanks in advance.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Problem installing web config file

Post by jsmurphy »

I've heard of a few people saying that the quickstart guide for ubuntu is a little bit off, try this guide instead http://www.unixmen.com/linux-tutorials/ ... 9x-and-10x. I've never tried to install it on Ubuntu before (I don't use that distro often) so I'm not all that familiar with the quirkiness myself.
xyzcmd
Posts: 4
Joined: Wed Dec 21, 2011 3:55 pm

Re: Problem installing web config file

Post by xyzcmd »

Thank you. it helped.

there was one step missing is to add DirectoryIndex to apache config file

after that command ran successfully.


root@de-ap32:~/downloads/nagios-3.2.3# sudo make install-webconf
/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/apache2/conf.d/nagios.conf

*** Nagios/Apache conf file installed ***
Locked