February 19, 201214 yr Hi I've got Slimserver plugin installed in 5b14 and recently it's failing to start. Install directory is /mnt/cache/.Slimserver When I attempt to start it via the UI, it dumps the following to the screen on the Unraid server (nothing in log); /usr/local/slimserver/slimserver.pl command not found /etc/rd.d/rc.slimserver Help appreciated.
February 22, 201214 yr If you're happy to use command line, then it's probably the best way to understand what is failing. Things I'd check would be... 1) are the slimserver application files present at /mnt/cache/.Slimserver 2) do you have a symlink at /usr/local/slimserver pointing to /mnt/cache/.Slimserver. The plugin should set this up. eg. ln -s /mnt/cache/.Slimserver /usr/local/slimserver 3) what happens when you try to start slimserver from command line using the startup script... /etc/rc.d/rc.slimserver start 4) depending on answer to #3, what happens when you start slimserver from command line and launch in the foreground. eg. sudo -u slimserver /usr/local/slimserver/slimserver.pl --pidfile /var/run/slimserver/slimserver.pid --cachedir /usr/local/slimserver/Cache --logdir /usr/local/slimserver/data/logs --prefsdir /usr/local/slimserver/prefs --logfile syslog The above steps aren't necessarily a fix, but may point you in the direction of what's wrong. It's worth nothing there are a couple of plugin versions knocking about. I forget who now, but someone noticed that the original plugin didn't specifically pass the Cache, logs and prefs parameters which could lead to the slimserver.pl application not running up correctly as it's being fooled into thinking it's running from /usr/local via the symlink but it wasn't stupid enough to not fully realise. Implicitly putting in the full path to Cache, logs & prefs seems to make a difference. Hope the above helps. Rgds, RJ
February 23, 201214 yr Author Many thanks for the response; 1. Yes 2. Yes 3. as follows; root@SERVER:/usr/local# /etc/rc.d/rc.slimserver start Starting slimserver: sudo -u slimserver /usr/local/slimserver/slimserver.pl --daemon --pidfile /var/run/slimserver/slimserver.pidsudo: /usr/local/slimserver/slimserver.pl: command not found 4. as follows; root@SERVER:/usr/local/slimserver# sudo -u slimserver /usr/local/slimserver/slimserver.pl --pidfile /var/run/slimserver/slimserver.pid --cachedir /usr/local/slimserver/Cache --logdir /usr/local/slimserver/data/logs --prefsdir /usr/local/slimserver/prefs --logfile syslog sudo: /usr/local/slimserver/slimserver.pl: command not found I'll see if I can find another plugin. The one I'm using is the one that came with unRaid.
February 23, 201214 yr Author Update I got it running again by deleting everything related to slimserver (find / -name 'slimserver' -type d) and installing the plugin found here; http://lime-technology.com/forum/index.php?topic=18310.0
Archived
This topic is now archived and is closed to further replies.