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, I have installed mpdscribble on my laptop under 8.0-RC3 and configured it (/usr/local/etc/mpdscribble.conf). I have add the line in /etc/rc.conf mpdscribble_enable="YES" to launch it at startup but I got the message mpdscribble: Failed to create pidfile /var/run/mpdscribble.pid: Permission denied If I launch it from root or using the sudo command, I haven't got problem. But from startup or from my user account (that is in 'wheel' and 'operator' groups) I got the message above. I have created a system user called "mpdscribble" using the command : # pw user add mpdscribble -c "mpdscribble" \-d noexistent -s /usr/sbin/nologin and set the option daemon_user in the conf file but I always got the same error. Here my conf file /usr/local/etc/mpdscribble.conf : ## mpdscribble - an audioscrobbler for the Music Player Daemon. ## http://mpd.wikia.com/wiki/Client:mpdscribble # HTTP proxy URL. #proxy = http://the.proxy.server:3128 # The location of the pid file. mpdscribble saves its process id there. pidfile = /var/run/mpdscribble.pid # Change to this system user after daemonization. #daemon_user = mpdscribble # The location of the mpdscribble log file. The special value # "syslog" makes mpdscribble use the local syslog daemon. On most # systems, log messages will appear in /var/log/daemon.log then. # "-" means log to stderr (the current terminal). log = syslog # How verbose mpdscribble's logging should be. Default is 1. verbose = 1 # How often should mpdscribble save the journal file? [seconds] journal_interval = 600 # The host running MPD, possibly protected by a password # ([PASSWORD@]HOSTNAME). Defaults to $MPD_HOST or localhost. host = localhost # The port that the MPD listens on and mpdscribble should try to # connect to. Defaults to $MPD_PORT or 6600. port = 6600 [last.fm] url = http://post.audioscrobbler.com/ username =my_username password =my_password # The file where mpdscribble should store its Last.fm journal in case # you do not have a connection to the Last.fm server. journal = /var/cache/mpdscribble/lastfm.journal #[libre.fm] #url = http://turtle.libre.fm/ #username = my_username #password = my_password #journal = /var/cache/mpdscribble/librefm.journal #[jamendo] #url = http://postaudioscrobbler.jamendo.com/ #username = my_username #password = my_password #journal = /var/cache/mpdscribble/jamendo.journal Thank you in advance.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?964121.24574.qm>
