Cacti / plugin_mactrack

Mactrack Plugin for Cacti
GNU General Public License v2.0
12 stars 25 forks source link

CMDPHP ERROR: A DB Row Failed!, Error: Table 'cacti.mac_track_arp' doesn't exist #173

Closed rcsmota closed 2 years ago

rcsmota commented 2 years ago

I'm running a fresh installation of Cacti 1.2.21 with Mactrack 4.4 on Debian 11 and get this logs.

image

Look at mysql really don't exist a mac_track_arp table.

image

Can I add manually the table on cacti data base?

Thanks

TheWitness commented 2 years ago

It's likely that your SQL mode was not correct. How did you install the tables?

TheWitness commented 2 years ago

Can you please update to the latest develop. I don't see that table anywhere, which is odd. What line of what file was that error. Need more information.

rcsmota commented 2 years ago

Hi @TheWitness. The tables was installed when I install plugin. Download on Github, unzip on /plugins/, rename and install via GUI.

The full messages are, it repeats itself several times

CMDPHP SQL Backtrace: (/plugins/mactrack/poller_mactrack.php[229]:collect_mactrack_data(), /plugins/mactrack/poller_mactrack.php[614]:db_fetch_row(), /lib/database.php[532]:db_fetch_row_prepared(), /lib/database.php[552]:db_execute_prepared()) CMDPHP ERROR: A DB Row Failed!, Error: Table 'cacti.mac_track_arp' doesn't exist

image

I think is on last developer version.

image

what else can i do to help?

Thanks.

TheWitness commented 2 years ago

Use the latest develop version.

ralex75 commented 2 years ago

Hi, I have same issue: 02-07-2022 11:35:10 - CMDPHP ERROR: A DB Row Failed!, Error: Table 'cacti.mac_track_arp' doesn't exist I have downloaded latest develop version .zip. In database.php no code line to create mac_track_arp table. Cacti version 1.2.19.

TheWitness commented 2 years ago

This has been resolved now. You can test the latest github.

rcsmota commented 2 years ago

Hi @TheWitness.

It's all working now. Thank you very much.