Page 1 of 2
NSP:Sorry Dave, i can't let you do that.
Posted: Fri Jan 11, 2013 8:03 pm
by cheritie
I have tried to set Nagio's server date and followed step from the Nagios FAQ.
However it still gave me the error message.
I have changed php.ini file to set the timezone but when i run command
yum install ntp
ntpdate time.nist.gov
it would go back to the europe time.
please help.
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Mon Jan 14, 2013 11:00 am
by slansing
Can you show us your date.timezone line in /etc/php.ini?
Also, make sure to restart Apache after making changes.
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Mon Jan 14, 2013 11:06 am
by lmiltchev
Try setting the system time this way:
Find your location in "/usr/share/zoneinfo":
You can drill down more, for example:
or
Then, make a backup of the existing localtime file. It’s always good practice to make backups of original config files.
Code: Select all
mv /etc/localtime /etc/localtime.bak
Create a link (for example, you want to use "Chicago" for the timezone):
Code: Select all
ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
Try running:
Verify your date:
Hope this helps.
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Mon Jan 14, 2013 2:52 pm
by cheritie
It works! Thank you
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Fri Feb 22, 2013 12:46 pm
by pcollado1
Hi,
We have downloaded the Nagios XI Virtual image hosted on CentOS for Windows. We have installed and now trying to access the web interface for further configuration. I'm getting the NSP: Sorry Dave, I can't let you do that, error message. I tried all the suggestions for date.timezone changes and still this is not working for us. I can also verify that the date.timezone field int he PHP.INI file is properly reflect the timezone on the Windows hosting the Nagios VM. Therefore, I have run out of options to get this resolved and therefore, decided to ask for your help.
Thank you,
Paul C.
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Fri Feb 22, 2013 2:11 pm
by 455157
Did you remember to restart apache after making the timezone changes?
The command is:
service httpd restart
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Fri Feb 22, 2013 2:19 pm
by pcollado1
Yes thank you, I did issued the command to restart the apache server.
Also, when I issue the date command, I get "Fri Feb 22 14:12:17 UTC 2013" and when I check the php.ini date.timezone I see "date.timezone = America/New_York". These settings match the Windows 7 Professional workstation that is currently hosting the NagiosXI VM image I downloaded from the site.
Just wanted to note that I downloaded the VM image from the Nagios site and followed the initial configuration process. It stated that the VM image is already configured and packaged to work. Don't really know if I had to do any additional configuration. The only change I performed to the NagiosXI image, once installed, was the date / time update on the PHP.INI files and the CentOS side. Also, I reset the nagiosadmin password to something that I can use so that I could also test the login to the NagiosXI web interface.
Thank for the prompt response,
Paul C.
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Fri Feb 22, 2013 2:32 pm
by lmiltchev
Is your problem fixed now?
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Fri Feb 22, 2013 2:37 pm
by pcollado1
No, not yet, same issue after performing the Apache restart.
Thank you,
Paul C.
Re: NSP:Sorry Dave, i can't let you do that.
Posted: Fri Feb 22, 2013 3:32 pm
by scottwilkerson
Is the date and time on your workstation correct?