If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > nagios

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-03, 14:15
pons pons is offline
Registered User
 
Join Date: Dec 2002
Posts: 16
nagios

I am trying to configure nagios under AIX 5.1
I am facing the following
- to find cc or gcc in my export path
- to configure the html and cgi-bin for nagios

any help in this issue?


# cd nagios-1.1
# ls
.cvsignore README config.log install-sh sample-config
Changelog UPGRADING configure make-tarball subst
INSTALLING base configure.in mkpackage subst.in
LEGAL cgi contrib nagios.spec update-version
LICENSE common daemon-init.in p1.pl xdata
Makefile.in confdefs.h functions pkg
OutputTrap.pm config.cache html pkginfo.in
# pwd
/usr/ftp/nagios/nagios-1.1
# ./configure --prefix=/usr/local/nagios
--with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios
--with-nagios-grp=nagios
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
# ksh: --with-cgiurl=/nagios/cgi-bin: not found.
# ksh: --with-nagios-grp=nagios: not found.
#


# find / -name "httpd.conf" -print
/etc/opt/freeware/apache/httpd.conf



# find / -name "cgi-bin" -print
/opt/freeware/apache/share/cgi-bin
/usr/HTTPServer/cgi-bin
/usr/local/nagios/cgi-bin
/usr/local/share/apache/cgi-bin
/usr/lpp/IMNSearch.rte.httpdlite/inst_root/var/docsearch/cgi-bin
/usr/lpp/internet/server_root/cgi-bin
/var/docsearch/cgi-bin



vi httpd.conf
...

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/opt/freeware/apache/share/htdocs"




#
ScriptAlias /cgi-bin/ "/opt/freeware/apache/share/cgi-bin/"
#
# "/opt/freeware/apache/share/cgi-bin" should be changed to whatever your ....
#
<Directory "/opt/freeware/apache/share/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>


...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On