You are not logged in.
Pages: 1
Hi everyone,
It makes a while since I can't update mpd's db.
If I do it through gmpc it just do nothing.
If I do it in a terminal:
mpd --create-db
log: problem opening log file "/var/log/mpd/mpd.log" (config line 37) for writing
or
sudo mpd --create-db
listen: Failed to listen on *:6600: Adress already in use
Abandon
There is no client running to block the port 6600, but I think this last error is normal anyway.
I did not changed nothing since it has worked, so I have no idea...
Any idea welcome.
[edit]
Just to mention that all the logfiles belongs to user mpd and group mpd with r-w acces, so I don't see any permission problem here.
Last edited by k2000 (2010-03-05 01:12:40)
Offline
Look at the permissions of the log file MPD complains about and give it write permissions for the user mpd actually runs as – I'm running it as own account and wondered about the same thing back then.
Last edited by Runiq (2010-03-03 00:53:22)
Offline
See this link.
Offline
Thanks to both of you.
n0dix, the link you propose concern the "Failled to listen *:6600..." error, but this is not really my problem. I mean, some weeks ago database update via gmpc worked, but I got that error when updating with mpd --create-db, so I guess that's not the point.
And for the permission problem, as I said, all the files belongs to mpd user and group with read/write access... maybe I'll double-check this anyway. But tomorrow
thanks again.
Offline
misread your question, could you post your mpd config file?
@smakked below me, I believe --update-db was deprecated, not --create-db.
Last edited by stefanwilkens (2010-03-03 03:12:10)
Arch i686 on Phenom X4 | GTX760
Offline
Isnt "mpd --create-db" depreciated now in the latest mpd?
Certified Android Junkie
Arch 64
Offline
Isnt "mpd --create-db" depreciated now in the latest mpd?
yes it is, Mpd Arch Wiki: "The previous method, creating the MPD database as root (# mpd --create-db), is deprecated."
Offline
ok, I got rid of the fist error about the log.
Normally all my music directory belongs to the group 'musak' , witch mpd is member, but some folder didnt.
I did a chmod -R pascal:musak on the directory and I don't have the "problem opening log" error anymore. Just the error about the port 6600.
So the db does not upgrade.
I knew that "mpd --create-db" was deprecated, but it was still working.
Still reading some threads, hope I'll come back with a solution soon.
p.s. I hope I don't say things that makes no sense, my english is not really good I think, but the english forum seems more complete than the frecch one.
Offline
Finally got it, chmod -R 775 on music directory does the job...
From the link n0dix has provided.
Thanks everyones
[edit]
killing conky too, it display the running track, but I think it blocks the update.
Last edited by k2000 (2010-03-05 01:13:42)
Offline
Pages: 1