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.

Problem update cpanel

Discussion in 'General Discussion' started by mahdy_sharifi, May 19, 2015.

  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello :

    our cpanel upgrade failed due following error :

    Code:
    [20150519.142521]   All files Staged
    [20150519.142521]   Testing if the newly downloaded RPMS can be installed without conflict
    [20150519.142521]   Testing RPM transaction
    [20150519.142521]   error: Failed dependencies:
    [20150519.142521]  munin-node conflicts with cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64
    [20150519.142521]  munin-common conflicts with cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64
    [20150519.142521] W Exit Code: 2
    [20150519.142521] ***** FATAL: Test install failed: error: Failed dependencies:
    [20150519.142521]  munin-node conflicts with cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64
    [20150519.142521]  munin-common conflicts with cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64
    [20150519.142521]   The Administrator will be notified to review this output when this script completes
    [20150519.142521] ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies:
    [20150519.142521]  munin-node conflicts with cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64
    [20150519.142521]  munin-common conflicts with cpanel-perl-514-munin-1.4.7-10.cp1136.x86_64
    [20150519.142521]   see http://go.cpanel.net/rpmcheckfailed for more information
    [20150519.142521]   The Administrator will be notified to review this output when this script completes
    [20150519.142521] E Detected events which require user notification during updatenow. Will send iContact the log
    [20150519.142521]   Removing staged files and directories for binaries/linux-c6-x86_64, cpanel
    [20150519.142522]   Removing staged files and directories for x3
    [20150519.142522]   Removing staged files and directories for x3mail
    => Log closed Tue May 19 14:25:22 2015
    [20150519.142522] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1432028899.log` failed, exited with code 1 (signal = 0)
    => Log closed Tue May 19 14:25:22 2015
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Do you have a custom version of Munin installed on your system? If not, you should be able to address this issue with the following commands:

    Code:
    rpm -e --nodeps --justdb munin-common munin-node
    /scripts/upcp --force

    Thank you.
     
  3. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi :

    I was install munin node + munin server (server in remote) don't like to remove it.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To clarify, do you need to use a custom version of Munin instead of the plugin offered through cPanel?

    Thank you.
     
  5. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Yes ... I need it
    Thank you
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You can exclude Munin from the cPanel RPM system with a command such as:


    Code:
    /scripts/update_local_rpm_versions --edit target_settings.munin uninstalled
    This should prevent automatic attempts to install the Munin RPM provided by cPanel. There is documentation on this at:

    How to Customize and Override the rpm.versions System

    Thank you.
     
  7. Ra1n3R

    Ra1n3R Registered

    Joined:
    Aug 22, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Germany
    cPanel Access Level:
    Root Administrator
    Hi.

    I have the same Problem. When i try to install munin in whm, it ends with error:

    Code:
    2015-08-23 01:26:05 +0200]  
    [2015-08-23 01:26:05 +0200]   Problems were detected with cPanel-provided files which are RPM controlled.
    [2015-08-23 01:26:05 +0200]   If you did not make these changes intentionally, you can correct them by running:
    [2015-08-23 01:26:05 +0200]  
    [2015-08-23 01:26:05 +0200]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [2015-08-23 01:26:05 +0200]   The following RPMs are missing from your system:
    [2015-08-23 01:26:05 +0200]   cpanel-perl-514-Cache-Cache-1.06-1.cp1146
    [2015-08-23 01:26:05 +0200]   cpanel-perl-514-munin-1.4.7-1.cp1150
    [2015-08-23 01:26:05 +0200]   Removing 0 broken rpms:
    [2015-08-23 01:26:05 +0200]   rpm: no packages given for erase
    [2015-08-23 01:26:07 +0200]   Downloading http://httpupdate.cpanel.net/RPM/11.46/centos/6/x86_64/rpm.sha512
    [2015-08-23 01:26:07 +0200]   Successfully verified signature for cpanel (key types: release).
    [2015-08-23 01:26:07 +0200]   Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/6/x86_64/rpm.sha512
    [2015-08-23 01:26:07 +0200]   Successfully verified signature for cpanel (key types: release).
    [2015-08-23 01:26:07 +0200]   cpanel-perl-514-Cache-Cache-1.06-1.cp1146.x86_64.rpm already downloaded
    [2015-08-23 01:26:07 +0200]   cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64.rpm already downloaded
    [2015-08-23 01:26:07 +0200]   Disabling service monitoring.
    [2015-08-23 01:26:10 +0200]   Hooks system enabled.
    [2015-08-23 01:26:10 +0200]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
    [2015-08-23 01:26:10 +0200]   All required 'pre' hooks have been run
    [2015-08-23 01:26:10 +0200]   No RPMS need to be uninstalled
    [2015-08-23 01:26:10 +0200]   Installing new rpms: cpanel-perl-514-Cache-Cache-1.06-1.cp1146.x86_64.rpm cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64.rpm
    [2015-08-23 01:26:11 +0200]   error: Failed dependencies:
    [2015-08-23 01:26:11 +0200]       munin-common conflicts with cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64
    [2015-08-23 01:26:11 +0200] W Error Code: 2
    [2015-08-23 01:26:11 +0200] E The following possible errors were detected while installing RPMs:
    [2015-08-23 01:26:11 +0200] E Failed dependencies
    [2015-08-23 01:26:11 +0200]   The Administrator will be notified to review this output when this script completes
    [2015-08-23 01:26:11 +0200]   Hooks system enabled.
    [2015-08-23 01:26:11 +0200]   Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
    [2015-08-23 01:26:11 +0200]   All required 'post' hooks have been run
    [2015-08-23 01:26:11 +0200]   Restoring service monitoring.
    And the script doesn't help:


    The `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1440286341.log --force` command failed and exited with the code “1” (signal = 0)

    Code:
    => Log closed Sun Aug 23 01:34:16 2015
    [2015-08-23 01:34:16 +0200] Sync child 21318 exited cleanly.
    [2015-08-23 01:34:16 +0200] Staging new RPMS
    [2015-08-23 01:34:18 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.46/centos/6/x86_64/rpm.sha512
    [2015-08-23 01:34:18 +0200] Successfully verified signature for cpanel (key types: release).
    [2015-08-23 01:34:18 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/6/x86_64/rpm.sha512
    [2015-08-23 01:34:18 +0200] Successfully verified signature for cpanel (key types: release).
    [2015-08-23 01:34:18 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.46/centos/6/x86_64/cpanel-perl-514-Cache-Cache-1.06-1.cp1146.x86_64.rpm
    [2015-08-23 01:34:18 +0200] Downloading http://httpupdate.cpanel.net/RPM/11.50/centos/6/x86_64/cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64.rpm
    [2015-08-23 01:34:19 +0200] All files Staged
    [2015-08-23 01:34:19 +0200] Testing if the newly downloaded RPMS can be installed without conflict
    [2015-08-23 01:34:19 +0200] Testing RPM transaction
    [2015-08-23 01:34:19 +0200] error: Failed dependencies:
    [2015-08-23 01:34:19 +0200] munin-common conflicts with cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64
    [2015-08-23 01:34:19 +0200] W Exit Code: 2
    [2015-08-23 01:34:19 +0200] ***** FATAL: Test install failed: error: Failed dependencies:
    [2015-08-23 01:34:19 +0200] munin-common conflicts with cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64
    [2015-08-23 01:34:19 +0200] The Administrator will be notified to review this output when this script completes
    [2015-08-23 01:34:19 +0200] ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies:
    [2015-08-23 01:34:19 +0200] munin-common conflicts with cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64
    [2015-08-23 01:34:19 +0200] see http://go.cpanel.net/rpmcheckfailed for more information
    [2015-08-23 01:34:19 +0200] The Administrator will be notified to review this output when this script completes
    => Log closed Sun Aug 23 01:34:19 2015
    [2015-08-23 01:34:19 +0200] 17% complete
    [2015-08-23 01:34:19 +0200] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1440286341.log --force` failed, exited with code 1 (signal = 0)
    
    How can i fix this? I will install Munin in cPanel as Plugin.

    Thank You :)
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Please post the output from:

    Code:
    rpm -qa|grep munin
    Thank you.
     
Loading...

Share This Page