-
6th August 2009, 12:22 PM
#1
If you can ping but almost nothing else (including yum) works
I'll make this sticky till it's fixed.
If you have a 64 bit system, and install wine, chromium, or possibly some other programs, you may suddenly find that although pinging by hostname and graphical browsers work, most other things, such as ssh by hostname, and even yum, are suddenly unable to resolve DNS.
This is caused by some packages that are 32 bit only, such as the abovementioned wine and chromium, pull in a package called nss-mdns, but pull in the 32 bit version.
The package rudely overwrites your nsswitch.conf, adding a line to break most things. 
One fix is to edit /etc/nsswitch.conf. You will see a line
hosts: files mdns4_minimal [NOTFOUND=return] dns
Put a # in front of the line to comment it out.
Now, things will work again.
Now that yum is working do
yum -y install nss-mdns
This will install the 64 bit version of the package. Once you have the 64 bit version installed, it will probably once again overwrite nsswitch.conf, re-adding the offending line, but that's fine--if you have the 64 bit version it will work.
If for some reason, it doesn't rewrite the file again, as a reader pointed out, be sure to uncomment the line again by removing the # sign.
It is a known bug, so will hopefully be fixed in the near future.
Last edited by scottro; 11th September 2009 at 12:17 PM.
Reason: Additional info
--
http://srobb.net
Similar Threads
-
By progressive in forum Servers & Networking
Replies: 3
Last Post: 19th June 2009, 07:20 PM
-
By WhiteFeather in forum Servers & Networking
Replies: 4
Last Post: 10th April 2009, 01:21 AM
-
By khandu in forum Using Fedora
Replies: 11
Last Post: 5th May 2008, 08:03 AM
-
By razvan_vlad in forum Servers & Networking
Replies: 8
Last Post: 28th January 2007, 02:41 AM
-
By Shade in forum Servers & Networking
Replies: 3
Last Post: 25th July 2006, 09:45 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
[[template footer(Guest)]]