Hi Fletch

Thanks. I had a memory exception error and increased the RAM from 56MB
to 128 MB. 

* After issuing /etc/init.d/mysql stop & restarting both it seems to
work. 

I guess it's to do with the start order of the two daemons but need to
experiment. Do you have any suggestions?

* There is no mysql-error-log.txt

[EMAIL PROTECTED]:~# less /var/cache/slimserver/mysql-error-log.txt
/var/cache/slimserver/mysql-error-log.txt: No such file or directory
[EMAIL PROTECTED]:~# ls /var/cache/slimserver/
MySQL  my.cnf
[EMAIL PROTECTED]:~# ls /var/cache/slimserver/MySQL/
[EMAIL PROTECTED]:~# ls -la /var/cache/slimserver/MySQL/
total 8
drwxr-xr-x 2 slimserver nogroup 4096 Nov  2 18:09 .
drwxr-xr-x 3 slimserver nogroup 4096 Nov  2 18:09 ..
[EMAIL PROTECTED]:~#  

AFTER FRESH BOOT
[EMAIL PROTECTED]:~# ps -ef | egrep 'slim|mysqld'
root      2734     1  0 08:48 ?        00:00:00 /sbin/mount.smbfs
\\server\music /srv/music -o ro username slimserver uid 104 gid 100
guest
root      2938     1  0 08:48 ?        00:00:00 /bin/sh
/usr/bin/mysqld_safe
mysql     2978  2938  0 08:48 ?        00:00:00 /usr/sbin/mysqld
--basedir=/usr --datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306
--socket=/var/run/mysqld/mysqld.sock
root      2979  2938  0 08:48 ?        00:00:00 logger -p daemon.err -t
mysqld_safe -i -t mysqld
104       3021     1  0 08:48 ?        00:00:00 /bin/bash
/usr/sbin/slimserver_safe /usr/sbin/slimserver --prefsfile
/etc/slimserver/slimserver.pref --logfile
/var/log/slimserver/slimserver.log --cachedir /var/cache/slimserver
--d_files --d_paths --d_startup --d_mysql
104       3027  3021  3 08:48 ?        00:00:02 /usr/bin/perl -w
/usr/sbin/slimserver --prefsfile /etc/slimserver/slimserver.pref
--logfile /var/log/slimserver/slimserver.log --cachedir
/var/cache/slimserver --d_files --d_paths --d_startup --d_mysql
104       3104  3027  0 08:48 ?        00:00:00 /usr/sbin/mysqld
--defaults-file=/var/cache/slimserver/my.cnf
root      3133  3119  0 08:50 tty1     00:00:00 grep -E slim|mysqld
[EMAIL PROTECTED]:~#    

AFTER STOP
(Curious! MySQL is using the Slimserver defaults now!)
[EMAIL PROTECTED]:~#
[EMAIL PROTECTED]:~# /etc/init.d/mysql stop
Stopping MySQL database server: mysqld.
[EMAIL PROTECTED]:~# /etc/init.d/slimserver stop
Stopping SlimServer Audio Server.
[EMAIL PROTECTED]:~# ps -ef | egrep 'slim|mysqld'
root      2734     1  0 08:48 ?        00:00:00 /sbin/mount.smbfs
\\server\music /srv/music -o ro username slimserver uid 104 gid 100
guest
104       3027     1  2 08:48 ?        00:00:02 /usr/bin/perl -w
/usr/sbin/slimserver --prefsfile /etc/slimserver/slimserver.pref
--logfile /var/log/slimserver/slimserver.log --cachedir
/var/cache/slimserver --d_files --d_paths --d_startup --d_mysql
104       3168  3027  0 08:50 ?        00:00:00 /usr/sbin/mysqld
--defaults-file=/var/cache/slimserver/my.cnf
root      3178  3119  0 08:50 tty1     00:00:00 grep -E slim|mysqld
[EMAIL PROTECTED]:~#
[EMAIL PROTECTED]:~#   

RESTART SLIMSERVER ONLY
(looks better, included netstat output)
[EMAIL PROTECTED]:~# /etc/init.d/slimserver start
Starting SlimServer Audio Server.
[EMAIL PROTECTED]:~# ps -ef | egrep 'slim|mysqld'
root      2734     1  0 08:48 ?        00:00:00 /sbin/mount.smbfs
\\server\music /srv/music -o ro username slimserver uid 104 gid 100
guest
104       3185     1  0 08:52 ?        00:00:00 /bin/bash
/usr/sbin/slimserver_safe /usr/sbin/slimserver --prefsfile
/etc/slimserver/slimserver.pref --logfile
/var/log/slimserver/slimserver.log --cachedir /var/cache/slimserver
--d_files --d_paths --d_startup --d_mysql
104       3187  3185 78 08:52 ?        00:00:02 /usr/bin/perl -w
/usr/sbin/slimserver --prefsfile /etc/slimserver/slimserver.pref
--logfile /var/log/slimserver/slimserver.log --cachedir
/var/cache/slimserver --d_files --d_paths --d_startup --d_mysql
104       3188  3187  8 08:52 ?        00:00:00 /usr/sbin/mysqld
--defaults-file=/var/cache/slimserver/my.cnf
root      3203  3119  0 08:52 tty1     00:00:00 grep -E slim|mysqld
[EMAIL PROTECTED]:~#
[EMAIL PROTECTED]:~# netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address        
State
tcp        0      0 0.0.0.0:9090            0.0.0.0:*              
LISTEN
tcp        0      0 127.0.0.1:9092          0.0.0.0:*              
LISTEN
tcp        0      0 0.0.0.0:9000            0.0.0.0:*              
LISTEN
tcp        0      0 0.0.0.0:3483            0.0.0.0:*              
LISTEN
tcp        0      0 127.0.0.1:9092          127.0.0.1:34952        
ESTABLISHED
tcp        0      0 127.0.0.1:34955         127.0.0.1:9092         
TIME_WAIT
tcp        0      0 127.0.0.1:34954         127.0.0.1:9092         
TIME_WAIT
tcp        0      0 127.0.0.1:34953         127.0.0.1:9092         
TIME_WAIT
tcp        0      0 127.0.0.1:34952         127.0.0.1:9092         
ESTABLISHED
tcp        0      0 192.168.2.5:38036       192.168.1.2:445        
ESTABLISHED
tcp6       0      0 :::22                   :::*                   
LISTEN
[EMAIL PROTECTED]:~# 

After starting up my slimdevice it downloaded the firmware and
connected:

[EMAIL PROTECTED]:~# !netstat
netstat -ant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address        
State
tcp        0      0 0.0.0.0:9090            0.0.0.0:*              
LISTEN
tcp        0      0 127.0.0.1:9092          0.0.0.0:*              
LISTEN
tcp        0      0 0.0.0.0:9000            0.0.0.0:*              
LISTEN
tcp        0      0 0.0.0.0:3483            0.0.0.0:*              
LISTEN
tcp        0      0 192.168.2.5:9090        192.168.2.3:52565      
ESTABLISHED
tcp        0      0 127.0.0.1:9092          127.0.0.1:34952        
ESTABLISHED
tcp        0      0 192.168.2.5:3483        192.168.1.4:32483      
ESTABLISHED
tcp        0      0 127.0.0.1:34952         127.0.0.1:9092         
ESTABLISHED
tcp        0      0 192.168.2.5:38036       192.168.1.2:445        
ESTABLISHED
tcp6       0      0 :::22                   :::*                   
LISTEN
[EMAIL PROTECTED]:~#


-- 
mark_
------------------------------------------------------------------------
mark_'s Profile: http://forums.slimdevices.com/member.php?userid=9186
View this thread: http://forums.slimdevices.com/showthread.php?t=39649

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to