I'd really appreciate some help. I have spent the two days using Thomas Urban's book to try and install a fresh copy of Cacti 0.8.7g and also the new 2.9 PIA from http://www.cacti.net/downloads/pia as detailed in the book. I used a fresh copy of RedHat 5.6 as well as a fresh install of MySQL . Cacti 0.8.7g was installed as normal and functions correctly. All patches were applied.
Next (as per page 168) I ran the patch command for the PIA, copied the poller.php and the data_sources.php and imported the pa.sql. I also checked that the $url_path is set to "/cacti/". Next I set the realm perms for the plugin management. So far all fine. I then download the settings-v0.7-1.tgz & the thold-latest.tgz files, and uncompress them in the plugins dir & set a sym link to thold. the Plugins appear and I install them as normal and all looks good. Thold realm permissions are also all checked
However when I then select the Thold tab I can see the normal thold text but all the links to the blue tabs are broken and I see only text at the top of the screen and no normal blue tabs I have reinstalled everything completely from scratch 4 times now and getting a little frustrated so would appreciate some guidance. The last symptom I have is that each time I click on the Thold tab I get an error in the log file saying that the "SELECT * FROM thold_data..." failed.
I looked inside the database and that table is empty.
Code: Select all
| thold_data |
| thold_template |
| user_auth |
| user_auth_perms |
| user_auth_realm |
| user_log |
| version |
+--------------------------------+
58 rows in set (0.00 sec)
mysql> SELECT * FROM thold_data LEFT JOIN user_auth_perms ON ((thold_data.graph_id=user_auth_perms.item_id and user_auth_perms.type=1 and user_auth_perms.user_id=1) OR (thold_data.host_id=user_auth_perms.item_id and user_auth_perms.type=3 and user_auth_perms.user_id=1) OR (thold_data.graph_template=user_auth_perms.item_id and user_auth_perms.type=4 and user_auth_perms.user_id=1)) WHERE thold_data.thold_alert!=0 AND ((user_auth_perms.type != 1 OR user_auth_perms.type is null) AND ((user_auth_perms.type != 3) OR (user_auth_perms.type is null)) AND ((user_auth_perms.type != 4) OR (user_auth_perms.type is null))) ORDER BY name ASC LIMIT 0;SELECT * FROM thold_data
Empty set (0.00 sec)
-> ;
Empty set (0.00 sec)
mysql> SELECT * FROM thold_data;
Empty set (0.00 sec)
mysql> SELECT * FROM thold_template;
Empty set (0.00 sec)
I have searched the forums and see others have had this problem but it seems to be related to old references being left in the database or not having imported the pa.sql. hopefully I have given you enough info to pinpoint my issue. I REALLy want to move on with this ..