MPD Show Stopper: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 18: Line 18:
daemon.err mpd[5585]: exception: failed to open log file "/var/log/mpd.log" (config line 7): Permission denied
daemon.err mpd[5585]: exception: failed to open log file "/var/log/mpd.log" (config line 7): Permission denied
daemon.err mpd[5866]: exception: failed to open log file "/var/log/mpd.log" (config line 7): Permission denied
daemon.err mpd[5866]: exception: failed to open log file "/var/log/mpd.log" (config line 7): Permission denied
</syntaxhighlight>'''Solution:''' Place the following two lines in <syntaxhighlight lang="text">
</syntaxhighlight>'''Solution:''' Place the following two lines in /etc/init.d/mpd; <syntaxhighlight lang="text">
touch /tmp/log/mpd.log
touch /tmp/log/mpd.log
chown mpd:mpd /tmp/log/mpd.log
chown mpd:mpd /tmp/log/mpd.log