Created 08-03-2017 04:53 AM
Ah Yes,
[Host1 ~]# alternatives --list
libnssckbi.so.x86_64 auto /usr/lib64/pkcs11/p11-kit-trust.so
ld auto /usr/bin/ld.bfd
mkisofs auto /usr/bin/genisoimage
print auto /usr/bin/lpr.cups
java manual /opt/java/bin/java
jre_openjdk auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre
jre_1.7.0 auto /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.141-2.6.10.1.el7_3.x86_64/jre
jre_1.7.0_openjdk auto /usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.141-2.6.10.1.el7_3.x86_64
xinputrc auto /etc/X11/xinit/xinput.d/ibus.conf
mta auto /usr/sbin/sendmail.postfix
cifs-idmap-plugin auto /usr/lib64/cifs-utils/cifs_idmap_sss.so
cdrecord auto /usr/bin/wodim
jre_1.8.0 auto /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre
jre_1.8.0_openjdk auto /usr/lib/jvm/jre-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64
libwbclient.so.0.12-64 auto /usr/lib64/samba/wbclient/libwbclient.so.0.12
pax auto /usr/bin/spax
How to remove these ?
Created 08-03-2017 05:04 AM
Created 08-03-2017 05:27 AM
Created 08-03-2017 05:32 AM
Created 08-03-2017 06:03 AM
Hi Sunpin,
I am trying to add nodes to my existing cluster. These are fresh nodes.
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/agent.py", line 710, in __issue_heartbeat
self._init_after_first_heartbeat_response(resp_data)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/agent.py", line 948, in _init_after_first_heartbeat_response
self.client_configs.load()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/client_configs.py", line 713, in load
new_deployed.update(self._lookup_alternatives(fname))
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/client_configs.py", line 434, in _lookup_alternatives
return self._parse_alternatives(alt_name, out)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.11.0-py2.7.egg/cmf/client_configs.py", line 446, in _parse_alternatives
path, _, _, priority_str = line.rstrip().split(" ")
ValueError: too many values to unpack
Created 08-03-2017 11:21 PM
Hi Sunpin,
The issue was indeed with Open JDK.
alternatives --remove <cmd> <path> --- didnt remove the entry for java alternatives.
I manually deleted all the dir under /usr/lib/jvm
and removed the entries related to Open JDK from /var/lib/alternatives/java file.
Only after manually removing those entries form the /var/lib/alternatives/java file, the alternatives --config java didnt showed the option for open jdk.
The issue has been resolved now.
Thanks for the inputs.
Created 11-04-2018 07:21 PM
please do below steps
alternatives --list | awk '{print $1}' | xargs -n1 alternatives --display |grep "^/" > all_alternatives.txt
awk -F ' ' -v NCOLS=4 'NF!=NCOLS{printf "Wrong number of columns at line %d\n", NR}' all_alternatives.txt
cd /var/lib/alternatives/
rm -Rf libjavaplugin.so.x86_64 jre_1.8.0 jre_1.8.0_openjdk jre_openjdk jre_1.7.0 jre_1.7.0_openjdk
alternatives --install /usr/bin/java java /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/jre/bin/java 1800191
Created 02-17-2018 01:01 PM
How did you solved this?
Created 02-17-2018 01:33 PM
Hi Abhisheek,
I have posted the details, in the thread.