Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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.
Last edited by Skepticalme on Mon Jan 16, 2023 6:16 pm, edited 1 time in total.
That typically means you already have a password set. We have no idea what OS you are running, so you might try googling your distro/OS and mysql root password and see if they are auto setting one and saving it somewhere.
cigamit wrote: ↑Fri Jan 13, 2023 1:36 pm
That typically means you already have a password set. We have no idea what OS you are running, so you might try googling your distro/OS and mysql root password and see if they are auto setting one and saving it somewhere.
I'm using Nems OS 1.5.2 which is a version of Raspbian 10
CACTI 1.2.23
MariaDB 10.3.36 database server
Beyond that, I can't help you much. It seems that NEMS is really trying to make itself an appliance and not as a proper OS that they want you installing additional things on.
nemsadmin@nems:~ $ sudo mysql -p
[sudo] password for nemsadmin: MyPassword
Enter password: nagiosadmin
Welcome to the MariaDB monitor.
Commands end with ; or \g.
Your MariaDB connection id is 975
Server version: 10.3.36-MariaDB-0+deb10u2 Raspbian 10
Copyright (c) 2000, 2018, Oracle, Maria Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'Ic' to clear the current input statement.
MariaDB [ (none) ]>
So, I have this issue with Cacti, and I'm wondering how I can edit "time_zone_name", and if the command
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.
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -p
Do you think it might be worth me reinstalling the OS and starting again? Because I'm pretty sure I made a mistake by running some type of 'secure installation' script at some stage. I remember alternating some type of security settings in nems thinking it was necessary. Someone else pointed out that some type of security setting could have been altered.
EDIT: Disregard this as I have decided to reinstall the OS and start again
admin@nems:~ $ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql -p
Enter password:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
admin@nems:~ $ sudo mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql mysql -p
Enter password:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
admin@nems:~ $ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
Enter password:
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.