-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
first visit to alert/notifications/event log pages causes error #16
Comments
[Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: [error] ERROR: Date::Manip unable to determine Time Zone. [Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: at /opt/Thruk/script/../local-lib/lib/perl5/Date/Manip.pm line 3549 [Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: \tDate::Manip::Date_TimeZone() called at /opt/Thruk/script/../local-lib/lib/perl5/Date/Manip.pm line 576 [Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: \tDate::Manip::Date_Init() called at /opt/Thruk/script/../local-lib/lib/perl5/Date/Manip.pm line 699 [Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: \tDate::Manip::ParseDateString('today 00:00') called at /opt/Thruk/script/../local-lib/lib/perl5/Date/Manip.pm line 1692 [Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: \tDate::Manip::UnixDate('today 00:00', '%s') called at [Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: /opt/Thruk/script/../lib/Thruk/Utils.pm line 45 [Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: \teval {...} called at /opt/Thruk/script/../lib/Thruk/Utils.pm line 39 [Thu Oct 28 14:27:52 2010] [warn] mod_fcgid: stderr: \tThruk::Utils::parse_date('Thruk=HASH(0xda667e0)', 'today 00:00') called at /opt/Thruk/script/../lib/Thruk/Controller/history.pm line 62 this is in my httpd error_log. and followed by many catalyst errors. |
If there are problems with the timezone, you can explicitly set one with "use_timezone" in your thruk_local.conf |
I set one with use_timezone = "Asia/Shanghai" whether I set or not use_timezone, the second time(and later) I visit these pages they're OK, but the first time will fail with |
sorry. seems it's a mod_fcgid problem and it disappears after upgrading mod_fcgid to 2.3.5 from 2.2 |
"not a valid date
this is not a valid date"
clicking the links again and the pages are acting properly.
restart httpd or kill the thruk_fastcgi.pl and visit the pages again(i.e. "alert") and the problem is reproduced.
The text was updated successfully, but these errors were encountered: