You are not logged in.

#1 2009-04-01 04:30:53

Von-Dyke
Member
Registered: 2009-03-29
Posts: 21

Problem Setting Up MPD

So i followed the instructions to install MPD on the mpd wiki, arch instructions, installed sonata buuut when:

/etc/rc.d/mpd start

is run i get:

aaron@Ghost:~$ /etc/rc.d/mpd start
:: Starting Music Player Daemon                                                                                                                       [BUSY] /etc/rc.d/mpd: line 6:  4523 Aborted                 /usr/bin/mpd /etc/mpd.conf >&/dev/null

What am i doing wrong?

The 6th executable line in mpd.conf is:

pid_file "/var/run/mpd/mpd.pid"

If that helps at all.
Suggestions?

Offline

#2 2009-04-01 12:18:27

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Problem Setting Up MPD

What happens when you just run "mpd"?

Offline

#3 2009-04-02 05:36:46

Von-Dyke
Member
Registered: 2009-03-29
Posts: 21

Re: Problem Setting Up MPD

failed to stat playlist directory "/home/aaron/.mpd/playlists" (config line 16): No such file or directory
could not open pid_file "/var/run/mpd/mpd.pid" (at line 39) for writing: Permission denied
Aborted

Offline

#4 2009-04-02 09:51:16

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: Problem Setting Up MPD

In /etc/mpd.conf try changing the pid path to /home/aaron/.mpd/mpd.pid and then (as non-root) do

touch ~/.mpd/mpd.pid

Might be worth double checking your playlist path as well, at present it is reading it as being in .mpd

Last edited by rusty99 (2009-04-02 09:51:46)

Offline

#5 2009-04-02 14:25:18

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: Problem Setting Up MPD

Would you post your mpd.conf?


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#6 2009-04-02 14:37:02

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: Problem Setting Up MPD

This is most likely a permission problem.

If you start mpd as root, I think it changes immediately to the "mpd" user. Make sure that user has write permission on /var/run/mpd. Make sure your playlist directory exists and that mpd can write to it. Make sure it is allowed to read your songs (songs copied from a Windows FS (FAT, NTFS) will most likely have wrong permissions, something like -rwx------).

Offline

#7 2009-04-06 05:13:11

r6
Member
From: Melbourne
Registered: 2008-07-02
Posts: 156

Re: Problem Setting Up MPD

.

Last edited by r6 (2009-04-22 11:27:10)

Offline

Board footer

Powered by FluxBB