Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i am following the below url for nagios installation

When i try to configure web interface.

# make install-webconf

I am getting the below error

make: * No rule to make target `install-webconf'. Stop.

I have installed Apache and running fine, but can't find the conf.d directory

# service httpd status
httpd (pid  6975) is running...

can anyone help me to fix this problem

share|improve this question

You need to be in the same directory as the Makefile. If you must run a makefile from somewhere else, do it like so:

make -f /path/to/Makefile install-webconf

If you DO have the Makefile next to you - make sure you're actually in the right directory - sometimes subdirs in a source tarball have their own. If this is not the case, then most likely your instructions are "outdated" or there's something "wrong" with the tarball you downloaded. Given that those instructions are 3 years old, this could be the case...

Current documentation for nagios can be found here.

share|improve this answer
#mkdir conf.d # /etc/httpd lrwxrwxrwx 1 root root 14 Apr 28 00:34 build -> /var/www/build drwxr-xr-x 6 root root 4096 Apr 29 15:11 conf drwxr-xr-x 2 root root 4096 Apr 29 16:37 conf.d # make -f /etc/httpd/conf.d/makefile install-webconf make: /etc/httpd/conf.d/makefile: No such file or directory make: *** No rule to make target /etc/httpd/conf.d/makefile'. Stop. # make -f /etc/httpd/conf.d/install-webconf make: /etc/httpd/conf.d/install-webconf: No such file or directory make: *** No rule to make target /etc/httpd/conf.d/install-webconf'. Stop. – rajesh22 Apr 29 '11 at 20:46
Please note the capital "M" in Makefile - that is not a typo. – draeath Apr 29 '11 at 21:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.