Page 1 of 1

No Permission ti view information

Posted: Fri Apr 03, 2015 4:44 am
by marcolino7
Hi,
after a power outage, my nogios server do not shutdown properly. Since that moment I can access to web interface, but I cannot see Service, and webpage get back with this message:

Code: Select all

It appears as though you do not have permission to view information for any of the services you requested...
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.
It workied fine until yesterday and, I changed nothing. I tried to upgrade to version 4.0.8 and I tried to ckek cgi.cfg and all seems to be fine. Apache is working fine.

Any help would be appreciated.

Marco

Re: No Permission ti view information

Posted: Fri Apr 03, 2015 9:25 am
by ssax
Are you using ndomod? Please post the last 100 or so lines from the following files:

Code: Select all

/usr/local/nagios/var/nagios.log
/var/log/httpd/error_log

Re: No Permission ti view information

Posted: Fri Apr 03, 2015 12:42 pm
by marcolino7
Hi saax,
thanks for answer.
Meanwhile I fixed the issue.
During power failure, i got a configuration file corrupted in apache. I don't know why, this line:

Code: Select all

SetEnv REMOTE_USER REDIRECT_REMOTE_USER
became corrupted during power failure:

Code: Select all

SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER
So I fixed.

Many Thanks

Re: No Permission ti view information

Posted: Fri Apr 03, 2015 12:52 pm
by ssax
That's great to hear, I'm glad you got that figured out. I will be marking this as resolved and locking the topic, feel free to create another if you run into any additional issues.