The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
来源:互联网 发布:二叉树的深度 java 编辑:程序博客网 时间:2024/05/29 16:05
在安装nagios完,后打开web界面,出现了 The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server 这样错误提示。
最初想到的是,是不是我安装的顺序错了我是最后才安装nagios的插件的,然后我重新安装了一遍,把nagios的插件放在第二位安装;搞定后,发现,解决了部分问题,但是还有两个选项无法显示,一按都有错误提示。后来我就上网找了一下,我用的是如下方法
解决方案,确定安装下面的包。libgd
libgd-devel
libpng
libpng-devel
libjpeg
libjpeg-devel
zlib
zlib-devel 回到nagios安装时解压开的目录
#make devclean
./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include
#make all
#make install
#make install-init
#make install-config
#make install-commandmode
上面提到的安装包我没有全部用到,我只是安装了yum install gd-devel,但我觉得最关键的是 ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include ,这个,因为一开始我是没有设置这些参数的。
假如有CGI文件生成,还报以上错误,检查httpd的配置文件是否增加有如下语句:
ScriptAlias /nagios/cgi-bin “/usr/local/nagios/sbin”
Alias /nagios "/usr/local/nagios/share"
0 0
- The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
- The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
- The requested URL /**** was not found on this server
- 404 Not Found The requested URL * was not found on this server
- ubuntu 出现 Not Found The requested URL /phpmyadmin/ was not found on this server.
- Not Found The requested URL /phpMyAdmin/index.php was not found on this server.
- Not Found The requested URL /phpMyAdmin/index.php was not found on this server.解决办法
- The requested URL was not found on the server
- 有关phpmyadmin登录错误The requested URL /phpmyadmin was not found on this server.的解决方法
- The requested URL /OA_HTML/AppsLogin was not found on this server. 的一个解决办法
- PHP zend framework The requested URL /XXX/public/index was not found on this server
- CakePHP运行报错The requested URL XX was not found on this server.
- Zend Framework: The requested URL /newposter was not found on this server.
- phpmyadmin登陆中遇到The requested URL /phpmyadmin was not found on this server的解决方法
- The requested URL /phpMyAdmin was not found on this server.问题解决方法
- The requested URL /get_data.xml was not found on this server.
- The requested URL /Users/add was not found on this server.
- laravel The requested URL /test was not found on this server.
- LeetCode 题解(221) : Binary Tree Level Order Traversal
- Leetcode NO.136 Single Number
- C++类的构造函数和析构函数
- 技术面试(算法)
- JSP文件上传
- The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server
- *LeetCode-Search in Rotated Sorted Array II
- *LeetCode-Trapping Rain Water
- js显示当前年月日
- 关于Co-segmentation
- Java程序中运行命令行命令
- C++实现RTMP协议发送H.264编码及AAC编码的音视频,摄像头直播
- 窥探Unity5渲染内部之解析UnityShaderVariables.cginc
- Java从Socket接收大数据