Two days I tried to understand why SlimServer doesn’t start under my Plutohome system. It worked fine till power was down during a couple hours four days ago. I saw in the log following output:
05 07/15/07 23:37:22.992 Trying to connect to SlimServer at address: 127.0.0.1:7890
10 07/15/07 23:37:22.993 We can't connect yet to the server. Waiting!
When I run the SlimServer manually I saw that it was killed by some reason:
dcerouter_1:/usr/pluto/servers/SlimServer# ./slimserver.pl --audiodir /home/public/data/audio -cliaddr 127.0.0.1 --cliport 7890 --d_protocol --d_cli --d_server --d_mdns
2007-07-16 12:52:21.6547 SlimServer OSDetect init...
2007-07-16 12:52:21.6549 SlimServer OS Specific init...
2007-07-16 12:52:21.6550 SlimServer saving pid file.
2007-07-16 12:52:21.6551 SlimServer settings effective user and group if requested...
2007-07-16 12:52:21.6552 SlimServer settings init...
2007-07-16 12:52:21.6759 SlimServer strings init...
2007-07-16 12:52:21.7731 SlimServer Setup init...
2007-07-16 12:52:21.7803 SlimServer setting language...
2007-07-16 12:52:21.7805 SlimServer IR init...
2007-07-16 12:52:21.7851 SlimServer Buttons init...
2007-07-16 12:52:21.7867 SlimServer Graphics init...
2007-07-16 12:52:21.7914 Old SLIMP3 Protocol init...
2007-07-16 12:52:21.7922 Slimproto Init...
2007-07-16 12:52:21.7926 mDNS init...
2007-07-16 12:52:21.7927 mDNS: Initializing..
2007-07-16 12:52:21.7928 SlimServer HTTP init...
2007-07-16 12:52:21.7998 mDNS: Adding service: SlimServer - _http._tcp - TXT - 9000
2007-07-16 12:52:21.7999 mDNS: Adding service: SlimServer - _slimhttp._tcp - TXT - 9000
2007-07-16 12:52:21.8000 SlimServer CLI init...
2007-07-16 12:52:21.8003 mDNS: Adding service: SlimServer - _slimcli._tcp - TXT - 7890
2007-07-16 12:52:21.8004 mDNS startAdvertising...
2007-07-16 12:52:21.8006 mDNS: stopAdvertising()
Killed
Finally I found in the .slimserver.conf (it’s placed in the /root/bck/root/) that the cache directory is /root. I changed it to /var/cache and after that the SlimServer started successfully!
See also: