PDA

View Full Version : slimserver 6.5.3 doesn't start on Suse 10.1



wotuzu17
2007-07-13, 04:40
I'm still struggling to get slimserver 6.5.3 running on any linux system.

My home system is a Suse10.l, that has been long running with SS_6.3

In order to update to SS_6.5.3, i tried to uninstall the old rpm first, which failed for a unknown reason. Then I manually deleted all files related to slimserver.

music:/home/voellenk # rpm -Uvh --force SlimServer_v6.5.3.noarch.rpm
Preparing... ########################################### [100%]
1:slimserver ########################################### [100%]
slimserver: unknown service
Point your web browser to http://music:9000/ to configure your server.

The rpm package created a startscript in /etc/init.d/init.d/slimserver , which I find is a pretty strange location.

Instead, I copied the slimserver.init startscript for Suse from the wiki, and checked the permissions:

music:/etc/init.d # l slim*
-rwxr-xr-- 1 root root 1051 Oct 7 2006 slimserver.init*

moreover, I also copied the suggested slimserver config from the wiki to /etc/sysconfig/slimserver:
music:/etc/init.d # cat /etc/sysconfig/slimserver
# Edit this to suit your setup
SLIMSERVER_USER="slimserver"
SLIMSERVER_GROUP="users"
SLIMSERVER_HOME="/usr/local/slimserver"
SLIMSERVER_CFG="/etc/slimserver.conf"
SLIMSERVER_LOG="/tmp/slimserver.log"
SLIMSERVER_ARGS="--daemon --logfile=$SLIMSERVER_LOG --user $SLIMSERVER_USER --group $SLIMSERVER_GROUP --prefsfile=$SLIMSERVER_CFG --cachedir /var/tmp/slimserver"
PID_FILE="/var/run/slimserver.pid"
NICE_VALUE="-3"


Next I tried to run the startscript to start ss:
music:/etc/init.d # ./slimserver.init start
Starting SlimServer done

looked good so far, only ss stops after a few seconds.

What's in the logfile?
music:/etc/init.d # cat /tmp/slimserver.log
2007-07-13 11:32:54.5983 Use of uninitialized value in pattern match (m//) at /usr/local/slimserver/Slim/Utils/Prefs.pm line 1097.
2007-07-13 11:32:54.6024 Use of uninitialized value in join or string at /usr/lib/perl5/5.8.8/File/Spec/Unix.pm line 81.
2007-07-13 11:32:54.6030 Use of uninitialized value in join or string at /usr/lib/perl5/5.8.8/File/Spec/Unix.pm line 81.
2007-07-13 11:33:02.6945 Warning: Migrating from 6.3.x used with MySQL!
Database error: Can't create table './slimserver/years.frm' (errno: 121) at /usr/local/slimserver/CPAN/DBIx/Migration.pm line 115.

What's the problem?

wotuzu17
2007-07-13, 07:23
ok, I found a workaround and used my existing mysql server and created a database 'slimserver', using the entry on the wiki.

My music is being scanned right now.