From owner-freebsd-ports@FreeBSD.ORG Mon May 9 06:19:48 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F04816A4E6 for ; Mon, 9 May 2005 06:19:48 +0000 (GMT) Received: from linion.ion.lu (linion.ion.lu [80.90.47.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C3F743D6A for ; Mon, 9 May 2005 06:19:46 +0000 (GMT) (envelope-from steve@ion.lu) Received: (qmail 75172 invoked by uid 0); 9 May 2005 08:19:45 +0200 Received: from 80.90.38.177 by linion.ion.lu (envelope-from , uid 89) with qmail-scanner-1.24-st-qms (clamdscan: 0.81/685. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(80.90.38.177):SA:0(-5.7/5.0):. Processed in 7.678938 secs); 09 May 2005 06:19:45 -0000 X-Spam-Status: No, hits=-5.7 required=5.0 X-Antivirus-ION.LU-Mail-From: steve@ion.lu via linion.ion.lu X-Antivirus-ION.LU: 1.24-st-qms (Clear:RC:0(80.90.38.177):SA:0(-5.7/5.0):. Processed in 7.678938 secs Process 75138) Received: from vodsl-1713.vo.lu (HELO ?192.168.0.21?) (steve@ion.lu@80.90.38.177) by linion.ion.lu with SMTP; 9 May 2005 08:19:37 +0200 Message-ID: <427F00F7.3070403@ion.lu> Date: Mon, 09 May 2005 08:19:35 +0200 From: Steve Clement Organization: ION Network Solutions User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050405) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alan References: In-Reply-To: X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org cc: Alan Curtis cc: Meno.Abels@Adviser.com Subject: Re: starting mt-daapd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 06:19:48 -0000 -----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@ion.lu http://www.ion.lu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCfwD2MH8DIBsiCrgRAi/2AKCxPByVdNjYpVGCHhN50+D6iOG4pgCfUpG9 2/ce24SP8RKRJMHM45sWfeQ= =dJCv -----END PGP SIGNATURE-----