jasonmc / forked-daapd

A re-write of the firefly media server (mt-daapd). It's released under GPLv2+. Please note that this git repository is a mirror of the official one at git://git.debian.org/~jblache/forked-daapd.git
http://blog.technologeek.org/2009/06/12/217
GNU General Public License v2.0
328 stars 45 forks source link

forked-daapd doesn't start #31

Closed simonklb closed 13 years ago

simonklb commented 13 years ago

Hi, I've got a problem getting forked-daapd to start up. The logs says:

[2011-02-23 16:46:37] main: Forked Media Server Version 0.12 taking off

[2011-02-23 16:46:37] main: mDNS init

[2011-02-23 16:46:37] mdns: Avahi state change: Client connecting

[2011-02-23 16:46:37] mdns: Failed to create service browser: Bad state

[2011-02-23 16:46:37] player: Could not add mDNS browser for AirTunes devices

[2011-02-23 16:46:37] main: Player thread failed to start

[2011-02-23 16:46:37] main: File scanner deinit

[2011-02-23 16:46:37] main: Database deinit

[2011-02-23 16:46:37] main: mDNS deinit

[2011-02-23 16:46:37] main: Exiting.

I have no clue what's wrong.

Help is much appreciated!

AntDok commented 13 years ago

In the forked-daapd.conf file set the log_level to "spam". This will give you a lot more information on what might be wrong. Although, from what you've posted it looks like you might have a problem with the avahi-daemon. Are you sure it's running on your system?

simonklb commented 13 years ago

That was it, thanks a lot! :)

stevesss commented 6 years ago

I'm having the same problem after forked-daapd v. 26 had been working flawlessly on ubuntu 16.04. I tried booting with different kernels, 4.15.0-13-generic, 4.48, etc but no luck. I'm looking for help since I haven't been able to figure this out on my own after a few days of dealing with it. Help? scan: Scanned 200 files... [2018-05-04 10:00:48] [ LOG] main: Player deinit [2018-05-04 10:00:52] [ LOG] scan: Scanned 400 files... [2018-05-04 10:00:52] [ LOG] main: Library scanner deinit [2018-05-04 10:00:52] [ LOG] lib: Library init scan completed in 5 sec (196 changes) [2018-05-04 10:00:52] [ LOG] main: Cache deinit [2018-05-04 10:00:52] [ LOG] main: Worker deinit [2018-05-04 10:00:52] [ LOG] main: Database deinit [2018-05-04 10:00:52] [ LOG] main: mDNS deinit [2018-05-04 10:00:52] [ LOG] main: Exiting.