New install having issues

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

Moderators: Developers, Moderators

Post Reply
jcpolo
Posts: 6
Joined: Wed Oct 17, 2012 11:15 am

New install having issues

Post by jcpolo »

Hey there I followed a guide on how to do a completely new install and I got to the point where I'm at the web based install and I am running into some road blocks. Anyone care to take a look and let me know what they think?
Attachments
Screen Shot 2017-03-02 at 12.04.58 PM.png
Screen Shot 2017-03-02 at 12.04.58 PM.png (458.2 KiB) Viewed 740 times
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: New install having issues

Post by camerabob »

For the first error, the one preventing you from going further, execute the below from the CLI:

Code: Select all

mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root mysql -p
Additionally, you may have to go into MariaDB and execute the below as well:

Code: Select all

MariaDB [(none)]> GRANT SELECT ON mysql.time_zone_name TO cacti@localhost IDENTIFIED BY 'cacti';
MariaDB [(none)]> quit;
For the others, you should just edit the file as indicated in the window with the recommended values.
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
jcpolo
Posts: 6
Joined: Wed Oct 17, 2012 11:15 am

Re: New install having issues

Post by jcpolo »

Hey there thanks for the information. I did put these in and it had no affect.

[root@cacti ~]# mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root mysql -p
Enter password:
[root@cacti ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 107
Server version: 5.5.52-MariaDB MariaDB Server

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> GRANT SELECT ON mysql.time_zone_name TO cacti@localhost IDENTIFIED BY 'cacti';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> quit;
Bye
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: New install having issues

Post by camerabob »

Have you added your time zone into the php.ini file?

Code: Select all

# vi /etc/php.ini
Under "[DATE]", uncomment the line

Code: Select all

;date.timezone =
and change to your time zone string like

Code: Select all

date.timezone = America/New_York
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
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests