Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error while upgrade cloudera agents from 5.2 to 5.6 (Protected Multilib)

Highlighted

Error while upgrade cloudera agents from 5.2 to 5.6 (Protected Multilib)

New Contributor

Hello, i just updated my cluster agents and manger from cm5.2 to cm5.6.

during the agents upgrade i encouterd this error in 3 servers (the others succeded):

/tmp/scm_prepare_node.bUluwdIG 
using SSH_CLIENT to get the SCM hostname: 1.2.3.4 45146 22 
opening logging file descriptor 
Starting installation script...
Acquiring installation lock...
BEGIN flock 4 
END (0) 
Detecting root privileges...
effective UID is 1000 
BEGIN which pbrun 
which: no pbrun in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin) 
END (1) 
BEGIN sudo -S id 
uid=0(root) gid=0(root) groups=0(root) 
END (0) 
Using 'sudo ' to acquire root privileges 
Detecting distribution...
BEGIN grep Tikanga /etc/redhat-release 
END (1) 
BEGIN grep 'CentOS release 5' /etc/redhat-release 
END (1) 
BEGIN grep 'Scientific Linux release 5' /etc/redhat-release 
END (1) 
BEGIN grep Santiago /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.4 (Santiago) 
END (0) 
/etc/redhat-release ==> RHEL 6 
Detecting Cloudera Manager Server...
BEGIN host -t PTR 1.2.3.4 
4.3.2.1.in-addr.arpa domain name pointer somwthing-cm01.dom. 
END (0) 
using somwthing-cm01.dom as scm server hostname 
BEGIN which python 
/usr/local/bin/python 
END (0) 
BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' somwthing-cm01.dom 7182 
END (0) 
BEGIN which wget 
/usr/bin/wget 
END (0) 
BEGIN wget -qO- -T 1 -t 1 http://5.6.7.8/latest/meta-data/public-hostname && /bin/echo 
END (4) 
Installing package repositories...
validating format of repository file /tmp/scm_prepare_node.bUluwdIG/repos/rhel6/cloudera-manager.repo 
installing repository file /tmp/scm_prepare_node.bUluwdIG/repos/rhel6/cloudera-manager.repo 
repository file /tmp/scm_prepare_node.bUluwdIG/repos/rhel6/cloudera-manager.repo installed 
Refreshing package metadata...
BEGIN sudo yum clean all 
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager 
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 
Cleaning repos: REPO-RHEL6-noarch-Extras REPO-RHEL6-x86_64-Base 
: REPO-RHEL6-x86_64-Extras REPO-RHEL6-x86_64-U5-Extras 
: REPO-RHEL6-x86_64-Updates cloudera-manager 
Cleaning up Everything 
END (0) 
BEGIN sudo rm -Rf /var/cache/yum/x86_64 
END (0) 
BEGIN sudo yum makecache 
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager 
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 
Metadata Cache Created 
END (0) 
Installing cloudera-manager-agent package...
BEGIN sudo yum list installed cloudera-manager-agent 
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager 
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 
Installed Packages 
cloudera-manager-agent.x86_64 5.2.0-1.cm520.p0.60.el6 @cloudera-manager 
END (0) 
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep cloudera-manager-agent 
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons 
END (0) 
BEGIN sudo yum info cloudera-manager-agent 
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager 
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 
Installed Packages 
Name : cloudera-manager-agent 
Arch : x86_64 
Version : 5.2.0 
Release : 1.cm520.p0.60.el6 
Size : 27 M 
Repo : installed 
From repo : cloudera-manager 
Summary : The Cloudera Manager Agent 
URL : http://www.cloudera.com 
License : Proprietary 
Description : The Cloudera Manager Agent. 
: 
: The Agent is deployed to machines running services managed by 
: Cloudera Manager. 

Available Packages 
Name : cloudera-manager-agent 
Arch : x86_64 
Version : 5.6.0 
Release : 1.cm560.p0.54.el6 
Size : 4.7 M 
Repo : cloudera-manager 
Summary : The Cloudera Manager Agent 
URL : http://www.cloudera.com 
License : Proprietary 
Description : The Cloudera Manager Agent. 
: 
: The Agent is deployed to machines running services managed by 
: Cloudera Manager. 

