You are not logged in.

#1 2009-06-16 20:11:28

HideoV
Member
Registered: 2009-04-20
Posts: 5

[SOLVED][MPD] Error on the startup

Hi big_smile
In the last days I saw that MPD get some error when shutting down the computer.
Today it got errors in the startup.
When I try to start it from the terminal I get this:

[hideo@hideo ~]$ sudo /etc/rc.d/mpd start
Password: 
:: Starting Music Player Daemon                                          [BUSY] 
/etc/rc.d/mpd: line 6:  2077 Aborted                 /usr/bin/mpd /etc/mpd.conf >&/dev/null
                                                                         [FAIL]

Trying to restart it I get:

[hideo@hideo ~]$ sudo /etc/rc.d/mpd restart
Password: 
:: Stopping Music Player Daemon                                          [BUSY] 
/etc/rc.d/mpd: line 6:  3134 Aborted                 /usr/bin/mpd --kill /etc/mpd.conf >&/dev/null
                                                                         [FAIL] 
:: Starting Music Player Daemon                                          [BUSY]
 /etc/rc.d/mpd: line 6:  3143 Aborted                 /usr/bin/mpd /etc/mpd.conf >&/dev/null
                                                                         [FAIL]

What's wrong, can it be something with the mpd.conf? I thought the error on the shutdown started when I tryed to edit inittab, xinitrc and related stuff, but I undid all the changes and the error is still here.
Thank you smile

Last edited by HideoV (2009-06-17 15:53:17)

Offline

#2 2009-06-16 20:12:08

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

Re: [SOLVED][MPD] Error on the startup

This is an english forum... at least i dont understand a word...


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

#3 2009-06-16 20:15:14

HideoV
Member
Registered: 2009-04-20
Posts: 5

Re: [SOLVED][MPD] Error on the startup

Ouch, I just opened the wrong link! I thought I was in the italian forum. Sorry!! I translate it now!

Offline

#4 2009-06-16 21:36:24

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Re: [SOLVED][MPD] Error on the startup

Have you read the wiki entry about MPD ?


If it ain't broke, broke it then fix it.

Offline

#5 2009-06-16 22:02:53

HideoV
Member
Registered: 2009-04-20
Posts: 5

Re: [SOLVED][MPD] Error on the startup

I goggled " /usr/bin/mpd /etc/mpd.conf >&/dev/null" but I didn't find anything useful.
The wiki has an entry for that string (http://wiki.archlinux.org/index.php/MPD … y_on_start) but it seems useless to me... (or maybe I can't understand it smile but there is no italian wiki)

Offline

#6 2009-06-16 22:21:15

geoisis
Member
From: greece
Registered: 2007-09-02
Posts: 100
Website

Re: [SOLVED][MPD] Error on the startup

edit /etc/rc.d/mpd file and change :

 /usr/bin/mpd /etc/mpd.conf >&/dev/null

to

 /usr/bin/mpd /etc/mpd.conf >& /dev/null

Archlinux x86_64 | post-engineering | last.fm

Offline

#7 2009-06-17 00:00:43

HideoV
Member
Registered: 2009-04-20
Posts: 5

Re: [SOLVED][MPD] Error on the startup

wow...what a weird thing... /etc/rc.d/mpd says

/usr/bin/mpd /etc/mpd.conf &> /dev/null

but the error is

/usr/bin/mpd /etc/mpd.conf >&/dev/null

Offline

#8 2009-06-17 13:36:05

bearcat
Member
From: Arkansas
Registered: 2009-03-20
Posts: 12

Re: [SOLVED][MPD] Error on the startup

From my experience, all that error means is that something, somewhere, isn't right. It's not a very helpful message.
Make sure that mpd.conf is set up right, especially make sure that all the files you specified in it exist.

Offline

#9 2009-06-17 15:53:02

HideoV
Member
Registered: 2009-04-20
Posts: 5

Re: [SOLVED][MPD] Error on the startup

I checked the mpd configuration files and noticed that the database was 0 bytes, so I recreated it, restarted mpd deamon and now it works well.
Thank you!

Offline

#10 2009-12-25 19:45:02

x0rg
Member
From: Switzerland
Registered: 2009-07-12
Posts: 116

Re: [SOLVED][MPD] Error on the startup

I just had the same problem and I got proper error messages by changing

 /usr/bin/mpd /etc/mpd.conf >& /dev/null

to

 /usr/bin/mpd /etc/mpd.conf  #>& /dev/null

Then it shows in which line in /etc/mpd.conf it found the error

Offline

Board footer

Powered by FluxBB