Re: [slim] Upgrade 6.3.1 to 6.5.1 - slimserver doesn't start

2007-04-15 Thread wotuzu17

I couldn't solve the problem yet. 
I tried to remove the rpm package, but that also failed with some
strange error message:

music:/var/tmp/slimserver # rpm -e slimserver
slimserver: unknown service
error: %preun(slimserver-6.5.1-1.noarch) scriptlet failed, exit status
1


I'm a bit frustrated now...


-- 
wotuzu17

wotuzu17's Profile: http://forums.slimdevices.com/member.php?userid=7376
View this thread: http://forums.slimdevices.com/showthread.php?t=34472

___
discuss mailing list
[EMAIL PROTECTED]
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Upgrade 6.3.1 to 6.5.1 - slimserver doesn't start

2007-04-15 Thread wotuzu17

now I manually deleted all slimserver directories, and forced rpm to
reinstall Slimserver6.5.1

Now slimserver stops after 2 seconds with a new error message in
/tmp/slimserver.log

music:/tmp # cat slimserver.log
2007-04-15 17:08:25.5983 ERROR: MySQLHelper: createSystemTables()
Couldn't connect to database: [Can't connect to local MySQL server
through socket '/var/tmp/slimserver/slimserver-mysql.sock' (2)]

2007-04-15 17:10:30.6793 ERROR: MySQLHelper: createSystemTables()
Couldn't connect to database: [Can't connect to local MySQL server
through socket '/var/tmp/slimserver/slimserver-mysql.sock' (2)]

In my processtable I see some slimserver-mysqldeamons running under the
UID 1001. Should it run under slimserver? How can I set up this?

music:/tmp # ps -eaf
UIDPID  PPID  C STIME TTY  TIME CMD
root 1 0  0 Apr14 ?00:00:01 init [3]
root 2 1  0 Apr14 ?00:00:00 [ksoftirqd/0]
root 3 1  0 Apr14 ?00:00:00 [events/0]
root 4 1  0 Apr14 ?00:00:00 [khelper]
root 5 1  0 Apr14 ?00:00:00 [kthread]
root 8 5  0 Apr14 ?00:00:00 [kblockd/0]
root 9 5  0 Apr14 ?00:00:00 [kacpid]
root69 5  0 Apr14 ?00:00:00 [cqueue/0]
root70 5  0 Apr14 ?00:00:00 [kseriod]
root   105 5  0 Apr14 ?00:00:00 [pdflush]
root   106 5  0 Apr14 ?00:00:00 [pdflush]
root   107 5  0 Apr14 ?00:00:00 [kswapd0]
root   108 5  0 Apr14 ?00:00:00 [aio/0]
root   351 5  0 Apr14 ?00:00:00 [kpsmoused]
root   727 5  0 Apr14 ?00:00:00 [kjournald]
root   785 1  0 Apr14 ?00:00:00 /sbin/udevd --daemon
root  1206 5  0 Apr14 ?00:00:00 [khubd]
root  1245 5  0 Apr14 ?00:00:00 [khpsbpkt]
root  1270 1  0 Apr14 ?00:00:00 [knodemgrd_0]
root  1282 5  0 Apr14 ?00:00:00 [kgameportd]
root  1418 5  0 Apr14 ?00:00:00 [scsi_eh_0]
root  1419 5  0 Apr14 ?00:00:00 [usb-storage]
root  1763 1  0 Apr14 ?00:00:00 /sbin/resmgrd
100   1786 1  0 Apr14 ?00:00:00 /usr/bin/dbus-daemon
--system
root  1826 1  0 Apr14 ?00:00:01 /usr/sbin/hald
--daemon=yes --retain-privileges
root  1951  1826  0 Apr14 ?00:00:00 hald-addon-acpi
root  2110 1  0 Apr14 ?00:00:10 zmd
/usr/lib/zmd/zmd.exe --sleep 85495
root  2116 1  0 Apr14 ?00:00:00 /sbin/klogd -c 1 -x -x
root  2125 1  0 Apr14 ?00:00:00 /sbin/syslog-ng
root  2136  1826  0 Apr14 ?00:00:00 hald-addon-storage
nobody2138 1  0 Apr14 ?00:00:00 /sbin/portmap
root  2275 1  0 Apr14 ?00:00:00
/usr/lib/postfix/master
root  2340 1  0 Apr14 ?00:00:00 /usr/sbin/cron
lp2370 1  0 Apr14 ?00:00:00 /usr/sbin/cupsd
root  2484 1  0 Apr14 ?00:00:00 /usr/sbin/nscd
root  2797 1  0 Apr14 ?00:00:00 /usr/sbin/smbd -D -s
/etc/samba/smb.conf
root  2798 1  0 Apr14 ?00:00:00 /usr/sbin/sshd -o
PidFile=/var/run/sshd.init.pid
root  2801  2797  0 Apr14 ?00:00:00 /usr/sbin/smbd -D -s
/etc/samba/smb.conf
root  2810 1  0 Apr14 ?00:00:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root  2815 1  0 Apr14 tty1 00:00:00 /sbin/mingetty
--noclear tty1
root  2816 1  0 Apr14 tty2 00:00:00 /sbin/mingetty tty2
root  2817 1  0 Apr14 tty3 00:00:00 /sbin/mingetty tty3
root  2822 1  0 Apr14 tty4 00:00:00 /sbin/mingetty tty4
root  2823 1  0 Apr14 tty5 00:00:00 /sbin/mingetty tty5
root  2824 1  0 Apr14 tty6 00:00:00 /sbin/mingetty tty6
wwwrun2867  2810  0 Apr14 ?00:00:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun2868  2810  0 Apr14 ?00:00:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun2869  2810  0 Apr14 ?00:00:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun2872  2810  0 Apr14 ?00:00:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun2873  2810  0 Apr14 ?00:00:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
root  2998 5  0 Apr14 ?00:00:00 [kjournald]
root  4926  2797  0 16:21 ?00:00:00 /usr/sbin/smbd -D -s
/etc/samba/smb.conf
root  4950  2798  0 16:44 ?00:00:00 sshd: [EMAIL PROTECTED]/0
root  4978  4950  0 16:45 pts/000:00:00 -bash
1001  5098 1  0 16:55 ?00:00:00
/usr/local/slimserver/Bin/i386-linux/mysqld
--defaults-file=/var/tmp/slimserver/my.cnf
1001  5099 1  0 16:55 ?00:00:00
/usr/local/slimserver/Bin/i386-linux/mysqld
--defaults-file=/var/tmp/slimserver/my.cnf
1001  5100 1  0 16:55 ?00:00:00
/usr/local/slimserver/Bin/i386-linux/mysqld

