pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mpd not coming up when booting



Hi!

I've installed the mpd rc.d script and added "mpd=YES" to rc.conf.

During boot, I get:
Starting mpd.
music directory is not a directory: "/archive/music/music"
playlist directory is not a directory: "/archive/music/music/playlists"
Failed to load database: Failed to open database file 
"/archive/music/music/.mpddb": Permission denied
database: Couldn't stat parent directory of db file 
"/archive/music/music/.mpddb": Permission denied
/etc/rc.d/mpd exited with code 1

# ls -ald /archive 
drwxr-xr-x  5 root  wheel  512 Jan 11 17:59 /archive
# ls -ald /archive/music 
lrwxrwxr-x  1 root  wheel  21 Jul 27  2009 /archive/music -> 
/disk/3/archive/music
# ls -ald /archive/music/
drwxr-xr-x  13 wiz  archive  512 Feb 28 20:01 /archive/music/
# ls -ald /archive/music/music 
drwxr-xr-x  294 wiz  archive  7168 Mar  1 11:27 /archive/music/music

When I start the script manually after the boot, it works fine.
I thought it might be some mounting issue, so I added "mountall" to
REQUIRE in /etc/rc.d/mpd, but that didn't change a thing.

Any ideas what could go wrong here?
 Thomas


Home | Main Index | Thread Index | Old Index