[FC] Mactrack Fatal error
Moderators: Developers, Moderators
[FC] Mactrack Fatal error
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?
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)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Correct.
TheWitness
(mactrack author)
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?
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?
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)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
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)
Pullman School District
jbergman@psd267.wednet.edu
Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
Who is online
Users browsing this forum: No registered users and 3 guests