Primary solution
This article lists the common reasons for the above error, and it's variants, in OP5 Monitor. Take extra note of the specific file listed in the error message.
index.php
If you are getting the following error pertaining to Nagvis when trying to access your maps:
The requested URL /nagvisls/frontend/nagvis-js/index.php was not found on this server."
This may be caused by an out of date nagvis.ini.php
file. See if you have an .rpmnew
file, and if so, use that instead:
# mv /opt/monitor/op5/nagvis_ls/etc/nagvis.ini.php /opt/monitor/op5/nagvis_ls/etc/nagvis.ini.php.bak
# mv /opt/monitor/op5/nagvis_ls/etc/nagvis.ini.php.rpmnew /opt/monitor/op5/nagvis_ls/etc/nagvis.ini.php
Alternate solution to "The requested URL /nagvisls/ ..."
For some users, replacing the nagvis.ini.php
file did not resolve the issue. If your error message specifically points out "nagvisls" instead of "nagvis", for example when clicking the auto-map, one way of resolving this issue is to add an additional alias to Apache.
Open up this file:
# vim /etc/httpd/conf.d/nagvis.conf
Copy the line that looks like this:
Alias /nagvis "/opt/monitor/op5/nagvis_ls/share"
Modify the copied line, and ensure you have two lines that look like this:
Alias /nagvis "/opt/monitor/op5/nagvis_ls/share"
Alias /nagvisls "/opt/monitor/op5/nagvis_ls/share"
Now restart Apache (httpd) and retry your link.
Comments
0 comments
Please sign in to leave a comment.