[FC] Mactrack Fatal error

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

[FC] Mactrack Fatal error

Post by Dacob9906 »

I came into work today, click on the mactrack tab in Cacti, and got this...
Fatal error: Cannot redeclare get_dns_from_ip() (previously declared in C:\Inetpub\wwwroot\cacti\plugins\Settings\include\functions.php:149) in C:\Inetpub\wwwroot\cacti\plugins\MacTrack\lib\mactrack_functions.php on line 1176

Anyone have any ideas what it really means?
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

It appears that if I disable the settings plugin... this error goes away.. Is there any known incomparability with Mactrack and Settings?
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
cd
Posts: 14
Joined: Fri Aug 17, 2007 8:41 am

Post by cd »

Yup.

Its in here someplace you just have to comment out a variable in mactrack i beleive.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Correct.

TheWitness
(mactrack author)
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?
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

Ok, any idea which line/lines I would comment out. I assume it is in the mactrack_functions.php file? I did some looking based on there error, but can't seem to figure out what I shoujld be commenting out. I can caomment out the whole "function get_dns_from_ip"... but that seems bad to me? I also did some looking on here, and I couldn't find any posts that mentioned it. Thanks for your help!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
cd
Posts: 14
Joined: Fri Aug 17, 2007 8:41 am

Post by cd »

its all described in this thread

http://forums.cacti.net/about22155-0-asc-15.html
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

Thanks guys, commenting out the entire Get_dsn_from_ip function corrected the problem... I don't get any errors with Mactrack and settings both running now. Thanks!
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
cd
Posts: 14
Joined: Fri Aug 17, 2007 8:41 am

Post by cd »

np...


now if I could get mactrack to work with the .87 beta

:D
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests