I have installed newest syslog 2.1 plugin from github projest page: https://github.com/Cacti/plugin_syslog and also imported syslog.sql file into database from there.
But there is an error on my Clog I think that some of tables weren't created during import .sql file
Could anyone give me information if after syslog.sql import do you have in syslog database, table with the same mean "syslog"?
here is error:
Code: Select all
2017-05-14 19:22:16 - CMDPHP SQL Backtrace: (/plugins/syslog/syslog.php: 94 syslog_messages)(/plugins/syslog/syslog.php: 1369 syslog_db_fetch_cell)(/plugins/syslog/database.php: 72 db_fetch_cell)(/lib/database.php: 208 db_fetch_cell_prepared)(/lib/database.php: 255 cacti_debug_backtrace)
2017-05-14 19:22:16 - CMDPHP SQL Backtrace: (/plugins/syslog/syslog.php: 94 syslog_messages)(/plugins/syslog/syslog.php: 1354 get_syslog_messages)(/plugins/syslog/syslog.php: 823 syslog_db_fetch_assoc)(/plugins/syslog/database.php: 101 db_fetch_assoc)(/lib/database.php: 335 db_fetch_assoc_prepared)(/lib/database.php: 376 cacti_debug_backtrace)
2017-05-14 19:22:16 - DBCALL ERROR: SQL Assoc Failed!, Error: Table 'syslog.syslog' doesn't exist
2017-05-14 19:22:16 - DBCALL ERROR: SQL Assoc Failed!, Error:1146, SQL:"(SELECT syslog.*, syslog_programs.program, 'main' AS mtype FROM `syslog`.`syslog` AS syslog LEFT JOIN `syslog`.`syslog_programs` ON syslog.program_id=syslog_programs.program_id WHERE logtime BETWEEN '2017-05-14 18:52' AND '2017-05-14 19:22' ) UNION (SELECT syslog.*, syslog_programs.program, 'remove' AS mtype FROM `syslog`.`syslog_removed` AS syslog LEFT JOIN `syslog`.`syslog_programs` ON syslog.program_id=syslog_programs.program_id WHERE logtime BETWEEN '2017-05-14 18:52' AND '2017-05-14 19:22') ORDER BY logtime DESC LIMIT 0,30"