LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-11-2012, 02:00 AM   #1
rarebear.nm
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Rep: Reputation: Disabled
Question 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?
 
Old 01-11-2012, 02:42 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 01-11-2012, 11:46 PM   #3
rarebear.nm
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Question 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...

Last edited by rarebear.nm; 01-11-2012 at 11:57 PM.
 
Old 01-11-2012, 11:51 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Are you connected to the Internet?
 
Old 01-12-2012, 02:24 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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" .
 
Old 01-12-2012, 10:40 AM   #6
rarebear.nm
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-14-2012, 04:32 AM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Python/yum errors are almost always due to a blocked mirror.
 
Old 01-14-2012, 03:15 PM   #8
rarebear.nm
LQ Newbie
 
Registered: Jan 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
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?

Last edited by rarebear.nm; 01-14-2012 at 03:28 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update results in python IndexError pattbert Fedora 6 06-24-2010 01:41 PM
how to create local yum repository...when show error set up update prosses justniik2000 Red Hat 1 12-31-2009 03:56 AM
Yum won't update Python Zeno McDohl Linux - Newbie 7 09-11-2008 03:04 PM
wmii error, 'fatal: couldn't open display' strainitch Linux - Software 2 09-11-2008 05:52 AM
Fatal Python error gobi_dgm Programming 4 11-17-2006 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration