The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MRTG error after upgrade to 11.32

Discussion in 'General Discussion' started by Arvy, Apr 7, 2012.

  1. Arvy

    Arvy Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    92
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Twitter:
    [SOLVED] MRTG error after upgrade to 11.32

    Hello,

    my server auto-updated to 11.32 at 2 AM. From 02:05 AM, every 10 minutes I receive an error from crontab.

    Cron <root@server>
    LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok

    Subroutine SNMPv1_Session::AF_INET6 redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 67.
    at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 594

    Any ideas?

    Thank you.
     
    #1 Arvy, Apr 7, 2012
    Last edited: Apr 7, 2012
  2. Arvy

    Arvy Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    92
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Twitter:
    Found the solution. Server (RHEL5), the latest Perl version is 5.8.8 (yum list | grep perl). There was a bug, corrected on 5.10. Since the server cannot upgrade to 5.10, there's a manual patch in a file:

    /usr/lib/perl/mrtg2/SNMP_Session.pm

    More info and patch instructions:

    #45 ([patch] ERROR Subroutine SNMPv1_Session::AF_INET6)
    Changeset 330
     
Loading...

Share This Page