Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    158
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    158
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice