mdnsd not running

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

mdnsd not running

Postby dirtsandwich » Wed Mar 31, 2010 22:41

I'm running 5.2 amd 64. I'm having an issue browsing local file shares.

When I initially open Dolphin and go to a network share it will saying that it can't open the share - probably because of a firewall, or it will just say timeout on server. Sometimes it will give me the message 'The Zeroconf daemon (mdnsd) is not running'. After 3-4 minutes I can browse network shares normally but it will happen again if I don't browse a network share for a couple hours.

In searching around it looks like the issue is something to do with Avahi, but I'm not sure what exactly.

Image

Thanks in advance!
dirtsandwich
Baby Hen
 
Posts: 14
Joined: Wed Mar 04, 2009 21:08

Re: mdnsd not running

Postby Fitzcarraldo » Wed Mar 31, 2010 23:32

Strange. mdnsd is the mDNSResponder daemon, and mDNSResponder was made obsolete by Avahi (see my post Re: stabalizing 3.4f (known Issues and Fixes) back in 2007), so I wouldn't expect mdnsd to be running, and it isn't in my case:

Code: Select all
# locate mdnsd
/usr/portage/net-misc/mDNSResponder/files/mdnsd.init.d
# rc-update show -v | grep mdnsd
#

I think this might be either a Samba bug or a Samba configuration problem on your particular PC as I have never experienced what you are seeing. I don't have a Samba share browsing problem, but you could launch the Avahi daemon to see if it helps you. You can check if it's running already as follows:

Code: Select all
# ls /etc/init.d/avahi-daemon
/etc/init.d/avahi-daemon

^Shows the daemon's init script is present on my laptop.

Code: Select all
# rc-update show -v | grep avahi
         avahi-daemon |                                               
       avahi-dnsconfd |

^Shows the daemon is not running on my laptop.

To run it now, enter the following command as root user in a Konsole/Terminal window:

Code: Select all
/etc/init.d/avahi-daemon start

If that gets rid of your problem, to make your PC launch the daemon automatically every time you boot do the following as root user:

Code: Select all
rc-update add avahi-daemon default
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: mdnsd not running

Postby dirtsandwich » Thu Apr 01, 2010 0:24

Thanks for the reply Fitzcarraldo, but it didn't fix the problem.
dirtsandwich
Baby Hen
 
Posts: 14
Joined: Wed Mar 04, 2009 21:08

Re: mdnsd not running

Postby Fitzcarraldo » Thu Apr 01, 2010 1:34

Aha! avahi-daemon is only half the story. Also run the Avahi DNS config daemon:

Code: Select all
# /etc/init.d/avahi-dnsconfd start

If that works with the other daemon also running, add them both to the default run level.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest

cron