starting mt-daapd

Steve Clement steve at ion.lu
Sun May 8 23:19:48 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan wrote:

>
> On Jan 28, 2005, at 10:00 PM, Alan Curtis wrote:
>
>> I installed mt-daapd and used the default config file
>>
>> but when I try to start it using
>>
>> /usr/local/etc/rc.d/mt-daapd.sh start
>>
>> I get the following message
>>
>> Invalid config directive: Error reading config file
>> (/usr/local/etc/mt-daapd.conf)
>>
>> I deleted all the empty lines and now get the message
>>
>> 2005-01-29 02:53:24: Starting rendezvous daemon 2005-01-29
>> 02:53:24: Starting signal handler 2005-01-29 02:53:24: Loading
>> playlists 2005-01-29 02:53:24: Initializing database 2005-01-29
>> 02:53:24: Starting mp3 scan 2005-01-29 02:53:24: Starting web
>> server from /usr/local/share/mt-daapd/admin-root on port 3689
>> 2005-01-29 02:53:24: Rendezvous pipe closed... Exiting 2005-01-29
>> 02:53:24: Aborting
>>
>>
I had the same problem and found out that:

mtdaapd -f -c /usr/local/etc/mt-daapd.conf

Runs without any problems but backgrounding it when omitting -f it
crashes.

>
> I found the answer to this problem at the mt-daapd home site
> Forums. It is "It's a freebsd threads thing." apparently.
>
> I installed the nightly snapshot of mt-daapd from
> http://www.pedde.com/mt-daapd/mt-daapd-cvs-20050123.tar.gz.
>
> It would not initially compile as it could not find gdbm.h. I ran
> configure with
>
> ./configure --with-gdbm-includes=/usr/local/include
> --with-gdbm-libs=/usr/local/lib
>
> and it then compiled.
>
> Using the example mt-daapd config file gave the following message
> when starting mt-daapd
>
> Invalid config directive: Error reading config file
> (/usr/local/etc/mt-daapd.conf)
>
> I edited mt-daapd.conf removing all empty lines and tried again to
> start mt-daapd.


This should actually be a pkg-message cause it had to google for that
one :(

>
> Now everything works fine.


So it should get updated...


cheers,

Steve C

- --
ION Network Solutions
Steve Clement
Unix System Administrator
209, rue des Romains
L-8041 Bertrange
Tel: +352 261 276-2
Fax: +352 261 276-9
mailto:steve at ion.lu
http://www.ion.lu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCfwD2MH8DIBsiCrgRAi/2AKCxPByVdNjYpVGCHhN50+D6iOG4pgCfUpG9
2/ce24SP8RKRJMHM45sWfeQ=
=dJCv
-----END PGP SIGNATURE-----



More information about the freebsd-ports mailing list