starting mt-daapd
Alan
pheon at mac.com
Sat Jan 29 09:40:50 PST 2005
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
>
> in the log file.
>
> How do I get this thing running?
>
> Alan
>
>
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.
Now everything works fine.
Alan
More information about the freebsd-ports
mailing list