Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


ERROR: SQL Exec Failed "INSERT INTO mac_track_processes

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
mdurand



Joined: 06 Jul 2006
Posts: 19
Location: marseille in France

PostPosted: Wed Aug 02, 2006 2:59 am    Post subject: ERROR: SQL Exec Failed "INSERT INTO mac_track_processes Reply with quote

hello all,

i installed Mac Track and when i look at my cacti.log file i can see many errors like:

08/02/2006 09:46:21 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "INSERT INTO mac_track_processes (device_id, process_id, status, start_date) VALUES ('1', '6884', 'Running', NOW())"

08/02/2006 09:46:23 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "SELECT COUNT(*) FROM mac_track_processes WHERE device_id <> '0'"

08/02/2006 09:46:25 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "DELETE FROM mac_track_processes WHERE device_id='-1'"

i would like to known if i am the only one to have this problem
so if you have this problem just tell me
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9689
Location: MI, USA

PostPosted: Wed Aug 02, 2006 6:02 am    Post subject: Reply with quote

Please run the database_update.php script and see if these problems continue.

TheWitness
Back to top
mdurand



Joined: 06 Jul 2006
Posts: 19
Location: marseille in France

PostPosted: Wed Aug 02, 2006 6:49 am    Post subject: Reply with quote

thanks
now i don't have this ERROR anymore
Back to top
exy123



Joined: 18 Aug 2006
Posts: 9

PostPosted: Fri Aug 18, 2006 1:12 am    Post subject: still getting error Reply with quote

Hey I am still getting the SQL EXEC error after running the php update script from the command line , any other possible things I may try ?
Back to top
SyxPak



Joined: 24 Mar 2006
Posts: 9
Location: Ireland

PostPosted: Wed Nov 01, 2006 10:46 am    Post subject: Reply with quote

Ran script.

Got this output:
Quote:
root@tribble:/usr/share/cacti/site/plugins/mactrack # php database_upgrade.php
000000000010001100000000000000011100
Updating Device Types in Devices Table. Please be patient.

Warning: Invalid argument supplied for foreach() in /usr/share/cacti/site/plugins/mactrack/database_upgrade.php on line 71
Back to top
ehelm



Joined: 20 Dec 2005
Posts: 16

PostPosted: Wed Apr 25, 2007 11:52 am    Post subject: Reply with quote

I've got the same issue... mactrack 0.0.1b.
When I run 'php database_upgrade.php', I get a bunch of CMDPHP: Poller[0] ERROR: SQL Exec Failed "ALTER TABLE errors. And of course, the same CMDPHP: Poller[0] ERROR: SQL Exec Failed "UPDATE `mac_track_ip_ranges` SET ips_max=ips_current, ips_max_date=ips_current_date WHERE ips_current > ips_max" error still exists.

Anything I can try or do different?

/Eric
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9689
Location: MI, USA

PostPosted: Thu Apr 26, 2007 8:33 pm    Post subject: Reply with quote

Please use the version in SVN. It will provide significantly more joy.

Although, I have not finished it, it works and upgrades just fine and has a lot less bugs.

TheWitness

See the Cacti Web site for SVN instructions. It's something like:

svn://csv.cacti.net/var/svnroot/cacti_plugins
Back to top
ehelm



Joined: 20 Dec 2005
Posts: 16

PostPosted: Thu Apr 26, 2007 8:53 pm    Post subject: Reply with quote

I did put on the SVN version earlier today, and it did fix my issue. Oh what joy it has provided in the short amount of time. Great work! Thanks.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group