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, please help

Discussion in 'General Discussion' started by rulereric, Jul 13, 2008.

  1. rulereric

    rulereric Registered

    Joined:
    Jul 13, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    WHM INFO:
    WHM 11.23.2 cPanel 11.23.4-R26138
    CENTOS Enterprise 5.2 i686 on standard - WHM X v3.1.0


    Munin not displaying
    Code:
    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.
    whostmgrd/11.23.2 Server at
    
    
    Searched google for possible fixes.

    Example:
    http://piyecarane.wordpress.com/2008/06/25/install-munin-rrdtool-on-cpanel-centos5/
    Code:
    root@server1 [/]# rpm -ivh rrdtool-1.2.23-1.el5.rf.x86_64.rpm rrdtool-devel-1.2.23-1.el5.rf.x86_64.rpm perl-rrdtool-1.2.23-1.el5.rf.x86_64.rpm
    warning: rrdtool-1.2.23-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
    error: Failed dependencies:
            libart_lgpl_2.so.2()(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libc.so.6()(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libc.so.6(GLIBC_2.2.5)(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libc.so.6(GLIBC_2.3)(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libc.so.6(GLIBC_2.3.4)(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libc.so.6(GLIBC_2.4)(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libfreetype.so.6()(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libm.so.6()(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libm.so.6(GLIBC_2.2.5)(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libpng12.so.0()(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libpng12.so.0(PNG12_0)(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libpthread.so.0()(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libz.so.1()(64bit) is needed by rrdtool-1.2.23-1.el5.rf.x86_64
            libc.so.6()(64bit) is needed by perl-rrdtool-1.2.23-1.el5.rf.x86_64
            libc.so.6(GLIBC_2.2.5)(64bit) is needed by perl-rrdtool-1.2.23-1.el5.rf.x86_64
            libm.so.6()(64bit) is needed by perl-rrdtool-1.2.23-1.el5.rf.x86_64
    



    http://forums.cpanel.net/showthread.php?t=84449&highlight=RRDs.pm
    Also tried:
    Code:
    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
    
    Error result
    Code:
    root@server1 [/var/www/html/munin/cgi]# /usr/bin/munin-cron
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 267.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 267.
    Compilation failed in require at /usr/share/munin/munin-update line 167.
    BEGIN failed--compilation aborted at /usr/share/munin/munin-update line 167.
    Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 267.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 267.
    Compilation failed in require at /usr/share/munin/munin-limits line 118.
    BEGIN failed--compilation aborted at /usr/share/munin/munin-limits line 118.
    You are running this program as root, which is neither smart nor necessary.
    If you really want to run it as root, use the --force-root option. Else, run
    it as the user "munin". Aborting.
    
    Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 267.
    BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 267.
    Compilation failed in require at /usr/share/munin/munin-html line 182.
    BEGIN failed--compilation aborted at /usr/share/munin/munin-html line 182.
    

    http://www.webhostingtalk.com/showthread.php?t=703307
    I did
    Code:
    mv /usr/local/cpanel/3rdparty/bin/rrdtool /usr/local/cpanel/3rdparty/bin/rrdtool.bak
    
    /scripts/rrdtoolinstall --force
    
    It just removed the error RRDs.pm from the whm installer.
    Installer output:
    Code:
    Starting Munin Node: [  OK  ]
    Use of uninitialized value in scalar chomp at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 471.
    Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 473.
    Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/vendor_perl/5.8.8/Munin.pm line 478.
    Install Complete (munin 1.2.4)
    Done
    
    munin-graph.log
    Code:
    Jul 13 17:35:01 - Starting munin-graph
    Jul 13 17:35:01 - Processing domain: **********.com
    Jul 13 17:35:01 - Processed node: server1.**********.com (0.00 sec)
    Jul 13 17:35:01 - Processed domain: **********.com (0.00 sec)
    Jul 13 17:35:01 - Munin-graph finished (0.00 sec)
    Jul 13 17:35:02 - Starting munin-graph
    Jul 13 17:35:02 - Processing domain: **********.com
    Jul 13 17:35:02 - Processed node: server1.**********.com (0.00 sec)
    Jul 13 17:35:02 - Processed domain: **********.com (0.00 sec)
    Jul 13 17:35:02 - Munin-graph finished (0.00 sec)
    Jul 13 17:40:01 - Starting munin-graph
    Jul 13 17:40:01 - Processing domain: **********.com
    Jul 13 17:40:01 - Processed node: server1.**********.com (0.00 sec)
    Jul 13 17:40:01 - Processed domain: **********.com (0.00 sec)
    Jul 13 17:40:01 - Munin-graph finished (0.00 sec)
    Jul 13 17:45:01 - Starting munin-graph
    Jul 13 17:45:01 - Processing domain: **********.com
    Jul 13 17:45:01 - Processed node: server1.**********.com (0.00 sec)
    Jul 13 17:45:01 - Processed domain: **********.com (0.00 sec)
    Jul 13 17:45:01 - Munin-graph finished (0.00 sec)
    Jul 13 17:49:52 - Starting munin-graph
    Jul 13 17:49:52 - Processing domain: **********.com
    Jul 13 17:49:52 - Processed node: server1.**********.com (0.00 sec)
    Jul 13 17:49:52 - Processed domain: **********.com (0.00 sec)
    Jul 13 17:49:52 - Munin-graph finished (0.00 sec)
    Jul 13 17:50:01 - Starting munin-graph
    Jul 13 17:50:01 - Processing domain: **********.com
    Jul 13 17:50:01 - Processed node: server1.**********.com (0.00 sec)
    Jul 13 17:50:01 - Processed domain: **********.com (0.00 sec)
    Jul 13 17:50:01 - Munin-graph finished (0.00 sec)
    
    munin-node.log
    Code:
    Process Backgrounded
    2008/07/13-17:35:00 MyPackage (type Net::Server::Fork) starting! pid(19716)
    Binding to TCP port 4949 on host *
    Setting gid to "10 10"
    Use of uninitialized value in eval {block} exit at /usr/sbin/munin-node line 452, <CHILD> line 69.
    2008/07/13-17:49:33 Server closing!
    Process Backgrounded
    2008/07/13-17:49:51 MyPackage (type Net::Server::Fork) starting! pid(8168)
    Binding to TCP port 4949 on host *
    Setting gid to "10 10"
    Use of uninitialized value in eval {block} exit at /usr/sbin/munin-node line 452, <CHILD> line 69.
    
    Thanks in advance.
     
  2. rulereric

    rulereric Registered

    Joined:
    Jul 13, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Fixed it myself. cpanel is failing on this issue. I guess no one is using centos5 for cpanel and munin yet.

    Solution:
    root@server1 [/]# rpm -ivh perl-rrdtool-1.2.23-1.el5.rf.i386.rpm rrdtool-1.2.23-1.el5.rf.i386.rpm
     
  3. McDuck

    McDuck Member

    Joined:
    Dec 15, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    wget http://dag.wieers.com/rpm/packages/rrdtool/perl-rrdtool-1.2.23-1.el5.rf.i386.rpm
    wget http://dag.wieers.com/rpm/packages/rrdtool/rrdtool-devel-1.2.23-1.el5.rf.i386.rpm
    wget http://dag.wieers.com/rpm/packages/rrdtool/rrdtool-1.2.23-1.el5.rf.i386.rpm
    rpm -ivh rrdtool-1.2.23-1.el5.rf.i386.rpm rrdtool-devel-1.2.23-1.el5.rf.i386.rpm perl-rrdtool-1.2.23-1.el5.rf.i386.rpm

    Quick fix for it
     
  4. resellertr

    resellertr Member

    Joined:
    Feb 16, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page