END (0) 
Version : 5.6.0 
Release : 1.cm560.p0.54.el6 
BEGIN sudo yum -y install cloudera-manager-agent 
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager 
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 
Setting up Install Process 
Resolving Dependencies 
--> Running transaction check 
---> Package cloudera-manager-agent.x86_64 0:5.2.0-1.cm520.p0.60.el6 will be updated 
---> Package cloudera-manager-agent.x86_64 0:5.6.0-1.cm560.p0.54.el6 will be an update 
--> Processing Dependency: cloudera-manager-daemons = 5.6.0 for package: cloudera-manager-agent-5.6.0-1.cm560.p0.54.el6.x86_64 
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.6.0-1.cm560.p0.54.el6.x86_64 
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.6.0-1.cm560.p0.54.el6.x86_64 
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.6.0-1.cm560.p0.54.el6.x86_64 
--> Running transaction check 
---> Package MySQL-python.x86_64 0:1.2.3-0.3.c1.1.el6 will be installed 
---> Package cloudera-manager-daemons.x86_64 0:5.2.0-1.cm520.p0.60.el6 will be updated 
---> Package cloudera-manager-daemons.x86_64 0:5.6.0-1.cm560.p0.54.el6 will be an update 
---> Package openssl-devel.x86_64 0:1.0.1e-15.el6 will be installed 
--> Processing Dependency: openssl = 1.0.1e-15.el6 for package: openssl-devel-1.0.1e-15.el6.x86_64 
--> Processing Dependency: krb5-devel for package: openssl-devel-1.0.1e-15.el6.x86_64 
---> Package python-psycopg2.x86_64 0:2.0.14-2.el6 will be installed 
--> Processing Dependency: libpq.so.5()(64bit) for package: python-psycopg2-2.0.14-2.el6.x86_64 
--> Running transaction check 
---> Package krb5-devel.x86_64 0:1.10.3-10.el6_4.6 will be installed 
--> Processing Dependency: krb5-libs = 1.10.3-10.el6_4.6 for package: krb5-devel-1.10.3-10.el6_4.6.x86_64 
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-10.el6_4.6.x86_64 
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-10.el6_4.6.x86_64 
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-10.el6_4.6.x86_64 
---> Package openssl.x86_64 0:1.0.0-27.el6 will be updated 
---> Package openssl.x86_64 0:1.0.1e-15.el6 will be an update 
---> Package postgresql-libs.x86_64 0:8.4.18-1.el6_4 will be installed 
--> Running transaction check 
---> Package keyutils-libs-devel.x86_64 0:1.4-4.el6 will be installed 
---> Package krb5-libs.x86_64 0:1.10.3-10.el6 will be updated 
--> Processing Dependency: krb5-libs = 1.10.3-10.el6 for package: krb5-workstation-1.10.3-10.el6.x86_64 
---> Package krb5-libs.x86_64 0:1.10.3-10.el6_4.6 will be an update 
---> Package libcom_err-devel.x86_64 0:1.41.12-18.el6 will be installed 
--> Processing Dependency: libcom_err = 1.41.12-18.el6 for package: libcom_err-devel-1.41.12-18.el6.x86_64 
---> Package libselinux-devel.x86_64 0:2.0.94-5.3.el6_4.1 will be installed 
--> Processing Dependency: libselinux = 2.0.94-5.3.el6_4.1 for package: libselinux-devel-2.0.94-5.3.el6_4.1.x86_64 
--> Running transaction check 
---> Package krb5-workstation.x86_64 0:1.10.3-10.el6 will be updated 
---> Package krb5-workstation.x86_64 0:1.10.3-10.el6_4.6 will be an update 
---> Package libcom_err.i686 0:1.41.12-18.el6 will be installed 
---> Package libselinux.i686 0:2.0.94-5.3.el6_4.1 will be installed 
--> Finished Dependency Resolution 
Error: Multilib version problems found. This often means that the root 
cause is something else and multilib version checking is just 
pointing out that there is a problem. Eg.: 

1. You have an upgrade for libcom_err which is missing some 
dependency that another package requires. Yum is trying to 
solve this by installing an older version of libcom_err of the 
different architecture. If you exclude the bad architecture 
yum will tell you what the root cause is (which package 
requires what). You can try redoing the upgrade with 
--exclude libcom_err.otherarch ... this should give you an error 
message showing the root cause of the problem. 

2. You have multiple architectures of libcom_err installed, but 
yum can only see an upgrade for one of those arcitectures. 
If you don't want/need both architectures anymore then you 
can remove the one with the missing update and everything 
will work. 

3. You have duplicate versions of libcom_err installed already. 
You can use "yum check" to get yum show these errors. 

...you can also use --setopt=protected_multilib=false to remove 
this checking, however this is almost never the correct thing to 
do as something else is very likely to go wrong (often causing 
much more problems). 

Protected multilib versions: libcom_err-1.41.12-18.el6.i686 != libcom_err-1.42.12.wc1-7.el6.x86_64 
Error: Protected multilib versions: libselinux-2.0.94-5.3.el6_4.1.i686 != libselinux-2.0.94-5.8.el6.x86_64 
You could try using --skip-broken to work around the problem 
** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows: 
libss-1.41.12-14.el6.x86_64 has missing requires of libcom_err = ('0', '1.41.12', '14.el6') 
python-libs-2.6.6-52.el6.x86_64 has missing requires of libcrypto.so.10(libcrypto.so.10)(64bit) 
python-libs-2.6.6-52.el6.x86_64 has missing requires of libssl.so.10(libssl.so.10)(64bit) 
ruby-libs-1.8.7.374-2.el6.x86_64 has missing requires of libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) 
ruby-libs-1.8.7.374-2.el6.x86_64 has missing requires of libcrypto.so.10(libcrypto.so.10)(64bit) 
ruby-libs-1.8.7.374-2.el6.x86_64 has missing requires of libssl.so.10(libssl.so.10)(64bit) 
END (1) 
remote package cloudera-manager-agent could not be installed, giving up 
waiting for rollback request 

any of the solutions i found didnt work so i came here.

Don't have an account?
Coming from Hortonworks? Activate your account here