Skip to main content

WHM DNS Only - munin install error

Comments

11 comments

  • zye

    [2016-02-23 16:26:39 +0100] warn [mainipcheck]
    0
  • cPanelMichael
    Hello :) Could you verify if you made any other attempts to install Munin in the past? Please post the output from:
    rpm -qa|grep munin
    Also, please verify which method you are now using to install Munin. Thank you.
    0
  • zye
    i installed whn dns only on a centos 7.2 vps - right after setting up dns cluster i tried to install munin but in failed CENTOS 7.2 x86_64 standard WHM 11.52.3 (build 1) rpm -qa|grep munin cpanel-perl-514-munin-1.4.7-2.cp1150.x86_64
    0
  • syslint
    You are running cpanel dns only right ? The error logs show no mailman user available in your server. Can you confirm it from /etc/password
    ===================== [2016-02-23 16:11:20 +0100] [2016-02-23 16:11:20 +0100] die [build_munin_conf] setuids failed: Could not resolve UID or GID (mailman mailman) at /usr/local/cpanel/Cpanel/AccessIds/SetUids.pm line 35. [2016-02-23 16:11:20 +0100] Cpanel::AccessIds::SetUids::setuids("mailman", "mailman") called at /usr/local/cpanel/bin/build_munin_conf line 42 [2016-02-23 16:11:20 +0100] exit level [die] [pid=10183] (setuids failed: Could not resolve UID or GID (mailman mailman))
    0
  • zye
    You are running cpanel dns only right ? The error logs show no mailman user available in your server. Can you confirm it from /etc/password
    ===================== [2016-02-23 16:11:20 +0100] [2016-02-23 16:11:20 +0100] die [build_munin_conf] setuids failed: Could not resolve UID or GID (mailman mailman) at /usr/local/cpanel/Cpanel/AccessIds/SetUids.pm line 35. [2016-02-23 16:11:20 +0100] Cpanel::AccessIds::SetUids::setuids("mailman", "mailman") called at /usr/local/cpanel/bin/build_munin_conf line 42 [2016-02-23 16:11:20 +0100] exit level [die] [pid=10183] (setuids failed: Could not resolve UID or GID (mailman mailman))

    yes no user mailman inside /etc/passwd
    0
  • cPanelMichael
    i get an 404 error when trying to visit munin link

    Hello :) Please let us know the output from the following command:
    /etc/init.d/munin-node restart
    Is the page still displaying a 404 page? Typically, it's simply a matter of waiting for the initial munin cron job to run. Thank you.
    0
  • zye
    root@otto [~]# /etc/init.d/munin-node restart Restarting munin-node (via systemctl): [ OK ] still 404 error
    0
  • cPanelMichael
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • zye
    Support Request ID is: 7548117
    0
  • zye
    issue solved: Hello, I have isolated the reason for this issue. The munin service configured for centos 7 does not start if it is a dns only server. This is aused by this line in the service file, /etc/systemd/system/munin-node.service: ConditionPathExists=!/var/cpanel/dnsonly This causes munin-node not to start, which is required by the munin service for basically all operations. A workaround is removing this line from the service file, allows it to work again.
    0
  • cPanelMichael
    Hello, CPANEL-6171 is open to address an issue where munin-node cannot start on cPanel DNS-Only servers using CentOS 7. I'll update this thread with more information once a resolution is complete, but in the meantime, the temporary workaround is to remove 'ConditionPathExists=!/var/cpanel/dnsonly' from /etc/systemd/system/munin-node.service, then restart munin-node via 'systemctl start munin-node'. Thank you.
    0

Please sign in to leave a comment.