Nagios Map Error After Upgrade
Posted: Wed Jul 06, 2016 4:37 am
Hi All
Just upgraded 4.0.8 to 4.1.1, all seems to we working apart from the new map. The legacy map works fine. Screen grab attached of what I'm seeing. When I look at the NAGIOSerror.log I'm getting the following:
[Wed Jul 06 09:40:45.154456 2016] [cgi:error] [pid 2764] [client xxx.xxxx.x.xxx:27879] script not found or unable to stat: /usr/lib/cgi-bin/objectjson.cgi, referer: http://hostname.dom.com/map.html?host=all
When I look in /usr/lib/cgi-bin/ there are no files, the files its looking for are /opt/nagios/sbin/ and when I look at the config file /etc/apache2/conf-enabled/nagios-serve-cgi-bin.conf it looks like the path is correctly configured:
<IfDefine ENABLE_USR_LIB_CGI_BIN>
ScriptAlias /nagios/cgi-bin/ /opt/nagios/sbin/
ScriptAlias /cgi-bin/nagios/ /opt/nagios/sbin/
<Directory "/opt/nagios/sbin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
</Directory>
</IfDefine>
Is there somewhere else that the path could be defined that would be overwriting the above?
Appreciate any help
Gerry
Just upgraded 4.0.8 to 4.1.1, all seems to we working apart from the new map. The legacy map works fine. Screen grab attached of what I'm seeing. When I look at the NAGIOSerror.log I'm getting the following:
[Wed Jul 06 09:40:45.154456 2016] [cgi:error] [pid 2764] [client xxx.xxxx.x.xxx:27879] script not found or unable to stat: /usr/lib/cgi-bin/objectjson.cgi, referer: http://hostname.dom.com/map.html?host=all
When I look in /usr/lib/cgi-bin/ there are no files, the files its looking for are /opt/nagios/sbin/ and when I look at the config file /etc/apache2/conf-enabled/nagios-serve-cgi-bin.conf it looks like the path is correctly configured:
<IfDefine ENABLE_USR_LIB_CGI_BIN>
ScriptAlias /nagios/cgi-bin/ /opt/nagios/sbin/
ScriptAlias /cgi-bin/nagios/ /opt/nagios/sbin/
<Directory "/opt/nagios/sbin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
</Directory>
</IfDefine>
Is there somewhere else that the path could be defined that would be overwriting the above?
Appreciate any help
Gerry