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.

Munin error after install

Discussion in 'General Discussion' started by Arvy, Jun 26, 2008.

  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:
    Hello,

    after install Munion, when I click "Munin Service Monitor " I get:

    ----------------
    Not Found
    The server was not able to find the document (./munin/index.html) you requested.
    Please check the url and try again. You might also want to report this
    error to your webhost.
    ----------------

    if I run munin-cgi-graph:

    Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at ./munin-cgi-graph line 37.
    BEGIN failed--compilation aborted at ./munin-cgi-graph line 37.

    ----------------

    I found the file here:

    root@server [/var/www/html/munin/cgi]# locate RRDs.pm
    /usr/local/cpanel/3rdparty/lib/perl/5.8.8/i686-linux/RRDs.pm

    ----------------

    I don't know what to do.

    Can you help me?

    Thank you,
    Roger
     
  2. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    16
    Dear Client:

    I was unable to replicate your issue, Munin seems to work accordingly on a new
    installation:
    #####
    Configuring Plugins...Done
    Starting Munin Node: [ OK ]
    Install Complete (munin 1.2.4)
    Done
    Process Complete
    #####


    root@c4release-1 [/usr/local/cpanel/3rdparty/lib/perl/5.8.8]#
    /etc/rc.d/init.d/munin-node start
    Starting Munin Node: Pid_file already exists for running process (6832)...
    aborting
    [ OK ]


    Overview
    * cpanel.com
    o c4release-1.cpanel.com :: [ Apache Disk Exim Mysql Network Other
    Processes Sensors System ]
    This page was generated by Munin version 1.2.4 at 2008-06-27 T 08:50:10







    I would suggest opening a support ticket in order to troubleshoot your issue.
     
  3. 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:
    Hello Alex,

    I think that the problem is not in Munin. I tried to run "MRTG Totals", that is a PL script and I got a similar error.

    I'm not sure, but appears that the "INC" path for Perl doesnt have the path "/usr/local/cpanel/3rdparty/lib/perl/5.8.8/i686-linux" to search on.

    Any idea how to add the path? I dont know anything about Perl :(

    -----------------

    MRTG TOTALS:

    root@server [/usr/lib/perl5/5.8.8/i686-linux]# perl /root/mrtg/mrtg_total.pl /etc/mrtg/mrtg.cfg

    Can't locate GD/Graph/bars3d.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /root/mrtg/mrtg_total.pl line 155.
    BEGIN failed--compilation aborted at /root/mrtg/mrtg_total.pl line 155.
     
  4. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    16
    It is a bit complicated to diagnose it without access to your server.

    I would suggest opening a support ticket.
     
  5. 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:
    Ok, thank you, Í'll do this.
     
  6. gkanks

    gkanks Registered

    Joined:
    Jul 28, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Please post a message if a solution is found as we are experiencing the same issue.
     
  7. 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 (without need cPanel support team), but I dont have a technical explanation... I just uninstalled Munin, ran "/scripts/upcp" and rebooted the machine. Munin reinstalled. The error gone but Munin started to show a blank page. So I uninstalled Munin again and deleted the folders:

    /home/munin
    /var/log/munin
    /var/lib/munin

    Reinstalled. Now it's fine.

    About MRTG Totals, my mistake. I forgot to install GD-* from CPAN.org:
    http://www.geocities.com/josef_wendel/mrtg_total.html
     
    #7 Arvy, Jun 28, 2008
    Last edited: Jun 28, 2008
Loading...

Share This Page