WHM DNS Only - munin install error
i am not able to install munin on a vps whm dns only server
i get an 404 error when trying to visit munin link
can you please help as i want to setup munin dns stats - to see whats going on...
heres the install log
2016-02-23 16:11:12 +0100]
[2016-02-23 16:11:12 +0100] Problems were detected with cPanel-provided files which are RPM controlled.
[2016-02-23 16:11:12 +0100] If you did not make these changes intentionally, you can correct them by running:
[2016-02-23 16:11:12 +0100]
[2016-02-23 16:11:12 +0100] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2016-02-23 16:11:12 +0100] The following RPMs are missing from your system:
[2016-02-23 16:11:12 +0100] cpanel-perl-514-Cache-Cache-1.06-1.cp1146
[2016-02-23 16:11:12 +0100] cpanel-perl-514-munin-1.4.7-2.cp1150
[2016-02-23 16:11:12 +0100] Removing 0 broken rpms:
[2016-02-23 16:11:12 +0100] rpm: no packages given for erase
[2016-02-23 16:11:13 +0100] Downloading http://httpupdate.cpanel.net/RPM/11.46/centos/7/x86_64/rpm.sha512
[2016-02-23 16:11:14 +0100] Successfully verified signature for cpanel (key types: release).
[2016-02-23 16:11:14 +0100] Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/7/x86_64/rpm.sha512
[2016-02-23 16:11:14 +0100] Successfully verified signature for cpanel (key types: release).
[2016-02-23 16:11:14 +0100] Downloading http://httpupdate.cpanel.net/RPM/11.46/centos/7/x86_64/cpanel-perl-514-Cache-Cache-1.06-1.cp1146.x86_64.rpm
[2016-02-23 16:11:14 +0100] Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/7/x86_64/cpanel-perl-514-munin-1.4.7-2.cp1150.x86_64.rpm
[2016-02-23 16:11:14 +0100] Disabling service monitoring.
[2016-02-23 16:11:16 +0100] Hooks system enabled.
[2016-02-23 16:11:16 +0100] Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
[2016-02-23 16:11:16 +0100] All required 'pre' hooks have been run
[2016-02-23 16:11:16 +0100] No RPMS need to be uninstalled
[2016-02-23 16:11:16 +0100] Installing new rpms: cpanel-perl-514-Cache-Cache-1.06-1.cp1146.x86_64.rpm cpanel-perl-514-munin-1.4.7-2.cp1150.x86_64.rpm
[2016-02-23 16:11:16 +0100] Preparing packages...
[2016-02-23 16:11:18 +0100] cpanel-perl-514-Cache-Cache-1.06-1.cp1146.x86_64
[2016-02-23 16:11:18 +0100] - checking munin user and group
[2016-02-23 16:11:18 +0100] No filesystems with quota detected.
[2016-02-23 16:11:18 +0100] User 'munin' already exists. ( permissions, owner and quota reset )
[2016-02-23 16:11:18 +0100] groupadd: group 'munin' already exists
[2016-02-23 16:11:18 +0100] useradd: user 'munin' already exists
[2016-02-23 16:11:18 +0100] cpanel-perl-514-munin-1.4.7-2.cp1150.x86_64
[2016-02-23 16:11:20 +0100] InnoDB access granted ok.
[2016-02-23 16:11:20 +0100] enable was successful
[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))
[2016-02-23 16:11:23 +0100] Restarting munin-node (via systemctl): [ OK ]
[2016-02-23 16:11:23 +0100] Restarting apache (gracefully)....
[2016-02-23 16:11:24 +0100] This account is currently not available.
[2016-02-23 16:11:24 +0100] Prelinking is disabled.
[2016-02-23 16:11:24 +0100] Hooks system enabled.
[2016-02-23 16:11:24 +0100] Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
[2016-02-23 16:11:24 +0100] All required 'post' hooks have been run
[2016-02-23 16:11:24 +0100] Restoring service monitoring.
Done
-
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 -
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 -
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 -
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/passwd0 -
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 -
root@otto [~]# /etc/init.d/munin-node restart Restarting munin-node (via systemctl): [ OK ] still 404 error 0 -
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 -
Support Request ID is: 7548117 0 -
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 -
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.
Comments
11 comments