LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum update gives Fatal Python Error couldn't create autoTLSkey mapping (https://www.linuxquestions.org/questions/linux-newbie-8/yum-update-gives-fatal-python-error-couldnt-create-autotlskey-mapping-923197/)

rarebear.nm 01-11-2012 02:00 AM

yum update gives Fatal Python Error couldn't create autoTLSkey mapping
 
A new CentOS 6 server install. Building a dedicated DNS server. Need to update all software. Tried "yum update" and I get

Determing fastest mirror
Fatal Python Error
Couldn't create autoTLSkey mapping

What did I miss to make this work?

John VV 01-11-2012 02:42 AM

did you by chance replace the version of python that is installed in Cent ?
yum REQUIRES that SPECIFIC version
the python that is in the Cent base( and updates) repo

rarebear.nm 01-11-2012 11:46 PM

maybe hardening issues
 
No, I did reduce the etc/services list to tighten security and turned off some services. Does Python or Yum use any of those to find a mirror? What port does yum use? I may have it block in the firewall as well. Iptables rules are very tight right for both ingress and egress traffic. I'm not letting much out except udp:53, ntp:123 and tcp:53 to one address and tcp:22 for ssh.

Another pass at the issue. I stopped iptables and replace etc/services with the original services file and the problem continues...

AwesomeMachine 01-11-2012 11:51 PM

Are you connected to the Internet?

John VV 01-12-2012 02:24 AM

rarebear.nm are you trying to update this cent6 install remotely ?

if so is it ssl or a VPN
and IS the cent 6 install the current ( and ONLY supported cent6 version) "CentOS 6.2" .

rarebear.nm 01-12-2012 10:40 AM

Yes there is an Internet connection. I can ping external addresses fine.

This system is still on the test bench and I only have a direct console connection to it right now. No remote connections have been setup or configured.

It is running CentOS 6.1.

AwesomeMachine 01-14-2012 04:32 AM

Python/yum errors are almost always due to a blocked mirror.

rarebear.nm 01-14-2012 03:15 PM

How to
 
Ok, so how do I identify blocked mirrors and how do I by pass this issue? Thanks.

I just tries yum --noplugins update - the update runs just fine. Any ideas where to go from here?


All times are GMT -5. The time now is 04:08 AM.