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 stopped work after some update

Discussion in 'General Discussion' started by Rodrigo Gomes, Sep 2, 2016.

Tags:
  1. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    25
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    After some update (56.xx to 58.xx) Munin stopped work. I tried to solve the problem, but without success.

    Acess level: root

    Cpanel plugins:
    clamavconnector 0.99.2-2.cp1156
    munin Version: 2.0.25-5.cp1158
    csf v9.13

    Code:
    /etc/redhat-release:CentOS Linux release 7.2.1511 (Core)
    /usr/local/cpanel/version:11.58.0.25
    /var/cpanel/envtype:kvm
    CPANEL=stable
    Server version: Apache/2.4.23 (Unix)
    Server built:   Aug 25 2016 17:44:41
    Cpanel::Easy::Apache v3.34.4 rev9999
    PHP 5.6.25 (cli) (built: Aug 25 2016 17:49:05)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd., and
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
        with Suhosin v0.9.38, Copyright (c) 2007-2015, by SektionEins GmbH
    mysql  Ver 14.14 Distrib 5.6.31, for Linux (x86_64) using  EditLine wrapper

    /var/log/munin/munin-node.log:
    Code:
    2016/09/02-19:10:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:38166" Local: "[::ffff:127.0.0.1]:4949"
    2016/09/02-19:10:09 [6821] Error output from http_loadtime:
    2016/09/02-19:10:09 [6821]     /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
    2016/09/02-19:10:09 [6821] Service 'http_loadtime' exited with status 2/0.
    2016/09/02-19:10:09 [6821] Error output from http_loadtime:
    2016/09/02-19:10:09 [6821]     /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
    2016/09/02-19:10:09 [6821] Service 'http_loadtime' exited with status 2/0.
    2016/09/02-19:15:02 CONNECT TCP Peer: "[::ffff:127.0.0.1]:40546" Local: "[::ffff:127.0.0.1]:4949"
    2016/09/02-19:15:09 [8040] Error output from http_loadtime:
    2016/09/02-19:15:09 [8040]     /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
    2016/09/02-19:15:09 [8040] Service 'http_loadtime' exited with status 2/0.
    2016/09/02-19:15:09 [8040] Error output from http_loadtime:
    2016/09/02-19:15:09 [8040]     /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
    2016/09/02-19:15:09 [8040] Service 'http_loadtime' exited with status 2/0.
    2016/09/02-19:20:02 CONNECT TCP Peer: "[::ffff:127.0.0.1]:42950" Local: "[::ffff:127.0.0.1]:4949"
    2016/09/02-19:20:11 [9318] Error output from http_loadtime:
    2016/09/02-19:20:11 [9318]     /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
    2016/09/02-19:20:11 [9318] Service 'http_loadtime' exited with status 2/0.
    2016/09/02-19:20:11 [9318] Error output from http_loadtime:
    2016/09/02-19:20:11 [9318]     /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
    2016/09/02-19:20:11 [9318] Service 'http_loadtime' exited with status 2/0.
    2016/09/02-19:25:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:45190" Local: "[::ffff:127.0.0.1]:4949"
    2016/09/02-19:25:08 [10493] Error output from http_loadtime:
    2016/09/02-19:25:08 [10493]     /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
    2016/09/02-19:25:08 [10493] Service 'http_loadtime' exited with status 2/0.
    2016/09/02-19:25:08 [10493] Error output from http_loadtime:
    2016/09/02-19:25:08 [10493]     /etc/munin/plugins/http_loadtime: line 78: syntax error: unexpected end of file
    2016/09/02-19:25:08 [10493] Service 'http_loadtime' exited with status 2/0.
    print.png

    I've tried replacing the 'http_loadtime' for the latest release version of munin, the error disappeared, but still not load the images of munin.
     
    #1 Rodrigo Gomes, Sep 2, 2016
    Last edited by a moderator: Dec 1, 2016 at 7:15 AM
  2. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    25
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Uninstalling and reinstalling did not work too.

    print.png
     
    #2 Rodrigo Gomes, Sep 3, 2016
    Last edited by a moderator: Dec 1, 2016 at 7:16 AM
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like one of the Munin plugins you have installed, http_loadtime, is not yet supported by default. Could you verify if the issue persists when disabling that plugin?

    Thank you.
     
    Rodrigo Gomes likes this.
  4. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    25
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    I have deleted all files in /etc/munin/plugins, and reinstalled munin.
    The error is gone, but still does not generate images.

    print.png


    Code:
    2016/09/05-21:56:42 Server closing!
    Process Backgrounded
    2016/09/05-21:56:42 Munin::Node::Server (type Net::Server::Fork) starting! pid(6496)
    Resolved [*]:4949 to [::]:4949, IPv6
    Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
    Binding to TCP port 4949 on host :: with IPv6
    Setting gid to "10 10"
    2016/09/05-22:00:02 CONNECT TCP Peer: "[::ffff:127.0.0.1]:55840" Local: "[::ffff:127.0.0.1]:4949"
    2016/09/05-22:05:01 CONNECT TCP Peer: "[::ffff:127.0.0.1]:57362" Local: "[::ffff:127.0.0.1]:4949"
     
    #4 Rodrigo Gomes, Sep 5, 2016
    Last edited by a moderator: Dec 1, 2016 at 7:16 AM
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    You can manually initiate the munin update process via the following commands while logged in as "root" via SSH:

    Code:
    su - munin --shell=/bin/bash
    /usr/local/cpanel/3rdparty/perl/522/bin/munin-cron
    exit
    Let us know if this helps.

    Thank you.
     
    Rodrigo Gomes likes this.
  6. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    25
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator

    I received this error:

    Code:
    # /usr/local/cpanel/3rdparty/perl/522/bin/munin-cron
    Magic number checking on storable file failed at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/5.22.1/x86_64-linux-64int/Storable.pm line 410, at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Munin/Master/Utils.pm line 279.
    Magic number checking on storable file failed at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/5.22.1/x86_64-linux-64int/Storable.pm line 410, at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Munin/Master/Utils.pm line 279.
     
  7. Rodrigo Gomes

    Rodrigo Gomes Active Member

    Joined:
    Apr 6, 2016
    Messages:
    25
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    I tryed:
    1 - I removed all plug-state files and reinstall = This error: "Magic number checking on storable file failed" not show anymore, but graphs don't work.
    2 - I run Munin just with "memory" plugin, and reset plug-state files = Don't work.
    3 - I run /usr/local/cpanel/scripts/check_cpanel_rpms --fix and resintalled munin again = Don't work.


    The only thing that worked is below:

    Thanks to the support and everyone who tried to help!
     
    #7 Rodrigo Gomes, Sep 6, 2016
    Last edited by a moderator: Sep 6, 2016
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page