You are not logged in.
Pages: 1
Hello, community.
I just upgraded mpd to 0.12.1 and from then I cannot get it working.
As said in the change log I used to /etc/mpd.conf.example to build my new /etc/mpd.conf. But anyway each /etc/rc.d/mpd start or stop or restart will FAIL without any information about the occuring error.
Can someone give me an advice how I can get information about the error or even check my config file?
Thanks a lot. (:
Hail to the thief!
Offline
Post the output of
tail ~/.mpd/mpd.error
Offline
That's why I'm kind of clueless. There is no log. :
Hail to the thief!
Offline
Try changing the log level to verbose?
I am a gated community.
Offline
Yes, tried it but that won't work either. :
Hail to the thief!
Offline
run the mpd command directly (use --help to find out how to point to the config file) and see what it outputs.
Offline
Thanks a lot, that worked for me. Well not really worked but it displayed some errors and helped me fixing the mpd.conf.
First I defined two mixer types which was wrong. Second of all there's a problem running mpd as user nobody. Because nobody has neither a bash nor a home folder, mpd could not write ~/.mpd/mpd.log or something.
But there's still a question: I want to run mpd as the user nobody. Because there's no home folder I used again /etc/mpd to store all that files like log-file, error-file, etc. as I did in the preceding version of mpd but nobody seems not to be able to write this directory either:
problem opening log file "/etc/mpd/mpd.log" (config line 8) for writing
What's in fact not really surprising:
drwxr-xr-x 2 root root 4,0K 2006-10-23 09:30 mpd
But I'm not quite sure how to handle this best: Should I give write permission to nobody on /etc/mpd by simple owning it by nobody or by the user-group? Or shall I use another way?
Thanks a lot and sorry for my creepy english.
Hail to the thief!
Offline
this is how i do it...
create a user mpd and have their home directory point to /var/lib/mpd or /home/mpd or whatever you want. give them only permissions to that directory and nothing else. use symlinks to point to all your music.
in mpd.conf, set the user to mpd. and viola! secure, quick and easy.
Offline
this is how i do it...
create a user mpd and have their home directory point to /var/lib/mpd or /home/mpd or whatever you want. give them only permissions to that directory and nothing else. use symlinks to point to all your music.
in mpd.conf, set the user to mpd. and viola! secure, quick and easy.
That's basically how I do it as well, but without the symlinks (although that technique is very common). I have a <code>/home/share/music/</code> directory with the sticky bit set, so anyone using my computer could theoretically add their own music and be able to listen to everyone else's as well, but not remove other people's music. I then have the mpd controlled stuff inside that music directory:
drwxr-xr-x 3 mpd audio 208 2006-10-22 13:12 .mpd/
Offline
Thanks for advice.I'll copy that.
Hail to the thief!
Offline
run the mpd command directly (use --help to find out how to point to the config file) and see what it outputs.
Thanks for the advice, you've allowed me to solve my problem (mpd didn't find my playlists directory)
Offline
Pages: 1