You are not logged in.

#1 2011-09-27 13:44:35

Czarcasmo
Member
From: Colorado Springs, Colorado
Registered: 2011-04-20
Posts: 82

MPD will not start

Hi all,

I have heard many good things about using MPD and I'm sure I'd love it...if I could get it to start. I followed the install instructions from the MPD wiki and some of the troubleshooting steps listed on the Arch Wiki, nor do any threads I find in the forums alleviate my problem.

I have added mpd to my daemons array after network and after alsa and even after logging in (I am using XFCE, if that matters), I am unable to start it from terminal as root (/etc/rc.d/mpd start).

Please let me know any files you may need to see to help me troubleshoot - thank you in advance for any help!

Cheers,
Czar.


Laptop: Lenovo X1 Carbon, Core i7 2.0Ghz, 8GB RAM, Gnome 3.16

Offline

#2 2011-09-27 13:49:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MPD will not start

Any erros in the console when you try to start it up? Check you bootlog too.

What version of mpd are you using - from the repos, from AUR or ...?

Last edited by karol (2011-09-27 13:52:14)

Offline

#3 2011-09-27 17:52:23

Czarcasmo
Member
From: Colorado Springs, Colorado
Registered: 2011-04-20
Posts: 82

Re: MPD will not start

Hi Karol,

Apologies for the delayed response as you were quick with some help for me. I installed MPD from the repo (pacman -S mpd), which is 0.16.4-1.

When checking the bootlog, I do not see any entries or notations of mpd even though it is in my daemons array in /etc/rc.conf. If I go to the terminal and enter

/etc/rc.d/mpd start

it results in [FAIL].

Again, thank you for the help.

Cheers,
Czar.


Laptop: Lenovo X1 Carbon, Core i7 2.0Ghz, 8GB RAM, Gnome 3.16

Offline

#4 2011-09-27 17:55:57

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: MPD will not start

Czarcasmo wrote:

Hi Karol,

Apologies for the delayed response as you were quick with some help for me. I installed MPD from the repo (pacman -S mpd), which is 0.16.4-1.

When checking the bootlog, I do not see any entries or notations of mpd even though it is in my daemons array in /etc/rc.conf. If I go to the terminal and enter

/etc/rc.d/mpd start

it results in [FAIL].

Again, thank you for the help.

Cheers,
Czar.

naaaah... thats not how to find out... start mpd by running "/usr/bin/mpd" as root"
dont start the rc.d script


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#5 2011-09-27 17:58:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MPD will not start

Cannot reproduce, it start OK for me. All I did was

pacman -S mpd
sudo cp /usr/share/mpd/mpd.conf.example /etc/mpd.conf

as per the install note:

==> Create a configuration file /etc/mpd.conf before using MPD (example: /usr/share/mpd/mpd.conf.example)

I get a [FAIL] w/o the config file though.

Offline

#6 2011-09-27 18:04:42

Czarcasmo
Member
From: Colorado Springs, Colorado
Registered: 2011-04-20
Posts: 82

Re: MPD will not start

Rasi wrote:

naaaah... thats not how to find out... start mpd by running "/usr/bin/mpd" as root"
dont start the rc.d script

Okay, you may be on to something here. I had configured all my options in /etc/mpd.conf. I will have to go to the wiki again to see where the other config file is at. Do I still start it through the DAEMONS array?

Cheers,
Czar.


Laptop: Lenovo X1 Carbon, Core i7 2.0Ghz, 8GB RAM, Gnome 3.16

Offline

#7 2011-09-27 18:05:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MPD will not start

@Rasi

[root@black ~]# /usr/bin/mpd
Failed to bind to '[::]:6600': Failed to create socket: Address family not supported by protocol

But I haven't edited the configs, so it may be just misconfiguration on my part.
mpd starts up  - I can see it the process running.

Offline

#8 2011-09-27 18:07:58

Czarcasmo
Member
From: Colorado Springs, Colorado
Registered: 2011-04-20
Posts: 82

Re: MPD will not start

karol wrote:

Cannot reproduce, it start OK for me. All I did was

pacman -S mpd
sudo cp /usr/share/mpd/mpd.conf.example /etc/mpd.conf

as per the install note:

==> Create a configuration file /etc/mpd.conf before using MPD (example: /usr/share/mpd/mpd.conf.example)

I get a [FAIL] w/o the config file though.

Hi Karol,

I did this initially and it has not worked for me yet. I was working on what Rasi showed me and it was pulling options (playlists, etc) from somewhere else, so I am looking for where that is now. Hopefully I will get this working soon...it's getting boring with no music. tongue

Cheers,
Czar.


Laptop: Lenovo X1 Carbon, Core i7 2.0Ghz, 8GB RAM, Gnome 3.16

Offline

#9 2011-09-27 18:14:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MPD will not start

Not sure if I get it, but

[karol@black ~]$ ps -C mpd -o args=
/usr/bin/mpd /etc/mpd.conf

shows mine is using the /etc/mpd.conf config.

Offline

#10 2011-09-27 18:31:02

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: MPD will not start

in the wiki you will find a little script created by me, to take away the hassle to configure mpd.
only one difference to "normal" way. mpd has to be started by user instead by daemon script. try this one.
https://wiki.archlinux.org/index.php/Mu … uick_setup
extract it, run it. done

Last edited by Rasi (2011-09-27 18:31:14)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#11 2011-09-27 18:38:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MPD will not start

@Rasi

Should I create entries in /etc/hosts.allow for you?

hosts.allow is deprecated ;P

Offline

#12 2011-09-27 19:58:03

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: MPD will not start

karol wrote:

@Rasi

Should I create entries in /etc/hosts.allow for you?

hosts.allow is deprecated ;P

bla... say no then smile its included because lots of people will continue to use it

Last edited by Rasi (2011-09-27 19:58:32)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#13 2011-10-02 12:41:50

Czarcasmo
Member
From: Colorado Springs, Colorado
Registered: 2011-04-20
Posts: 82

Re: MPD will not start

Karol, Rasi,

Thanks so much for your help. I still haven't figured out what the problem and have been unsuccessful so far in getting the daemon to run properly. I am preparing to travel, so for the time being, I am abandoning the effort to get mpd working and will have to work on it when I get back. Time to use a "regular" install-and-use program to handle my music until I have the time to sit and play for a bit.

I didn't want you guys thinking I took a solution and ran without giving proper credit. smile

Again - thanks for your help in helping me troubleshoot this.

Cheers,
Czar.


Laptop: Lenovo X1 Carbon, Core i7 2.0Ghz, 8GB RAM, Gnome 3.16

Offline

#14 2011-10-02 12:58:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MPD will not start

May your travels enlighten you so you can find a way to the Holy Grail working mpd. Have fun :-)

Offline

#15 2011-10-02 19:48:30

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: MPD will not start

Czarcasmo wrote:

Karol, Rasi,

Thanks so much for your help. I still haven't figured out what the problem and have been unsuccessful so far in getting the daemon to run properly. I am preparing to travel, so for the time being, I am abandoning the effort to get mpd working and will have to work on it when I get back. Time to use a "regular" install-and-use program to handle my music until I have the time to sit and play for a bit.

I didn't want you guys thinking I took a solution and ran without giving proper credit. smile

Again - thanks for your help in helping me troubleshoot this.

Cheers,
Czar.

uhm... downloading that script and running it takes what? 10 seconds?


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

Board footer

Powered by FluxBB