2014-09-04 0:29 GMT+04:00 Nicholas Fleisher <nfleis...@gmail.com>:
> On Wed Sep 03  9:39 PM, David Coppa wrote:
>> > Thanks, but unfortunately getting rid of the corrupted database doesn't
>> > help.  mpd can't seem to create a good new one from scratch.
>>
>> Double check your /etc/mpd.conf, check that /var/spool/mpd has the
>> right owner/group and permissions, have a look at /var/log/mpd/mpd.log
>> for errors...
>
> I tried reinstalling (including userdel/groupdel _mpd, and so forth) and
> starting with a fresh /etc/mpd.conf, but still no luck.
> Owner/group/permissions on /var/spool/mpd are correct (i.e. owner and
> group both _mpd, writeable for both).  The log shows mpd adding several
> songs and then abruptly quitting.  It complains twice about the mpdstate
> file being missing, but even after touch'ing it and setting appropriate
> ownership/permissions, I get the same error as before.
>
> The only other info I can think of that might be helpful: after the
> fresh reinstall and mpd startup, the /var/spool/mpd directory contains
> only mpd.pid and the playlists directory, i.e. mpd.db and mpdstate are
> both missing.  (though, as mentioned above, manually creating them and
> then retrying does not solve the problem).
>
> Thanks for all the suggestions.  Running out of ideas here...

Try ktrace then. You'll need to set up a complex command line with
sudo involved, but this would give you what system call fails (if any,
but I'm sure there it is).

--
  WBR,
  Vadim Zhukov

Reply via email to