Upgrade to 2.6 doesn't work

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
philipz
Cacti User
Posts: 100
Joined: Tue Sep 22, 2009 7:46 am

Upgrade to 2.6 doesn't work

Post by philipz »

I have succesfully installed Mactrack 1.1, but if I replace the content of 1.1 with 2.6 I don't see the plugin in Plugin management. Replacing the 2.6 items with 1.1 items shows the plugin again in cacti.

I have latest PIA installed; when running the database upgrade php file, I get an "Unable to load dynamic library '/usr/local/lib/php/20060613/php_gd2.dll'" error, telling me to enable the plugin from the GUI. Problem is - it doesn't show in the GUI.


Any thoughts?
philipz
Cacti User
Posts: 100
Joined: Tue Sep 22, 2009 7:46 am

Post by philipz »

The php_gd2.dll error was not related. This has been fixed but when I want to execute the database_upgrade.php it still says "This function is depricated. Please goto Plugin Management from the WebUI to Upgrade". And it still does not show up in the UI.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

How about a copy of someones Cacti.log after the upgrade so I can see what is broken.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
m00tpoint
Posts: 29
Joined: Mon Jul 07, 2008 11:03 pm
Location: Chicago, IL, USA

Post by m00tpoint »

Make sure you remove mactrack from the list of plugins in config.php.

doc
philipz
Cacti User
Posts: 100
Joined: Tue Sep 22, 2009 7:46 am

Post by philipz »

I did a fresh install of 0.8.7g and installed Mactrack with the new PIA and now everything is working, thanks!
spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

I'm having weird stuff with Mactrack too.

Running 0.8.7g + PIA 2.8.

MacTrack installs ok, seems to be running. I have Tracking tab in settings but no MacTrack tab in main.

I'm getting an error every minute:

MACTRACK: Poller[0] ERROR: Can not start MAC Tracking process. There is already one in progress

Reinstalling fresh would be a pain for me, so how do I troubleshoot?

Thanks in advance!
Last edited by spoonwzd on Fri Jul 23, 2010 10:49 am, edited 1 time in total.
spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

Oops. Double post.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Code: Select all

truncate mac_track_processes
Also, another thing to do is:

Code: Select all

php -q poller_mactrack.php --force
TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

I feel it may be worth mentioning I'm using Mactrack 2.6-1.

Code: Select all

[root@localhost mactrack]# truncate mac_track_processes
-bash: truncate: command not found
[root@localhost mactrack]# php -q poller_mactrack.php --force
08/06/2010 11:14:25 AM - SYSTEM MACTRACK STATS: Time:0.0036 ConcurrentProcesses:7 Devices:0 
[root@localhost mactrack]# 
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Obviously you don't know much about databases.

Code: Select all

mysql cacti
> truncate table syslog_processes;
> quit;[/quote]

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

You are indeed correct. i actually like it that way, despite looking stupid every now and then. :)

Code: Select all

truncate mac_track_processes;
Query OK, 0 rows affected (0.00 sec)
I've just updated to Mactrack 2.8 from SVN and its made no difference either - plugin appears in plugin management and settings, but no mactrack tab and no tracking menu on the left in Cacti.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You have to give yourself permissions to be able to see those tabs and navigation menu. You will over time 'learn' despite yourself.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

Permissions sorted it - thanks - and yes, I'm finding that. Making notes is key to future success. :)
rogerxyz
Posts: 3
Joined: Thu Aug 12, 2010 10:39 pm

Post by rogerxyz »

hi,philipz:
Could you share the success procedure of installation?
and what kind of operation system are using?
thanks a lot.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests