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
There was a problem importing one of the Python modules required to run yum.
-
- Posts: 1
- Joined: 2020/06/10 09:13:13
Re: There was a problem importing one of the Python modules required to run yum.
What is the output from rpm -Vf /usr/lib64/python2.6/lib-dynload/_hashlib.so ?
And 6.3? Really? Are you really saying that you haven't run yum update since 2012? CentOS 6.3 is 8 years out of date and severely outdated and very very vulnerable to all sorts of security problems. You need to update to 6.10 ASAP and then start looking at how to replace CentOS 6 entirely as it only has less than 6 months of life left.
And 6.3? Really? Are you really saying that you haven't run yum update since 2012? CentOS 6.3 is 8 years out of date and severely outdated and very very vulnerable to all sorts of security problems. You need to update to 6.10 ASAP and then start looking at how to replace CentOS 6 entirely as it only has less than 6 months of life left.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: There was a problem importing one of the Python modules required to run yum.
The first step of hardening is:thembelara_81 wrote: ↑2020/06/10 09:54:46My current OS is CentOS 6.3
This started after hardening the server following the CIS_CentOS_Linux_6_Benchmark guideline.
1. Keep your system up to date
Can you trust a guideline, which does not bother to point that out?