Which version of MRTG are you using?  Make sure you have the latest, if you're 
going to use Perl 5.10 -- there were some issues with older versions of MRTG.
Also, when you install, make sure to eliminate all older versions of 
SNMP_Session and BER.
Steve

________________________________
From: [email protected] 
[[email protected]] on behalf of Raheel 
Hassan [[email protected]]
Sent: Saturday, 5 June 2010 3:01 a.m.
To: [email protected]
Subject: [mrtg] Problems in installing MRTG.

HI,

I am trying to install MRTG on Fedora Core 12, every steps goes well but i am 
facing problems here. Could any one can give me any clue how can i fix it.

[r...@dsoc2 bin]# env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Constant subroutine SNMP_Session::AF_INET6 redefined at 
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at 
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 149
Constant subroutine SNMP_Session::PF_INET6 redefined at 
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 149
Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at 
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 149
Constant subroutine SNMPv1_Session::AF_INET6 redefined at 
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 604
Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at 
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 604
Constant subroutine SNMPv1_Session::PF_INET6 redefined at 
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 604
Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at 
/usr/lib/perl5/5.10.0/Exporter.pm line 66.
 at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 604


Regards,
Raheel

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to