Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 08:15:45 -0800 (PST)
From:      "Alexandre L." <axelbsd@ymail.com>
To:        FreeBSD Question <freebsd-questions@freebsd.org>
Subject:   FreeBSD port : audio/mpdscribble
Message-ID:  <964121.24574.qm@web24815.mail.ird.yahoo.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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      



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?964121.24574.qm>