Hello,
I am issuing a problem with date.timezone php.
I am installing cacti via vcenter on ubuntu 20.4 or 22 and getting some error. I am using https://www.youtube.com/watch?v=u6-Y7AEI1MQ guide and after instalation I'm getting an error which looks like as in attachment
I have tried to set up date.timezone for UTC in
/etc/php/7.0/cli/php.ini
/etc/php/7.0/apache2/php.ini
but the problem still exists even after reloading MariaDB, apache, reboot entire vm.
the screenshoot is taken from Google, i have only a problem with data.timezone.
Same thing happens on my own PC with VirtualBOX and ubuntu 22.04
Can someone help ?
Thanks in advance!
Valid timezone while instalation
Moderators: Developers, Moderators
Valid timezone while instalation
- Attachments
-
- cacti2.JPG (91.65 KiB) Viewed 1019 times
-
- cacti.png (59.14 KiB) Viewed 1022 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Valid timezone while instalation
After you make changes to the two phpX.ini file, you need to restart your web service. Then refresh the page using the refresh link on the page, or by pressing F5. If that does not catch it, you may need to upgrade to upgrade to 1.2.21. Ubuntu has two phpX.ini files in /etc
Code: Select all
find /etc -name php\*.ini
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?
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?
Re: Valid timezone while instalation
Thank you for a fast reply!
Restarting apache doesn't help.
I heave just only two files:
/etc/php/8.1/cli/php.ini
/etc/php/8.1/apache2/php.ini
and phpX doesn't exist.
I have a MariaDB 10.6 and i've seen that cacti support up to 10.2 am i right? I am not sure how old is this information but could it be because of it?
Restarting apache doesn't help.
I heave just only two files:
/etc/php/8.1/cli/php.ini
/etc/php/8.1/apache2/php.ini
and phpX doesn't exist.
I have a MariaDB 10.6 and i've seen that cacti support up to 10.2 am i right? I am not sure how old is this information but could it be because of it?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Valid timezone while instalation
MariaDB 10.6 is not a problem for Cacti. I know of one very large install using today without any issues. If you are not at 1.2.21, get there. One last question, what is your Timezone? Is it IST?
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Valid timezone while instalation
Lastly, make sure you TimeZone is a recognized on. PHP publishes supported timezone names.
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?
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?
Re: Valid timezone while instalation
Naah... i forgot to delete ; in front of date.timezone... sorry for bothering, but I haven't seen it on putty.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Valid timezone while instalation
Cool.
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests