CACTI config issue

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
fretagi
Posts: 2
Joined: Tue May 03, 2011 4:11 am

CACTI config issue

Post by fretagi »

Hi Experts!

I have an issue trying to setup cacti on HP-UX. I point my browser to http://server/cacti-0.8.7g, I have the following errors:
Warning: date() [function.date]: 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
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'

Please can somebody help on this?

F.R.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: CACTI config issue

Post by gandalf »

1st issue: Set the timezone in /etc/php.ini and restart httpd
2. Create the cacti db in mysql. Create cactiuser in mysql and grant permissions. Fill the cacti db. All this is treated in the documentation
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests