upgrade problem to cacti to 1.0.0
Moderators: Developers, Moderators
upgrade problem to cacti to 1.0.0
Hello, I have strange problem with upgrade process.
ERROR: Your MySQL TimeZone database is not populated. Please populate this database before proceeding.
please see attached file
ERROR: Your MySQL TimeZone database is not populated. Please populate this database before proceeding.
please see attached file
- Attachments
-
- Ashampoo_Snap_2017.02.01_18h40m12s_008_Cacti Server Installation-Upgrade - Mozilla Firefox.png (175.09 KiB) Viewed 25235 times
Re: upgrade problem to cacti to 1.0.0
I have searched and found solution.
if anyone has same problem please try.
vi /etc/my.cnf and add bellow lines.
[mysqld]
default_time_zone=Europe/Paris
Source: https://mariadb.com/kb/en/mariadb/time-zones/
if anyone has same problem please try.
vi /etc/my.cnf and add bellow lines.
[mysqld]
default_time_zone=Europe/Paris
Source: https://mariadb.com/kb/en/mariadb/time-zones/
Re: upgrade problem to cacti to 1.0.0
Check the install instructions. The solution is not what you indicated, but to import the time zone database and grant the cacti user select access to the time_zone_name table.
Before history, there was a paradise, now dust.
Re: upgrade problem to cacti to 1.0.0
cheytac wrote:I have searched and found solution.
if anyone has same problem please try.
vi /etc/my.cnf and add bellow lines.
[mysqld]
default_time_zone=Europe/Paris
Source: https://mariadb.com/kb/en/mariadb/time-zones/
can you help me ,
I add default_time_zone=Europe/Paris(or default_time_zone='Asia/Shanghai') to my.cnf
but my mysql don't start,
mysql version 5.6.35
Re: upgrade problem to cacti to 1.0.0
I have solve this problem
# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p mysql
# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root -p mysql
Re: upgrade problem to cacti to 1.0.0
I also have the same problem. Aparently I updated my server ad this is what I got
ERROR: Your Cacti database login account does not have access to the MySQL TimeZone database. Please provide the Cacti database account "select" access to the "time_zone_name" table in the "mysql" database, and populate MySQL's TimeZone information before proceeding.
I know this is something to do with my login but I can't quit figure out how to go about it.
ERROR: Your Cacti database login account does not have access to the MySQL TimeZone database. Please provide the Cacti database account "select" access to the "time_zone_name" table in the "mysql" database, and populate MySQL's TimeZone information before proceeding.
I know this is something to do with my login but I can't quit figure out how to go about it.
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: upgrade problem to cacti to 1.0.0
Log into SQL and run the command: GRANT SELECT ON mysql.time_zone_name TO cacti@localhost IDENTIFIED BY 'cacti';
See below
[root@CBcacti]# mysql -u root -p
Enter password: YOUR-PASSWORD-HERE <--****replace with your own password, of course****
MariaDB [(none)]> GRANT SELECT ON mysql.time_zone_name TO cacti@localhost IDENTIFIED BY 'cacti';
MariaDB [(none)]> FLUSH privileges;
MariaDB [(none)]> quit;
See below
[root@CBcacti]# mysql -u root -p
Enter password: YOUR-PASSWORD-HERE <--****replace with your own password, of course****
MariaDB [(none)]> GRANT SELECT ON mysql.time_zone_name TO cacti@localhost IDENTIFIED BY 'cacti';
MariaDB [(none)]> FLUSH privileges;
MariaDB [(none)]> quit;
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
-
- Posts: 2
- Joined: Tue Apr 11, 2017 10:36 am
Re: upgrade problem to cacti to 1.0.0
That fixed it!camerabob wrote: ↑Fri Mar 17, 2017 2:28 pm Log into SQL and run the command: GRANT SELECT ON mysql.time_zone_name TO cacti@localhost IDENTIFIED BY 'cacti';
See below
[root@CBcacti]# mysql -u root -p
Enter password: YOUR-PASSWORD-HERE <--****replace with your own password, of course****
MariaDB [(none)]> GRANT SELECT ON mysql.time_zone_name TO cacti@localhost IDENTIFIED BY 'cacti';
MariaDB [(none)]> FLUSH privileges;
MariaDB [(none)]> quit;
Now I have the "Your MYSQL TimeZone database is not populated" issue. Thanks!
Re: upgrade problem to cacti to 1.0.0
Things like this are covered in the documentation such as: Requirements and General Installation - MySQL
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 1 guest