Page not found

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
pankajky
Posts: 3
Joined: Thu Feb 27, 2014 7:08 am

Page not found

Post by pankajky »

I have installed Nagios according to http://assets.nagios.com/downloads/nagi ... Source.pdf
Now when i am trying to access on browser i am getting an error

Page not found

The page you were trying to access doesn't exist or has been removed.

Back

Please have a look at attachment for more details.
Attachments
Page not found
Page not found
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Page not found

Post by tmcdonald »

Please run the following and post the output:

Code: Select all

tail -20 /var/log/httpd/error_log
assuming you are on a CentOS or RHEL system.

And did you set up any sort of framework on this server? Redmine is a fairly popular Ruby framework that is probably routing all your requests.
Former Nagios employee
pankajky
Posts: 3
Joined: Thu Feb 27, 2014 7:08 am

Re: Page not found

Post by pankajky »

Yes I am using redmine also on the same server, this is Ubuntu server 12.04LTS. If I am using "http://192.168.0.32/nagios/index.php" nagios page is showing but if I am "http://192.168.0.32/nagios" i am getting page not found as earlier i have mentioned.
please help me now how to get rid of this error.
pankajky
Posts: 3
Joined: Thu Feb 27, 2014 7:08 am

Re: Page not found

Post by pankajky »

hisp@HISP-HDC:~$ tail -20 /var/log/apache2/error.log
[Thu Feb 27 16:28:31 2014] [notice] caught SIGTERM, shutting down
[Thu Feb 27 16:28:32 2014] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/2.2.11 PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations
Storing outgoing emails configuration in config/email.yml is deprecated. You should now store it in config/configuration.yml using the email_delivery setting.
[Thu Feb 27 18:12:49 2014] [notice] caught SIGTERM, shutting down
[Thu Feb 27 18:12:50 2014] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/2.2.11 PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations
Storing outgoing emails configuration in config/email.yml is deprecated. You should now store it in config/configuration.yml using the email_delivery setting.
[Fri Feb 28 12:20:50 2014] [notice] caught SIGTERM, shutting down
[Fri Feb 28 12:20:51 2014] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/2.2.11 PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations
[Fri Feb 28 12:21:08 2014] [error] [client 192.168.0.129] File does not exist: /var/www/redmine
[Fri Feb 28 12:22:19 2014] [notice] caught SIGTERM, shutting down
[Fri Feb 28 12:22:20 2014] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/2.2.11 PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations
[Fri Feb 28 12:22:32 2014] [error] [client 192.168.0.129] File does not exist: /var/www/redmine
[Fri Feb 28 12:22:32 2014] [error] [client 192.168.0.129] File does not exist: /var/www/favicon.ico
[Fri Feb 28 12:22:37 2014] [error] [client 192.168.0.129] File does not exist: /var/www/redmine
[Fri Feb 28 12:22:48 2014] [error] [client 192.168.0.129] File does not exist: /var/www/redmine
[Fri Feb 28 12:24:32 2014] [notice] caught SIGTERM, shutting down
[Fri Feb 28 12:24:33 2014] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/2.2.11 PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations
[Fri Feb 28 12:24:37 2014] [error] [client 192.168.0.129] File does not exist: /var/www/redmine
[Fri Feb 28 12:26:27 2014] [notice] caught SIGTERM, shutting down
[Fri Feb 28 12:26:28 2014] [notice] Apache/2.2.22 (Ubuntu) Phusion_Passenger/2.2.11 PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Page not found

Post by tmcdonald »

It looks like Redmine changed the defaults that Nagios Core relies on to run. My guess is they have a rule in place that passes off URL handling to Redmine, and since it doesn't know what nagios is it tries to find a Redmine page called nagios and fails with a 404. Unfortunately changing these values are likely going to make Redmine fail somewhere along the line.

Would it be possible for you to have Nagios Core running on a dedicated server?
Former Nagios employee
Locked