You are not logged in.

#1 2014-05-31 17:30:17

gasman49
Member
Registered: 2014-05-31
Posts: 3

MPD - just cannot get it to start (SOLVED)

Hi

I cannot start MPD

in mpd.conf i have the following

music_directory                   "/mnt/NAS_music/flac"
db_file                           "/home/neill/mpd-configure/mpd/mpd.db"
log_file                          "/home/neill/mpd-configure/mpd/mpd.log"
playlist_directory                "/home/neill/mpd-configure/mpd/playlists"
pid_file                          "/home/neill/mpd-configure/mpd/pid"
state_file                        "/home/neill/mpd-configure/mpd/state"

If I start mpd without the mpd.db file existing I get a 'file not found error'

If I start mpd having

 touch mpd.db 

then I get

 db: Database corrupted 

In desperation I

 chmod 777 -R /mpd-configure 

but to no avail

Pulling my hair out here

Any ideas anyone???

Last edited by gasman49 (2014-05-31 19:58:53)

Offline

#2 2014-05-31 18:20:32

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: MPD - just cannot get it to start (SOLVED)

That is not really a problem. Since this is your first time running mpd there hasn't been a database update. Start mpd, start some mpd client like ncmpcpp and update database using that client. Same thing happened to me.

Should we report this as a (minor) bug?

Caution: mpd's update command is deprecated.

Offline

#3 2014-05-31 18:27:02

gasman49
Member
Registered: 2014-05-31
Posts: 3

Re: MPD - just cannot get it to start (SOLVED)

Thanks

Got the daemon started and run

 mpc update 

very quickly I drop back to the command prompt and the DB has a tiny fraction of he songs in it

Seems the update process started then aborted!

Permissions on all the .AACs and .flacs is 777 so can't see why only a small fraction gets put in the DB??

Offline

#4 2014-05-31 18:30:40

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: MPD - just cannot get it to start (SOLVED)

What does mpd.log say?


Use the Source, Luke!

Offline

#5 2014-05-31 18:33:19

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: MPD - just cannot get it to start (SOLVED)

Stupid question: Did you wait for update to finish? It can take a while if you have a lot of music, and those formats make me think you do.

Offline

#6 2014-05-31 19:55:55

gasman49
Member
Registered: 2014-05-31
Posts: 3

Re: MPD - just cannot get it to start (SOLVED)

Not a stupid question at all !!

Not being a patient soul (!) I didn't

Doh !!

10 minutes later there it is

:-)

Thanks for the help people

Offline

#7 2014-05-31 19:57:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: MPD - just cannot get it to start (SOLVED)

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB