Help Install Cacti - Error date.timezone.

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

Moderators: Developers, Moderators

Post Reply
luis1660
Posts: 7
Joined: Sat Jun 25, 2022 9:32 pm

Help Install Cacti - Error date.timezone.

Post by luis1660 »

Hello guys.

They could be helping me with the error that is giving "Date.Timezone" in the PHP.INI file

I have already made the changes but without success.

root@pc01:/etc/php/7.2/apache2# grep -iR 'date.timezone =' /etc/php/*
/etc/php/7.0/apache2/php.ini:date.timezone = America/Sao_Paulo
/etc/php/7.0/cli/php.ini:date.timezone = America/Sao_Paulo
/etc/php/7.2/apache2/php.ini:date.timezone = America/Sao_Paulo
/etc/php/7.2/apache2/php.ini:date.timezone = America/Sao_Paulo
/etc/php/7.2/apache2/php.ini:date.timezone = America/Sao_Paulo
/etc/php/7.2/apache2/php.ini:date.timezone = America/Sao_Paulo
/etc/php/7.2/cli/php.ini:date.timezone = America/Sao_Paulo
/etc/php/7.2/cli/php.ini:date.timezone = America/Sao_Paulo

Image
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Help Install Cacti - Error date.timezone.

Post by Osiris »

What cacti version?
Before history, there was a paradise, now dust.
luis1660
Posts: 7
Joined: Sat Jun 25, 2022 9:32 pm

Re: Help Install Cacti - Error date.timezone.

Post by luis1660 »

Hello, Cacti version 1.2.21
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Help Install Cacti - Error date.timezone.

Post by TheWitness »

Weird, we have been having reports of this. Double check that your selected timezone is in both MariaDB and PHP.

https://www.php.net/manual/en/timezones.america.php

Which it looks like it should. So, honestly, I'm a little perplexed

Code: Select all

MariaDB [mysql]> select * from time_zone_name where name='America/Sao_Paulo';
+-------------------+--------------+
| Name              | Time_zone_id |
+-------------------+--------------+
| America/Sao_Paulo |          198 |
+-------------------+--------------+
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
luis1660
Posts: 7
Joined: Sat Jun 25, 2022 9:32 pm

Re: Help Install Cacti - Error date.timezone.

Post by luis1660 »

Good morning, I managed to fix the error, it was necessary to restart the entire machine for normalization.

Taking advantage, could you tell me where I can find the Weathermap Plugin compatible with cacti 1.2.21?

I appreciate help.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Help Install Cacti - Error date.timezone.

Post by TheWitness »

There is one version here, but there are a few others.

https://github.com/netniV/network-weath ... ree/master
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
luis1660
Posts: 7
Joined: Sat Jun 25, 2022 9:32 pm

Re: Help Install Cacti - Error date.timezone.

Post by luis1660 »

I downloaded and inserted the files in the cacti/plugins folder and it appeared to install, but it is showing the following error.

Image
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Help Install Cacti - Error date.timezone.

Post by TheWitness »

Reach out to netniV.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest