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.

MySQL RPM Installation Failures, upcp fails

Discussion in 'General Discussion' started by kUdtiHaEX, Sep 5, 2014.

  1. kUdtiHaEX

    kUdtiHaEX Member

    Joined:
    May 15, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I've already read this page (about failed RPM's): https://documentation.cpanel.net/display/CKB/RPM+Installation+Failures

    and, actually, my issue is among those described in that manual.

    But, I have a MYSQL 5.5 installed on my server, which was upgraded from the previous version 5.1 This upgrade was done through WHM interface. Now, the MYSQL 5.6 upgrade fails and after trying to fix broken RPM packages and force the upcp, I get this:

    Code:
    root@mint3 [/home]# /scripts/upcp --force
    ----------------------------------------------------------------------------------------------------
    => Log opened from cPanel Update (upcp) - Slave (195458) at Fri Sep  5 16:36:49 2014
    [20140905.163649]   Detected cron=0 (SSH connection detected)
    [20140905.163649]   1% complete
    [20140905.163649]   Running Standardized hooks
    [20140905.163649]   2% complete
    [20140905.163649]   mtime on upcp is 1405998941 (Tue Jul 22 05:15:41 2014)
    ----------------------------------------------------------------------------------------------------
    => Log opened from /usr/local/cpanel/scripts/updatenow (195460) at Fri Sep  5 16:36:50 2014
    [20140905.163650]   Detected version '11.44.1.17' from version file.
    [20140905.163650]   --force passed on command line. Upgrade will disregard update config settings.
    [20140905.163650]   Using mirror '159.253.142.50' for host 'httpupdate.cpanel.net'.
    [20140905.163650]   Target version set to '11.44.1.17'
    [20140905.163650]   Checking license
    [20140905.163650]   License file check complete
    [20140905.163650]   Checking that the RPM DB is OK...
    [20140905.163650]   glibc-2.12-1.132.el6_5.4.x86_64
    [20140905.163650]   glibc-2.12-1.132.el6_5.4.i686
    [20140905.163650]   OK: RPM DB is responding to queries
    [20140905.163650]   Testing if rpm_is_working RPM is installed
    [20140905.163650]   package rpm_is_working is not installed
    [20140905.163650]   Testing if it's possible to install a simple RPM
    [20140905.163650]   Preparing...                ##################################################
    [20140905.163650]   rpm_is_working              ##################################################
    [20140905.163650]   Switching to version '11.44.1.17' of updatenow to perform sync.
    [20140905.163651]   All Needed RPMS are installed.
    [20140905.163651]   Staging 11.44.1.17 cpanelsync files prior to updating /usr/local/cpanel
    [20140905.163651]   Staging x3 theme changes
    [20140905.163651]   Retrieving and staging /cpanelsync/11.44.1.17/x3/.cpanelsync.bz2
    [20140905.163651]   Using mirror '159.253.142.50' for host 'httpupdate.cpanel.net'.
    [20140905.163651]   Staging files for x3
    [20140905.163653]   Retrieving and staging /cpanelsync/11.44.1.17/x3/branding/index.html.bz2
    [20140905.163655]   Retrieving and staging /cpanelsync/11.44.1.17/x3/stats/resourceusage.html.bz2
    [20140905.163655]   Retrieving and staging /cpanelsync/11.44.1.17/x3/stats/resourceusagedetails.html.bz2
    [20140905.163656]   Retrieving and staging /cpanelsync/11.44.1.17/x3/index.html.bz2
    [20140905.163659]   Retrieving and staging /cpanelsync/11.44.1.17/x3mail/.cpanelsync.bz2
    [20140905.163659]   Using mirror '159.253.142.50' for host 'httpupdate.cpanel.net'.
    [20140905.163700]   Staging files for x3mail
    [20140905.163700]   Staging cpanel changes
    [20140905.163700]   Retrieving and staging /cpanelsync/11.44.1.17/binaries/linux-x86_64/.cpanelsync.bz2
    [20140905.163700]   Using mirror '159.253.142.50' for host 'httpupdate.cpanel.net'.
    [20140905.163700]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/.cpanelsync.bz2
    [20140905.163700]   Staging files for binaries/linux-x86_64
    [20140905.163736]   Staging files for cpanel
    [20140905.163747]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/upgrade_in_progress.txt.bz2
    [20140905.163749]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/whostmgr/docroot/js2-min/managehooks-es.js.bz2
    [20140905.163756]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/base/3rdparty/lvechart.cgi.bz2
    [20140905.163756]   Set permissions on /usr/local/cpanel/base/3rdparty/lvechart.cgi-cpanelsync to 0755
    [20140905.163806]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/base/frontend/paper_lantern/index.auto.tmpl.bz2
    [20140905.163821]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/whostmgr/docroot/core.bz2
    [20140905.163822]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/Cpanel/LVEInfo.pm.bz2
    [20140905.163822]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/whostmgr/docroot/js2/managehooks-es.js.bz2
    [20140905.163835]   Retrieving and staging /cpanelsync/11.44.1.17/cpanel/whostmgr/docroot/cgi/CloudLinux.cgi.bz2
    [20140905.163835]   Set permissions on /usr/local/cpanel/whostmgr/docroot/cgi/CloudLinux.cgi-cpanelsync to 0755
    [20140905.163839]   Staging new RPMS
    [20140905.163840]   Downloading http://httpupdate.cpanel.net/RPM/11.40/cloudlinux/6/x86_64/rpm.md5
    [20140905.163840]   Downloading http://httpupdate.cpanel.net/RPM/11.36/cloudlinux/6/x86_64/rpm.md5
    [20140905.163840]   Downloading http://httpupdate.cpanel.net/RPM/11.42/cloudlinux/6/x86_64/rpm.md5
    [20140905.163840]   Downloading http://httpupdate.cpanel.net/RPM/11.40/cloudlinux/6/x86_64/dovecot-2.2.13-1.cp1140.x86_64.rpm
    [20140905.163841]   Downloading http://httpupdate.cpanel.net/RPM/11.36/cloudlinux/6/x86_64/MySQL55-shared-5.5.37-2.cp1136.x86_64.rpm
    [20140905.163841]   Downloading http://httpupdate.cpanel.net/RPM/11.36/cloudlinux/6/x86_64/MySQL55-client-5.5.37-2.cp1136.x86_64.rpm
    [20140905.163842]   Downloading http://httpupdate.cpanel.net/RPM/11.36/cloudlinux/6/x86_64/exim-4.82-4.cp1136.x86_64.rpm
    [20140905.163842]   Downloading http://httpupdate.cpanel.net/RPM/11.42/cloudlinux/6/x86_64/MySQL56-server-5.6.17-1.cp1142.x86_64.rpm
    [20140905.163843]   Downloading http://httpupdate.cpanel.net/RPM/11.36/cloudlinux/6/x86_64/MySQL55-devel-5.5.37-2.cp1136.x86_64.rpm
    [20140905.163844]   Downloading http://httpupdate.cpanel.net/RPM/11.36/cloudlinux/6/x86_64/MySQL55-test-5.5.37-2.cp1136.x86_64.rpm
    [20140905.163845]   All files Staged
    [20140905.163845]   Testing if the newly downloaded RPMS can be installed without conflict
    [20140905.164216]   Testing RPM transaction
    [20140905.164217]   	file /usr/bin/msql2mysql from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysql from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysql_find_rows from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_tabledefs_2myisam.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_tabledefs_3innodb.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_tbl_metadata.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_trig004.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_trunc_temp.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_unsafe_funcs.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_utf16.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_utf32.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_row_wide_table.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_savepoint.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_semi_sync.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_semi_sync_event.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_server_id_ignore.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_set_charset.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_set_null_innodb.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_set_null_myisam.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_show_slave_hosts.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_show_slave_running.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_slave_grp_exec.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_slave_load_in.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_slave_load_remove_tmpfile.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_slave_load_tmpdir_not_exist.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_slave_skip.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_slow_query_log.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_spec_variables.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_sporadic_master.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_ssl.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_ssl1.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_stm_000001.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_stm_EE_err2.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_stm_auto_increment_bug33029.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/rpl/r/rpl_stm_binlog_max_cache_size.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/include/mysql/sql_state.h from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/include/mysql/sslopt-case.h from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/include/mysql/sslopt-longopts.h from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/include/mysql/sslopt-vars.h from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/include/mysql/typelib.h from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/lib64/mysql/libmysqlclient.a from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/lib64/mysql/libmysqlservices.a from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/man/man1/comp_err.1.gz from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/man/man1/mysql_config.1.gz from install of MySQL55-devel-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-devel-5.6.17-1.cp1142.x86_64
    [20140905.164217] W Exit Code: 8
    [20140905.164217] ***** FATAL: Test install failed: 	file /usr/bin/msql2mysql from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysql from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysql_find_rows from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysql_waitpid from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysqlaccess from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysqladmin from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysqlbinlog from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysqlcheck from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysqldump from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysqlimport from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysqlshow from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/bin/mysqlslap from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/man/man1/msql2mysql.1.gz from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/man/man1/mysql.1.gz from install of MySQL55-client-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-client-5.6.17-1.cp1142.x86_64
    
    .
    .
    .
    
    and so on, and so on....
    
    
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/r/sf_cursor.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/r/sp_alter.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/r/sp_cursor.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/r/sq_all.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/r/ta_rename.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/r/tc_rename_error.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/r/time_function.result from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/t/crash_manytables_number.test from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/t/crash_manytables_string.test from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/t/fu_aggregate_count_number.test from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/t/fu_aggregate_min_number.test from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217] 	file /usr/share/mysql-test/suite/engines/funcs/t/ld_all_number_string_calendar_types.test from install of MySQL55-test-5.5.37-2.cp1136.x86_64 conflicts with file from package MySQL56-test-5.6.17-1.cp1142.x86_64
    [20140905.164217]   see http://go.cpanel.net/rpmcheckfailed for more information
    [20140905.164217]   The Administrator will be notified to review this output when this script completes
    [20140905.164217] E Detected events which require user notification during updatenow. Will send iContact the log
    [20140905.164217]   Removing staged files and directories for binaries/linux-x86_64, cpanel
    [20140905.164217]   Removing staged files and directories for x3
    [20140905.164217]   Removing staged files and directories for x3mail
    => Log closed Fri Sep  5 16:42:17 2014
    [20140905.164217]   17% complete
    [20140905.164217] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1409928110.log --force` failed, exited with code 1 (signal = 0)
    => Log closed Fri Sep  5 16:42:17 2014
    So, MYSQL 5.5 is in conflict with MYSQL 5.6 and I did not installed the 5.6 manually. Searching the installed RPM database did not helped me either:
    Code:
    root@mint3 [/home]# rpm -qa|grep mysql-5
    cpanel-mysql-5.1.73-1.cp1136.x86_64
    The question is - what to do to fix this conflict?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: MySQL RPM Installation Failures, upcp failes

    Hello :)

    What version of MySQL do you see in /var/cpanel/cpanel.config? EX:

    Code:
    grep mysql-version /var/cpanel/cpanel.config
    Try modifying the value to 5.6 if it still shows up as 5.5 after the MySQL upgrade.

    Thank you.
     
  3. kUdtiHaEX

    kUdtiHaEX Member

    Joined:
    May 15, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Re: MySQL RPM Installation Failures, upcp failes

    My upgrade did not completed, so it should not be the 5.6. Anyway, I just edited that file and saw that MYSQL version in it is 5.6 (and it should not be). I changed it to 5.5, and then I started check_cpanel_rpms which did this:
    Code:
    [20140906.115332]   > /usr/local/cpanel/scripts/check_cpanel_rpms --fix
    [20140906.115332]   The following RPMs are missing from your system:
    [20140906.115332]   MySQL55-client-5.5.37-2.cp1136
    [20140906.115332]   MySQL55-devel-5.5.37-2.cp1136
    [20140906.115332]   MySQL55-shared-5.5.37-2.cp1136
    [20140906.115332]   MySQL55-test-5.5.37-2.cp1136
    [20140906.115332]   dovecot-2.2.13-1.cp1140
    [20140906.115332]   exim-4.82-4.cp1136
    [20140906.115334]    
    [20140906.115334]   The following RPMs are unneeded on your system and should be uninstalled:
    [20140906.115334]   MySQL56-client-5.6.17-1.cp1142
    [20140906.115334]   MySQL56-devel-5.6.17-1.cp1142
    [20140906.115334]   MySQL56-shared-5.6.17-1.cp1142
    [20140906.115334]   MySQL56-test-5.6.17-1.cp1142
    [20140906.115419]   Removing 0 broken rpms: 
    [20140906.115419]   rpm: no packages given for erase
    [20140906.115420]   Downloading http://httpupdate.cpanel.net/RPM/11.40/cloudlinux/6/x86_64/rpm.md5
    [20140906.115420]   Downloading http://httpupdate.cpanel.net/RPM/11.36/cloudlinux/6/x86_64/rpm.md5
    [20140906.115420]   dovecot-2.2.13-1.cp1140.x86_64.rpm already downloaded
    [20140906.115420]   MySQL55-shared-5.5.37-2.cp1136.x86_64.rpm already downloaded
    [20140906.115420]   MySQL55-client-5.5.37-2.cp1136.x86_64.rpm already downloaded
    [20140906.115420]   exim-4.82-4.cp1136.x86_64.rpm already downloaded
    [20140906.115420]   MySQL55-devel-5.5.37-2.cp1136.x86_64.rpm already downloaded
    [20140906.115420]   MySQL55-test-5.5.37-2.cp1136.x86_64.rpm already downloaded
    [20140906.115420]   Hooks system enabled
    [20140906.115420]   Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
    warn [check_cpanel_rpms] program "/scripts/preeximup" is not executable
    warn [check_cpanel_rpms] program "/scripts/predovecotup" is not executable
    [20140906.115420]   All required 'pre' hooks have been run
    [20140906.115421]   Uninstalling unneeded rpms: MySQL56-test MySQL56-client MySQL56-shared MySQL56-devel
    [20140906.115424]   Installing new rpms: dovecot-2.2.13-1.cp1140.x86_64.rpm MySQL55-shared-5.5.37-2.cp1136.x86_64.rpm MySQL55-client-5.5.37-2.cp1136.x86_64.rpm exim-4.82-4.cp1136.x86_64.rpm MySQL55-devel-5.5.37-2.cp1136.x86_64.rpm MySQL55-test-5.5.37-2.cp1136.x86_64.rpm
    [20140906.115424]   Preparing packages for installation...
    [20140906.115424]   MySQL55-client-5.5.37-2.cp1136
    [20140906.115425]   MySQL55-test-5.5.37-2.cp1136
    [20140906.115427]   MySQL55-devel-5.5.37-2.cp1136
    [20140906.115427]   Resetting Exim to cPanel Defaults and Installing the Latest Version
    [20140906.115427]   /var/tmp/rpm-tmp.qbLqPf: line 7: /usr/local/cpanel/scripts/mseclocal: No such file or directory
    [20140906.115427]   exim-4.82-4.cp1136
    [20140906.115427]   warning: /etc/eximrejects saved as /etc/eximrejects.rpmorig
    [20140906.115427]   warning: /etc/localaliases created as /etc/localaliases.rpmnew
    [20140906.115427]   warning: /etc/localdomains created as /etc/localdomains.rpmnew
    [20140906.115428]   Configuration file passes test!  New configuration file was installed.
    I was free from the unneeded MYSQL 5.6 rpm files, which allowed me to run the upcp --force without any issues.

    But, I started the MYSQL 5.5 -> 5.6 upgrade once again, hoping that my problem is somehow solved, but it's not. The MYSQL Upgrade gave me this output:
    Code:
    Beginning MySQL upgrade...
    Running: /usr/local/cpanel/scripts/check_cpanel_rpms --targets=MySQL41,MySQL50,MySQL51,MySQL55,MySQL56 --fix
    [20140906.120832] 
    [20140906.120832] Problems were detected with cPanel-provided files which are RPM controlled. 
    [20140906.120832] If you did not make these changes intentionally, you can correct them by running: 
    [20140906.120832] 
    [20140906.120832] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix 
    [20140906.120832] The following RPMs are missing from your system: 
    [20140906.120832] MySQL56-client-5.6.17-1.cp1142 
    [20140906.120832] MySQL56-devel-5.6.17-1.cp1142 
    [20140906.120832] MySQL56-server-5.6.17-1.cp1142 
    [20140906.120832] MySQL56-shared-5.6.17-1.cp1142 
    [20140906.120832] MySQL56-test-5.6.17-1.cp1142 
    [20140906.120844] Removing 0 broken rpms: 
    [20140906.120844] rpm: no packages given for erase 
    [20140906.120845] Downloading http://httpupdate.cpanel.net/RPM/11.42/cloudlinux/6/x86_64/rpm.md5 
    [20140906.120845] Downloading http://httpupdate.cpanel.net/RPM/11.42/cloudlinux/6/x86_64/MySQL56-test-5.6.17-1.cp1142.x86_64.rpm 
    [20140906.120845] Downloading http://httpupdate.cpanel.net/RPM/11.42/cloudlinux/6/x86_64/MySQL56-devel-5.6.17-1.cp1142.x86_64.rpm 
    [20140906.120846] Downloading http://httpupdate.cpanel.net/RPM/11.42/cloudlinux/6/x86_64/MySQL56-shared-5.6.17-1.cp1142.x86_64.rpm 
    [20140906.120846] Downloading http://httpupdate.cpanel.net/RPM/11.42/cloudlinux/6/x86_64/MySQL56-client-5.6.17-1.cp1142.x86_64.rpm 
    [20140906.120847] Downloading http://httpupdate.cpanel.net/RPM/11.42/cloudlinux/6/x86_64/MySQL56-server-5.6.17-1.cp1142.x86_64.rpm 
    [20140906.120847] Hooks system enabled 
    [20140906.120847] Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed 
    [20140906.120847] All required 'pre' hooks have been run 
    [20140906.120848] No RPMS need to be uninstalled 
    [20140906.120848] Installing new rpms: MySQL56-test-5.6.17-1.cp1142.x86_64.rpm MySQL56-devel-5.6.17-1.cp1142.x86_64.rpm MySQL56-shared-5.6.17-1.cp1142.x86_64.rpm MySQL56-client-5.6.17-1.cp1142.x86_64.rpm MySQL56-server-5.6.17-1.cp1142.x86_64.rpm 
    [20140906.120848] Preparing packages for installation... 
    [20140906.120850] MySQL56-client-5.6.17-1.cp1142 
    [20140906.120852] MySQL56-test-5.6.17-1.cp1142 
    [20140906.120856] 
    [20140906.120856] ****************************************************************** 
    [20140906.120856] A MySQL server package (MySQL55-server-5.5.37-2.cp1136.x86_64) is installed. 
    [20140906.120856] 
    [20140906.120856] Upgrading directly from MySQL 5.5 to MySQL 5.6 may not 
    [20140906.120856] be safe in all cases. A manual dump and restore using mysqldump is 
    [20140906.120856] recommended. It is important to review the MySQL manual's Upgrading 
    [20140906.120856] section for version-specific incompatibilities. 
    [20140906.120856] 
    [20140906.120856] A manual upgrade is required. 
    [20140906.120856] 
    [20140906.120856] - Ensure that you have a complete, working backup of your data and my.cnf 
    [20140906.120856] files 
    [20140906.120856] - Shut down the MySQL server cleanly 
    [20140906.120856] - Remove the existing MySQL packages. Usually this command will 
    [20140906.120856] list the packages you should remove: 
    [20140906.120856] rpm -qa | grep -i '^mysql-' 
    [20140906.120856] 
    [20140906.120856] You may choose to use 'rpm --nodeps -ev <package-name>' to remove 
    [20140906.120856] the package which contains the mysqlclient shared library. The 
    [20140906.120856] library will be reinstalled by the MySQL-shared-compat package. 
    [20140906.120856] - Install the new MySQL packages supplied by Oracle and/or its affiliates 
    [20140906.120856] - Ensure that the MySQL server is started 
    [20140906.120856] - Run the 'mysql_upgrade' program 
    [20140906.120856] 
    [20140906.120856] This is a brief description of the upgrade process. Important details
    [20140906.120856] can be found in the MySQL manual, in the Upgrading section. 
    [20140906.120856] ****************************************************************** 
    [20140906.120856] error: %pre(MySQL56-server-5.6.17-1.cp1142.x86_64) scriptlet failed, exit status 1 
    [20140906.120856] error: install: %pre scriptlet failed (2), skipping MySQL56-server-5.6.17-1.cp1142 
    [20140906.120856] MySQL56-shared-5.6.17-1.cp1142 
    [20140906.120856] MySQL56-devel-5.6.17-1.cp1142 
    [20140906.120857] W Error Code: 5 
    [20140906.120857] E The following possible errors were detected while installing RPMs: 
    [20140906.120857] E %pre(MySQL56-server-5.6.17-1.cp1142.x86_64) scriptlet failed, exit status 1 install 
    [20140906.120857] The Administrator will be notified to review this output when this script completes 
    [20140906.120857] Checking for and running RPM::Versions 'post' hooks for any RPMs just installed 
    [20140906.120857] All required 'post' hooks have been run 
    Failed while upgrading to 5.6...The subprocess reported the “ENOENT” (2) error when it ended....aborting! MySQL upgrade failed!
    And the cpanel.config is once again showing the wrong version of MYSQL:
    Code:
    root@mint3 [~]# grep mysql-version /var/cpanel/cpanel.config
    mysql-version=5.6
    root@mint3 [~]# 
    I'm running in circles. Now what? :)
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: MySQL RPM Installation Failures, upcp failes

    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.
     
  5. Elvismen

    Elvismen Registered

    Joined:
    Oct 23, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: MySQL RPM Installation Failures, upcp failes

    Hi,

    i have the same problem here, identical to his.


    any solution after the Ticket?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: MySQL RPM Installation Failures, upcp failes

    Please let us know if you see output such as this during the MySQL upgrade:

    If so, check to ensure the previous upgrade process has ended and run the suggested command.

    Thank you.
     
  7. DarthCaniac

    DarthCaniac Member

    Joined:
    Mar 23, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Re: MySQL RPM Installation Failures, upcp failes

    Hey there!

    I am having this exact same issue. UCPC fails at 17%, no errors listed. I have tried:

    /usr/local/cpanel/scripts/check_cpanel_rpms --fix

    /scripts/upcp --force

    Changing mysql-version= in the /var/cpanel/cpanel.config file to 5.6 (was 5.5), then re-running the fix

    Manually removing all mysql packages and installing mysql 5.5 again (And editing above file to fix, running check rpms, running force update).

    All fail the same way.

    I went to send in a ticket, but I can't get my support ID because if I login to WHM it says "cPanel & WHM update in progress. This functionality is not available until the cPanel update is complete." and if I run the SSH command "/usr/local/cpanel/cpanel -S", it says "/usr/local/cpanel/cpanel: error while loading shared libraries: /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int/auto/Cpanel/Optimizer/Optimizer.so: cannot open shared object file: No such file or directory"
    Additionally, all websites and emails on the site are down. Can you please help me fix it?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: MySQL RPM Installation Failures, upcp failes

    You can send an email to cs[@]cpanel.net and they can direct the support request to our technical support department.

    Thank you.
     
  9. DarthCaniac

    DarthCaniac Member

    Joined:
    Mar 23, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Re: MySQL RPM Installation Failures, upcp failes

    Thanks cPanelMichael!

    I will post any troubleshooting steps they give me here as they come in, and hopefully they can help someone some day!
     
  10. triantech

    triantech Well-Known Member

    Joined:
    Jul 1, 2014
    Messages:
    145
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Hey kUdtiHaEX/DarthCaniac,

    Can you guys let me know, how much RAM does your server come with ?
    I was able to see issues on many 1GB server's while mysql is upgraded to 5.6!
     
  11. DarthCaniac

    DarthCaniac Member

    Joined:
    Mar 23, 2014
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    @triantech: I have 16GB on mine :)

    ----------

    Update on server: Awesome cPanel support team logged into my server and was able to fix the issues I was having. Their response was:
    If you're having this problem: Back up EVERYTHING (If you already have, you are awesome!) Then you will want to locate any and all MySQL RPMs and remove them. Be they installed from YUM, RPM, or any other package manager, then the update should work.
     
  12. jaytyn

    jaytyn Registered

    Joined:
    Aug 6, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I am having exactly the same issue. Stuck on 17% and unable to get support ID to lodge a request due to the error. I have emailed cPanel support. Looks like a common issue?
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you let us know the ticket number you were assigned so we can update this thread with the outcome?

    Thank you.
     
Loading...

Share This Page