Re: [slim] Upgrade 6.3.1 to 6.5.1 - slimserver doesn't start

2007-04-15 Thread wotuzu17

ok, I'm tired to search for the solution.

6.3.1 is back on my system. I doubt that 6.5.1 is runnable at all.

Never change a running system!


-- 
wotuzu17

wotuzu17's Profile: http://forums.slimdevices.com/member.php?userid=7376
View this thread: http://forums.slimdevices.com/showthread.php?t=34472

___
discuss mailing list
[EMAIL PROTECTED]
http://lists.slimdevices.com/lists/listinfo/discuss


[slim] Upgrade 6.3.1 to 6.5.1 - slimserver doesn't start

2007-04-14 Thread wotuzu17

Hello,

I just tried to upgrade slimserver on my Suse 10.1 to 6.5.1(the
official version)

when I try to start slimserver with the /etc/init.d/slimserver.,init
start script, the process starts and stops after 2 seconds, leaving an
error message in the logfile.

cat /tmp/slimserver.log
2007-04-14 19:27:39.9550 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.


Anybody have suggestions what to do to fix the problem?


-- 
wotuzu17

wotuzu17's Profile: http://forums.slimdevices.com/member.php?userid=7376
View this thread: http://forums.slimdevices.com/showthread.php?t=34472

___
discuss mailing list
[EMAIL PROTECTED]
http://lists.slimdevices.com/lists/listinfo/discuss


Re: [slim] Upgrade 6.3.1 to 6.5.1 - slimserver doesn't start

2007-04-14 Thread wotuzu17

I haven't changed the config files from my perfectly working 6.3.1
installation:

music:/# cat /etc/sysconfig/slimserver
# Edit this to suit your setup
SLIMSERVER_USER=slimserver
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 --prefsfile=$SLIMSERVER_CFG
--cachedir /var/tmp/slimserver
PID_FILE=/var/run/slimserver.pid
NICE_VALUE=-3



music:/etc/init.d # cat /etc/init.d/slimserver.init
#!/bin/sh
#
# slimserver.init This shell script takes care of starting and
stopping
# the Slim streaming MP3 server.
#
# chkconfig: 345 80 30
# description: Slim streaming MP3 server
# processname: slimserver.pl
# config: /etc/slimserver.conf

if [ -f /etc/sysconfig/slimserver ]; then
. /etc/sysconfig/slimserver
fi

. /etc/rc.status
rc_reset

RETVAL=0
prog=SLIMSERVER

SLIMSERVER_BIN=$SLIMSERVER_HOME/slimserver.pl

[ -x $SLIMSERVER_BIN -a -f $SLIMSERVER_CFG ] || RETVAL=5

case $1 in
start)
echo -n Starting SlimServer: 
checkproc -p ${PID_FILE} ${SLIMSERVER_BIN}
case $? in
0) echo -n - Warning: daemon already running.  ;;
1) echo -n - Warning: ${PID_FILE} exists.  ;;
esac
startproc -n ${NICE_VALUE} -p ${PID_FILE} ${SLIMSERVER_BIN}
${SLIMSERVER_ARGS}
rc_status -v
;;

stop)
echo -n Shutting down SlimServer: 
kill `pidof -x slimserver.pl`
rc_status -v
;;

status)
echo -n Checking for slimserver daemon 
checkproc -p ${PID_FILE} ${SLIMSERVER_BIN}
rc_status -v
;;
esac
exit ${RETVAL}


-- 
wotuzu17

wotuzu17's Profile: http://forums.slimdevices.com/member.php?userid=7376
View this thread: http://forums.slimdevices.com/showthread.php?t=34472

___
discuss mailing list
[EMAIL PROTECTED]
http://lists.slimdevices.com/lists/listinfo/discuss