Squeeze Box Server not Starting on Synology
Strangely enough, my squeeze box server which was running like a charm on my Synology DS210j decided not to start this morning.
I first tried to run it from the service control panel again but that didn’t help either, although I got a message from the panel saying it was running, it in fact wasn’t.
Next, I tried to run it manually from an SSH shell:
/usr/bin/perl -w /volume1/@appstore/SqueezeCenter/slimserver.pl --daemon --user admin --pidfile /volume1/@appstore/SqueezeCenter
and found out that it was simply blocking because it could not write to the log file:
Can't open /volume1/@appstore/SqueezeCenter/Logs/server.log (Permission denied) at /volume1/@appstore/SqueezeCenter/CPAN/Log/Log4perl/Appender/File.pm line 103.
Looking at the server.log file it somehow belonged to root while the slimserver was started with admin. Changing the owner of the server.log file worked fine and solved the bug.