- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CACTI config issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 03:37 AM
тАО05-05-2011 03:37 AM
Re: CACTI config issue
I did run that comamnd, but did not help.
The warninigs are strtotime() and date () functions related.
F.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 03:52 AM
тАО05-05-2011 03:52 AM
Re: CACTI config issue
/opt/hpws/apache/conf/php.ini
and add the following line to it (if nothing similar is there already):
date.timezone=Europe/Paris
here is a list of valid timezones:
http://php.net/manual/en/timezones.php
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 03:57 AM
тАО05-05-2011 03:57 AM
Re: CACTI config issue
Yes I did that as well, but no luck, and I have noticed that the error message mention a file global_constants in "/opt/hpws/apache/htdocs/cacti-0.8.7g/include/ ", but I cannot find a setting in it
F.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2011 04:07 AM
тАО05-05-2011 04:07 AM
Re: CACTI config issue
For example, the error msg I got is Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /opt/hpws/apache/htdocs/cacti-0.8.7g/include/global_arrays.php on line 640
So they are refering to line 640 and other error lines 154 to 160.
Lines 154 to 160 contains the following:
153 # weekdays according to date("w") builtin function
154 define("WD_SUNDAY", date("w",strtotime("sunday")));
155 define("WD_MONDAY", date("w",strtotime("monday")));
156 define("WD_TUESDAY", date("w",strtotime("tuesday")));
157 define("WD_WEDNESDAY", date("w",strtotime("wednesday")));
158 define("WD_THURSDAY", date("w",strtotime("thursday")));
159 define("WD_FRIDAY", date("w",strtotime("friday")));
160 define("WD_SATURDAY", date("w",strtotime("saturday")));
But the same file does not have line 640 as mentioned on the error
FR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2011 10:55 PM
тАО05-19-2011 10:55 PM
Re: CACTI config issue
- « Previous
-
- 1
- 2
- Next »