LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 03: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, 03:42 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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-12-2012, 12:46 AM   #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-12-2012 at 12:57 AM.
 
Old 01-12-2012, 12:51 AM   #4
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,829

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

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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, 11: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, 05:32 AM   #7
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,829

Rep: Reputation: 257Reputation: 257Reputation: 257
Python/yum errors are almost always due to a blocked mirror.
 
Old 01-14-2012, 04: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 04:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:41 PM
how to create local yum repository...when show error set up update prosses justniik2000 Red Hat 1 12-31-2009 04:56 AM
Yum won't update Python Zeno McDohl Linux - Newbie 7 09-11-2008 04:04 PM
wmii error, 'fatal: couldn't open display' strainitch Linux - Software 2 09-11-2008 06:52 AM
Fatal Python error gobi_dgm Programming 4 11-17-2006 01:32 AM


All times are GMT -5. The time now is 04:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration