Upgrade/update and now no named

jag7720

Verified User
Joined
Aug 20, 2009
Messages
6
I followed this
http://help.directadmin.com/item.php?id=247
and now named will not start

Yum no longer works. It says "No module named cElementTree"

So I pulled down python-celementtree-1.0.5-1.2.el5.rf.x86_64.rpm

and tried to install it with RPM and I get this

ibc.so.6()(64bit) is needed by python-celementtree-1.0.5-1.2.el5.rf.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by python-celementtree-1.0.5-1.2.el5.rf.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by python-celementtree-1.0.5-1.2.el5.rf.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by python-celementtree-1.0.5-1.2.el5.rf.x86_64
libpthread.so.0()(64bit) is needed by python-celementtree-1.0.5-1.2.el5.rf.x86_64
python-elementtree conflicts with python-celementtree-1.0.5-1.2.el5.rf.x86_64


Any ideas what is going on and how to fix it?
 
Reply to my post with an update... I got yum reinstalled but I am still getting this error

[root@server yum-rpm]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named cElementTree

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.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq


Yum is not working and my named server is not working after an update.

Please help
 
I don't meant ot hijack my own post but I have an update...

named would not start because of a ban zone
_default/xxx.xxx.xxx.xxx.in-addr.arpa


But yum is still not functioning.

Anyone have any clues about yum not working after an update/upgrade?
 
Unless you have ptr control you have no need for arpa records.

To fix your yum you should reinstall yum via rpm.
 
I reinstalled yum from RPM and I am still getting this issue.

I even installed the python-elementtree-1.2.6-7.el4.rf.i386.rpm

Any other ideas?


[root@server yum-rpm]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named cElementTree

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.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
 
yes... except they say to rebuild from source and really, what is the point of that when I can get the Distro RPMs?

I uninstalled the RPMs, downloaded the Distro RPMs and reinstalled.... still have the issue.
 
Maybe because the RPM's install isn't working for you? That would be a good enough reason for me.

Jeff
 
Have you tried this: https://www.centos.org/modules/newbb/viewtopic.php?forum=42&topic_id=3401&viewmode=threaded

I have had this error myself due to my custom installation, the fix is fairly easy. Download the source rpm for yum and rebuild it;

rpm --rebuild yum-2.4.2-2.centos4.src.rpm

Then installed the just built binary rpm;

rpm -Uvh /usr/src/redhat/RPMS/noarch/yum-2.4.2-2.centos4.noarch.rpm --force

yum should work after this.

Of course you need to adjust the version numbers for what you are using.
 
Back
Top