cacti home page and graph pages not openin in freebsd 8

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

Moderators: Developers, Moderators

Post Reply
thaiwo
Posts: 16
Joined: Sun Nov 28, 2010 3:11 am

cacti home page and graph pages not openin in freebsd 8

Post by thaiwo »

Hello,

I need support on my cacti installation, the cacti home page and graph pages not opening in freebsd 8 and i have edited the php.ini for the date.time to Africa/lagos.

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

Re: cacti home page and graph pages not openin in freebsd 8

Post by gandalf »

Did you follow the installation hints at first link of my sig? To be honest, our FreeBSD knowhow is not the best. But please give us the exact error message you are encountering
R.
thaiwo
Posts: 16
Joined: Sun Nov 28, 2010 3:11 am

Re: cacti home page and graph pages not openin in freebsd 8

Post by thaiwo »

The first issue i have is when i finished installing the application and created a user i got issue with logging into sql with this error"ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"

and when i tried to use the the path "localhost.domain/graph" i got these as the error "FATAL: Cannot connect to MySQL server on 'locahost'. Please make sure you have specified a valid MySQL database name in 'include/config.php' " and "Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 639
"
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: cacti home page and graph pages not openin in freebsd 8

Post by phalek »

did you create a database, a database user and added the credentials to the config.php file ?

Look here for more infos: http://docs.cacti.net/manual:087:1_inst ... gure_cacti
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
thaiwo
Posts: 16
Joined: Sun Nov 28, 2010 3:11 am

Re: cacti home page and graph pages not openin in freebsd 8

Post by thaiwo »

I have tried the ink and am still having the same problem
thaiwo
Posts: 16
Joined: Sun Nov 28, 2010 3:11 am

Re: cacti home page and graph pages not openin in freebsd 8

Post by thaiwo »

Please i need help with error and i have set the date.time to Africa/Lagos


Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 152

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 152

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 153

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 153

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 154

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 154

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 155

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 155

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 156

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 156

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 157

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 157

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 158

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_constants.php on line 158

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 633

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 633

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 634

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 634

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 635

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 635

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 636

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 636

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 637

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 637

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 638

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 638

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 639

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 selected 'Africa/Brazzaville' for 'WAT/1.0/no DST' instead in /usr/local/share/cacti/include/global_arrays.php on line 639



Please enter your Cacti user name and password below:

User Name:
Password:
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: cacti home page and graph pages not openin in freebsd 8

Post by phalek »

Did you set the

Code: Select all

date.time
or

Code: Select all

date.timezone
var ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
thaiwo
Posts: 16
Joined: Sun Nov 28, 2010 3:11 am

Re: cacti home page and graph pages not openin in freebsd 8

Post by thaiwo »

sorry i did set the date.timezone.
bdiez
Posts: 15
Joined: Thu Sep 08, 2005 8:09 am
Location: Spain

Re: cacti home page and graph pages not openin in freebsd 8

Post by bdiez »

Hi.

I was experiencing the same issue in a brand new Cacti installation running over an openSUSE 11.3 with PHP 5.3.3. After digging a little on the php.net online manual I applied one of the suggested solutions adding at the start of the include/global_constants.php the following code:

Code: Select all

if(function_exists("date_default_timezone_set") and function_exists("date_default_timezone_get")) {
    @date_default_timezone_set(@date_default_timezone_get());
}
After this the warnings were off and my spine is runing like a champ.


Bernardo.
thaiwo
Posts: 16
Joined: Sun Nov 28, 2010 3:11 am

Re: cacti home page and graph pages not openin in freebsd 8

Post by thaiwo »

You are too much.................it worked Alhamdulilai
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest