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

Re: Unable to open Configuration snapshots

Post by MSPk »

I have tried the below steps and chnaged the time zone to Europe/London, but it is still the same...!! :(
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Unable to open Configuration snapshots

Post by abrist »

There seems to be a bug in some centos versions. Check to see if localtime is a file or directory:

Code: Select all

ls -la /etc/localtime
file /etc/localtime
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Unable to open Configuration snapshots

Post by MSPk »

This is the ourput I get...

[root@hostname libexec]# ls -la /etc/localtime
lrwxrwxrwx. 1 root root 20 Feb 5 08:09 /etc/localtime -> /usr/share/zoneinfo/
[root@hostname libexec]# file /etc/localtime
/etc/localtime: symbolic link to `/usr/share/zoneinfo/'
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Unable to open Configuration snapshots

Post by abrist »

Yerp, that is the problem. Do the following:

Code: Select all

rm /etc/localtime
(make sure there is no trailing slash!)

Code: Select all

cp /usr/share/zoneinfo/<your country>/<your timezone> /etc/localtime
For example:

Code: Select all

cp /usr/share/zoneinfo/America/Chicago /etc/localtime
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked