Install Error

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
FlyingEagle
Posts: 5
Joined: Fri Oct 07, 2016 9:42 am

Install Error

Post by FlyingEagle »

I downloaded the Vmware .ova version and imported into vmware. Went to the server ip in the browser and did the admin account setup and clicked Finish Installation and I get "An Error Was Encountered. The action you have requested is not allowed." nagiosna/index.php/install no clue on what I need to do to fix this.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Install Error

Post by lmiltchev »

Can you provide us with the download link to the OVA you used? Screenshots of the vmware console, and the error that you see in the web UI would be helpful.
Be sure to check out our Knowledgebase for helpful articles and solutions!
FlyingEagle
Posts: 5
Joined: Fri Oct 07, 2016 9:42 am

Re: Install Error

Post by FlyingEagle »

You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Install Error

Post by tgriep »

First thing to do is to clear out your browsers cache and see if you can connect to the server then.
Or, if possible, try a different browser and see if that one causes the same issue.

If it still fails, login to the Nagios server using the root account and run the following tail command.

Code: Select all

tail -f /var/log/httpd/*_log
Then try to login to the GUI and post the output of the tail command here so we can view the errors.
Be sure to check out our Knowledgebase for helpful articles and solutions!
FlyingEagle
Posts: 5
Joined: Fri Oct 07, 2016 9:42 am

Re: Install Error

Post by FlyingEagle »

Tried firefox and ie 11 same issue.

Code: Select all

192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET / HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/index.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/index.php/install HTTP/1.1" 200 31537 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/css/jquery-ui-1.10.3.custom.min.css HTTP/1.1" 200 26998 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/css/font-awesome.min.css HTTP/1.1" 200 21984 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/css/main.css HTTP/1.1" 200 11741 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/jquery-ui-timepicker-addon.js HTTP/1.1" 200 74018 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/bootstrap.min.js HTTP/1.1" 200 28756 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/jquery-1.10.1.min.js HTTP/1.1" 200 93021 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/css/bootstrap-2.3.2.min.css HTTP/1.1" 200 126340 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/jquery-ui-1.10.3.custom.min.js HTTP/1.1" 200 228137 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/highcharts-more.js HTTP/1.1" 200 24398 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/modules/exporting.js HTTP/1.1" 200 8147 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/helpers.js HTTP/1.1" 200 6729 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/highcharts.js HTTP/1.1" 200 165037 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/js/d3.v3.min.js HTTP/1.1" 200 143320 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/images/nnalogo_small.png HTTP/1.1" 200 4822 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/images/glyphicons-halflings-white.png HTTP/1.1" 200 8777 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:13 -0400] "GET /nagiosna/media/favicon.ico HTTP/1.1" 200 822 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; Trident/7.0; rv:11.0) like Gecko"
192.168.10.106 - - [17/May/2017:11:34:40 -0400] "POST /nagiosna/index.php/install HTTP/1.1" 500 1176 "http://192.168.10.118/nagiosna/index.php/install" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Install Error

Post by tgriep »

Is there a proxy server or firewall between your PC and the Network Analyzer server that is manipulating the data or are they on the same network?
Be sure to check out our Knowledgebase for helpful articles and solutions!
FlyingEagle
Posts: 5
Joined: Fri Oct 07, 2016 9:42 am

Re: Install Error

Post by FlyingEagle »

Same network, no firewall.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Install Error

Post by tgriep »

Try this , 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 the browsers cache and post back if this fixes the issue for you or not.
Be sure to check out our Knowledgebase for helpful articles and solutions!
FlyingEagle
Posts: 5
Joined: Fri Oct 07, 2016 9:42 am

Re: Install Error

Post by FlyingEagle »

:D THANK YOU :!: That did the trick, you need a raise.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Install Error

Post by tgriep »

Your very welcome! Glad it fixed the issue.
If you do upgrade the server in the future, you would have to re-edit the file if the error comes back.
I'll mark the post as solved and lock it up but if you have any new questions, feel free to open a new post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked