You are not logged in.

#1 2010-04-21 19:05:14

voidzero
Member
Registered: 2007-06-21
Posts: 109

mrtg no longer updates, perl errors

When running mrtg, I'm getting this output:

 # LANG=C mrtg /home/mrtg/cfg/mrtg.cfg
Constant subroutine SNMP_Session::AF_INET6 redefined at /usr/share/perl5/core_perl/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at /usr/share/perl5/core_perl/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Constant subroutine SNMP_Session::PF_INET6 redefined at /usr/share/perl5/core_perl/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at /usr/share/perl5/core_perl/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149
Constant subroutine SNMPv1_Session::AF_INET6 redefined at /usr/share/perl5/core_perl/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at /usr/share/perl5/core_perl/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Constant subroutine SNMPv1_Session::PF_INET6 redefined at /usr/share/perl5/core_perl/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at /usr/share/perl5/core_perl/Exporter.pm line 67.
 at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604
Undefined subroutine &main::AF_UNSPEC called at /usr/bin/mrtg line 2147.

I figured that this was a bug because similar problems were treated as such by fedora, which I found through a google search. I filed a bugreport too, but this was marked as "not a bug" without any comment, which I thought was a bit rude. I'm still stuck with this problem, and btw I'm using IPv6 so disabling that is not an option. I'd appreciate any help I can get.

Offline

Board footer

Powered by FluxBB