Page 1 of 1

Problem installing web config file

Posted: Wed Dec 21, 2011 3:59 pm
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.

Re: Problem installing web config file

Posted: Wed Dec 21, 2011 4:32 pm
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.

Re: Problem installing web config file

Posted: Wed Dec 21, 2011 5:36 pm
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 ***