Unable to open Configuration snapshots

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Unable to open Configuration snapshots

Post by MSPk »

HI Team,

When I try to view/download the configuration snapshots(Configure->Core Config Manager->Configuration Snapshots) on nagios I get a message 'Internet Explorer Cannot display the webpage' Please suggest.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Unable to open Configuration snapshots

Post by tmcdonald »

Have you tried it with a different browser?
Former Nagios employee
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Unable to open Configuration snapshots

Post by MSPk »

I have tried it on firefox and I cant view the file there as well. I get a message saying page cant be displayed. We are using Nagios XI 2012R2.8c
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Unable to open Configuration snapshots

Post by tmcdonald »

Okay, go try to view a snapshot again and right after you do run the following on the server command line:

tail -20 /var/log/httpd/error_log

Be sure to censor any sensitive information.
Former Nagios employee
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Unable to open Configuration snapshots

Post by MSPk »

This is all I see when I run that command.
error.rtf
Please suugest the path of this config snapshot on the nagios server as we have a config error now and without the info in the file we cant move forward. Please help.
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Unable to open Configuration snapshots

Post by slansing »

You need to set your timezone in php.ini:

http://assets.nagios.com/downloads/nagi ... m_Time.pdf
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Unable to open Configuration snapshots

Post by MSPk »

i Have done the required changes and it is still the same..!!

we have the run the command - tail -20 /var/log/httpd/error_log - again. results in attched file
config error-2.txt
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Unable to open Configuration snapshots

Post by slansing »

What is the output of:

Code: Select all

cat /etc/php.ini | grep 'timezone'
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Unable to open Configuration snapshots

Post by MSPk »

This is the Output I get

; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = UTC
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unable to open Configuration snapshots

Post by lmiltchev »

I would recommend disabling selinux by running the following command:

Code: Select all

setenforce 0
Next, open the "/etc/php.ini" file and enter the correct timezone on the following line:

Code: Select all

date.timezone =
You can view the available timezones here:

http://us3.php.net/timezones

You can also review this document:

http://assets.nagios.com/downloads/nagi ... m_Time.pdf

Restart apache:

Code: Select all

service httpd restart
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked