From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 16:15:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AE411065679 for ; Thu, 19 Nov 2009 16:15:47 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from web24815.mail.ird.yahoo.com (web24815.mail.ird.yahoo.com [212.82.110.49]) by mx1.freebsd.org (Postfix) with SMTP id 122C88FC20 for ; Thu, 19 Nov 2009 16:15:46 +0000 (UTC) Received: (qmail 25070 invoked by uid 60001); 19 Nov 2009 16:15:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1258647345; bh=VOPlWJc10tfQ5Dk5lMNaeuRged/DNDR0KJ4KDqs97Gg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=OHZ22FtZGg7fcgNMrfkFQzWCFdtA8kmQTQ+h9gUjr6J7/Kp3QnVGBMVDf1exihmx89gv7pmpUB0mdJQBakPVOIe++jVIum8J3WQp257NLYG1nDeH9gwhGeO0K8ab7lyDy3psQ0TboezUcKKxURNAJCzdYwXJSZlUclDvvmdQTE8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fkMRYjKI7hRvsraH14+081C0gEVvf5G/5eDmw2TlUm8IF5dvy+xFE2OxXMTX09zb0e2EilW/qG95W0wI13zDDDOPOMVMwB0oj5s/BX0kDUy+7zC9FWLOiZcoGKU/KozIc221uMHB06ti/y+yjrL/DC37E/XyzupUO5lik1URUgo=; Message-ID: <964121.24574.qm@web24815.mail.ird.yahoo.com> X-YMail-OSG: 1c6zu7MVM1kVlBupyEeaLdxaFBU0V9IE0S6s0tkL1zhgU6o.q3tfAEOoSzVbKf5Ldgtr3Bn1AoDe_fSVgdIaH3DQ84Gd.CDWo01.eQ.pg5M3x1EZyTZKY.633TC0JRYIWVW39G6ErCtKqbrZx.wVX4p1V16FyGfkcPgFHTZy7lQpA3TIkO1drkteDgmBqtmhW_kXqC5A0ovauMdj_CNqligdp3.0P63c379PDPCibxUalpoi8FaimmcITQk8zkbuzHcOsxAV3yDGNW2w0HMFAVzZp_z9PsFsHfjZl0U85D7VWga9 Received: from [82.243.40.23] by web24815.mail.ird.yahoo.com via HTTP; Thu, 19 Nov 2009 08:15:45 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.8.100.260964 Date: Thu, 19 Nov 2009 08:15:45 -0800 (PST) From: "Alexandre L." To: FreeBSD Question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: FreeBSD port : audio/mpdscribble X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 16:15:47 -0000 Hi,=0A=0AI have installed mpdscribble on my laptop under 8.0-RC3 and config= ured it (/usr/local/etc/mpdscribble.conf).=0AI have add the line in /etc/rc= .conf=0Ampdscribble_enable=3D"YES" =0Ato launch it at startup but I got the= message =0Ampdscribble: Failed to create pidfile /var/run/mpdscribble.pid:= Permission denied=0A=0AIf I launch it from root or using the sudo command,= I haven't got problem.=0ABut from startup or from my user account (that is= in 'wheel' and 'operator' groups) I got the message above.=0A=0AI have cre= ated a system user called "mpdscribble" using the command :=0A# pw user add= mpdscribble -c "mpdscribble" \-d noexistent -s /usr/sbin/nologin=0Aand set= the option daemon_user in the conf file but I always got the same error.= =0A=0AHere my conf file /usr/local/etc/mpdscribble.conf :=0A=0A## mpdscribb= le - an audioscrobbler for the Music Player Daemon.=0A## http://mpd.wikia.c= om/wiki/Client:mpdscribble=0A=0A# HTTP proxy URL.=0A#proxy =3D http://the.p= roxy.server:3128=0A=0A# The location of the pid file. mpdscribble saves it= s process id there.=0Apidfile =3D /var/run/mpdscribble.pid=0A=0A# Change to= this system user after daemonization.=0A#daemon_user =3D mpdscribble=0A=0A= # The location of the mpdscribble log file. The special value=0A# "syslog"= makes mpdscribble use the local syslog daemon. On most=0A# systems, log m= essages will appear in /var/log/daemon.log then.=0A# "-" means log to stder= r (the current terminal).=0Alog =3D syslog=0A=0A# How verbose mpdscribble's= logging should be. Default is 1.=0Averbose =3D 1=0A=0A# How often should = mpdscribble save the journal file? [seconds]=0Ajournal_interval =3D 600=0A= =0A# The host running MPD, possibly protected by a password=0A# ([PASSWORD@= ]HOSTNAME). Defaults to $MPD_HOST or localhost.=0Ahost =3D localhost=0A=0A= # The port that the MPD listens on and mpdscribble should try to=0A# connec= t to. Defaults to $MPD_PORT or 6600.=0Aport =3D 6600=0A=0A[last.fm]=0Aurl = =3D http://post.audioscrobbler.com/=0Ausername =3Dmy_username=0Apassword = =3Dmy_password=0A# The file where mpdscribble should store its Last.fm jour= nal in case=0A# you do not have a connection to the Last.fm server.=0Ajourn= al =3D /var/cache/mpdscribble/lastfm.journal=0A=0A#[libre.fm]=0A#url =3D ht= tp://turtle.libre.fm/=0A#username =3D my_username=0A#password =3D my_passwo= rd=0A#journal =3D /var/cache/mpdscribble/librefm.journal=0A=0A#[jamendo]=0A= #url =3D http://postaudioscrobbler.jamendo.com/=0A#username =3D my_username= =0A#password =3D my_password=0A#journal =3D /var/cache/mpdscribble/jamendo.= journal=0A=0AThank you in advance.=0A=0A=0A