nagios : problem with command "make install-webconf"

Hi
I installed one ubuntu 8.04 and nagios 3.0.5
I follow the basic step by step for quick installation
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html

Qt the step 5) Configure the Web Interface
I try the Install the Nagios web config file in the Apache conf.d directory.
make install-webconf

I get :
root@administrator-desktop:/home/administrator/nagios/nagios-3.0.5# make install-webconf
/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

One idea ?

Thanks,

Regards.

Lirlandais


lirlandaisAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
edster9999Connect With a Mentor Commented:
This line says it all :

cannot create regular file `/etc/httpd/conf.d/nagios.conf': No such file or directory

there is no directory
/etc/httpd/conf.d/

So ...

do you have apache installed ? (if not install it)

is its config directory there ? (if not map a symbolic line to there or edit the make file to point to the right place)

is apache installed with virtual hosts and not just stand alone (if not add it or recompile (depends on how you installed it))
0
 
lirlandaisAuthor Commented:
effectly, I do again a apt-get install apache2
it is working !
Thanks
0
All Courses

From novice to tech pro — start learning today.