Make install-webconf error

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.

WHM 11.28.8
CENTOS 5.5 i686 standard on ns1…rt-fedora.html

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?

  1. Configure the Web Interface

Install the Nagios web config file in the Apache conf.d directory.

make install-webconf

[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

or directory
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.

it should be possible to simply remove symlinks like regular files with rm.


I have removed the other link, which was with the ‘default’ folder in ‘/etc/apache2/sites-available’. I have even removed the default file from that folder, but still getting the same error.

Please help!!!


This thread is 6 months old… what error are you getting? can you ser the default website? (is uspect not anymore). did you restart apache?

Removing the default file in sites-available simply disables the standar apache configuration ( /var/www/ published as main site ).