No Permission ti view information

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
marcolino7
Posts: 2
Joined: Fri Apr 03, 2015 4:30 am

No Permission ti view information

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No Permission ti view information

Post 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
marcolino7
Posts: 2
Joined: Fri Apr 03, 2015 4:30 am

Re: No Permission ti view information

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No Permission ti view information

Post 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.
Locked