There was a problem importing one of the Python modules required to run yum.
Posted: 2020/06/10 09:54:46
Hello Everyone
My name is Theo.
I am a Linux newbie and its my first time here.
I recently started to experience numerous problems from one of my systems. One of the problems is that when I try to run any of the yum commands the system gives the following error.
Error : There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
/usr/lib64/python2.6/lib-dynload/_hashlib.so: undefined symbol: SSL_load_error_strings
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the current version of Python, which is: 2.6.6 (r266:84292, May 1 2012, 13:52:17)
My current OS is CentOS 6.3
This started after hardening the server following the CIS_CentOS_Linux_6_Benchmark guideline.
I tried to replace the _hashlib.so file from an iso image using cpio but that did not work. I have also tried to reinstall python from a local dump file using both yum and rpm with no luck.
rpm -ivh python**.rpm
gives the following error :
error: python-2.6.6-64.el6.x86_64.rpm: not an rpm package (or package manifest): Input/output error
your help will be highly appreciated
My name is Theo.
I am a Linux newbie and its my first time here.
I recently started to experience numerous problems from one of my systems. One of the problems is that when I try to run any of the yum commands the system gives the following error.
Error : There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
/usr/lib64/python2.6/lib-dynload/_hashlib.so: undefined symbol: SSL_load_error_strings
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the current version of Python, which is: 2.6.6 (r266:84292, May 1 2012, 13:52:17)
My current OS is CentOS 6.3
This started after hardening the server following the CIS_CentOS_Linux_6_Benchmark guideline.
I tried to replace the _hashlib.so file from an iso image using cpio but that did not work. I have also tried to reinstall python from a local dump file using both yum and rpm with no luck.
rpm -ivh python**.rpm
gives the following error :
error: python-2.6.6-64.el6.x86_64.rpm: not an rpm package (or package manifest): Input/output error
your help will be highly appreciated