Got to step 5 on the below setup instructions link and received an error. Maybe someone who is familiar with nagios can help me please.
CENTOS 5.5 i686 standard on ns1
Looks like I made too many symlinks trying to fix it with the wrong thing I found on google. Maybe you could show me how to undo that symlink and fix the error so I can proceed with step 5?
- Configure the Web Interface
Install the Nagios web config file in the Apache conf.d directory.
[email protected] ~/downloads/nagios-3.2.3]# 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
make: *** [install-webconf] Error 1
[email protected] ~/downloads/nagios-3.2.3]# ps -Af | grep httpd
root 14114 1 0 Nov10 ? 00:00:00 /usr/local/apache/bin/httpd -k start -DSSL
[email protected] [/usr/local/nagios/etc]# ln -s /etc/httpd/conf.d /usr/local/apache/conf.d
[email protected] [/usr/local/nagios/etc]# make install-webconf
make: *** No rule to make target
install-webconf'. Stop. [email protected] [/usr/local/nagios/etc]# /usr/local/apache/bin/httpd -V |grep HTTPD_ROOT -D HTTPD_ROOT="/usr/local/apache" [email protected] [/usr/local/nagios/etc]# ln -s /etc/httpd/conf.d /usr/local/apache/conf.d ln: accessing/usr/local/apache/conf.d’: Too many levels of symbolic links
thanks for anything you can tell me.