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

Can't scan files or folders after starting forked-daapd #12

Open jaimefordham opened 14 years ago

jaimefordham commented 14 years ago

I'm running the latest version of forked-daapd and when I start the daemon, it exits and is unable to scan files/folders.

Here's the log output:

[2010-09-06 00:06:52] main: Forked Media Server Version 0.11 taking off [2010-09-06 00:06:53] main: mDNS init [2010-09-06 00:06:53] mdns: Avahi state change: Client running [2010-09-06 00:06:53] scan: Could not create eventfd: Invalid argument [2010-09-06 00:06:53] main: File scanner thread failed to start [2010-09-06 00:06:53] main: Database deinit [2010-09-06 00:06:53] main: mDNS deinit [2010-09-06 00:06:53] main: Exiting.

citruschris commented 13 years ago

I am seeing exactly the same log output? Debian Lenny

citruschris commented 13 years ago

It seems its not compatible with lenny it needs Squeeze

markboekelaar commented 13 years ago

Hi, i'm running squeeze and installed forked-daapd from apt, and i'm also having this issue.

My log: [2010-11-23 20:13:27] main: Forked Media Server Version 0.11 taking off [2010-11-23 20:13:27] main: mDNS init [2010-11-23 20:13:27] mdns: Avahi state change: Client running [2010-11-23 20:13:27] scan: Could not create eventfd: Invalid argument [2010-11-23 20:13:27] main: File scanner thread failed to start [2010-11-23 20:13:27] main: Database deinit [2010-11-23 20:13:27] main: mDNS deinit [2010-11-23 20:13:27] main: Exiting.

oakwood:~# dpkg -l forked-daapd Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii forked-daapd 0.12~git0.11-1 media server with support for RSP, DAAP, DAC

Does anyone know why this does'nt work?

markboekelaar commented 13 years ago

Nevermind, upgrade to 0.12 fixed my issue.

sergejnovosibirsk commented 12 years ago

Hello, it seems that this issue comes out when using older kernels that are not able to handle FD_CLOEXEC and EFD_NONBLOCK. Is there any workaround how to bypass these? Thx!

simpleg commented 12 years ago

Hello, Does any one have found a solution to this problem ? I have build forked-daapd release 0.19 and I encounter the problem, I'm using a debian squeeze on a SAN server (armv5 arch) with kernel 2.6.22.18.

Thanks