免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
论坛 操作系统 AIX nagios
最近访问板块 发新帖
查看: 1694 | 回复: 0
打印 上一主题 下一主题

[新手入门] nagios [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-23 02:07 |只看该作者 |倒序浏览
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>;


...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP