Dear All,
my environment: GNU/Linux 4.15 Ubuntu ; PHP 7.2.19-0ubuntu0.18.04.1 ; Cacti 1.2.5 ; Mactrack 4.4 ; MySQL 5.7.17
So far almost everything is working, except Mactrack doesn't show IP's. But I see repeating in the logs these red error:
08/05/2019 11:25:51 - CMDPHP SQL Backtrace: (/plugins/mactrack/mactrack_scanner.php[111]:db_process_add(), /plugins/mactrack/lib/mactrack_functions.php[2104]:db_execute_prepared())
08/05/2019 11:25:51 - CMDPHP ERROR: A DB Exec Failed!, Error: Duplicate entry '4' for key 'PRIMARY'
08/05/2019 11:25:51 - CMDPHP SQL Backtrace: (/plugins/mactrack/mactrack_scanner.php[111]:db_process_add(), /plugins/mactrack/lib/mactrack_functions.php[2104]:db_execute_prepared())
08/05/2019 11:25:51 - CMDPHP ERROR: A DB Exec Failed!, Error: Duplicate entry '3' for key 'PRIMARY'
The questions are, which DB is it ? Is there a way to turn on more logging information ? And how to fix it ?
Kind regards
Hans
CMDPHP ERROR: A DB Exec Failed!, Error: Duplicate entry '4'
Moderators: Developers, Moderators
Re: CMDPHP ERROR: A DB Exec Failed!, Error: Duplicate entry '4'
This should be reported on MacTrack's GitHub repo as it is a bug.
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