Not able to login

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Not able to login

Post by progressive.nagiosXI »

Hii team,

I have installed nagios NA , it was working fine but after some time when i "m giving login credentials it showing a web page that "The action you have requested is not allowed".

I have restarted services (NagiosNA , mysqld, httpd)

I have cleared cache of my browser.

Please suggest what to do.
as web page is running bcz login page is opening but when i"m giving credentials its giving attached error.
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Not able to login

Post by tmcdonald »

Do you have any sort of web proxy or firewall in-place that might be modifying or blocking certain requests?
Former Nagios employee
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: Not able to login

Post by progressive.nagiosXI »

No we don't have any thts why i"m asking help from you
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Not able to login

Post by tgriep »

Try this to see if it fixes the error.
Edit this file on the NNA server

Code: Select all

/var/www/html/nagiosna/application/config/config.php
Change the following from (Line 296)

Code: Select all

$config['csrf_protection'] = TRUE;
to

Code: Select all

$config['csrf_protection'] = FALSE;
Save the file and restart Apache by running

Code: Select all

service httpd restart 
Clear your browsers cache and see if you can login to NNA's GUI.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked