Hi Fletch

Now I've recreated the VM using Ubuntu/Dapper, because I was hoping
this'd be more stable. Now I've got base install with the *only* extra
package installed via apt-get being slimserver from
debian.slimdevices.com stable main (apart from some Samba packages).
I've edited the allowedHosts and audiodir settings of
/etc/slimserver/slimserver.pref but that is all. So it's clean now, but
I'm still at the same problem with MySQL connections. I wonder if its
possible to force the settings for whatever instance of MySQL is
running?  

# grep slim /etc/apt/sources.list
deb http://debian.slimdevices.com stable main

After the install the logfile reports:

# cat /var/log/slimserver/slimserver.log
2007-10-26 13:24:00 slimserver_safe started.
2007-10-26 13:24:05.0843 Use of uninitialized value in join or string
at /usr/share/perl/5.8/File/Spec/Unix.pm line 36.
2007-10-26 13:24:05.0857 Use of uninitialized value in join or string
at /usr/share/perl/5.8/File/Spec/Unix.pm line 36.
2007-10-26 13:24:36.2605 ERROR: MySQLHelper: createSystemTables()
Couldn't connect to database: [Can't connect to local MySQL server
through socket '/var/cache/slimserver/slimserver-mysql.sock' (2)]

2007-10-26 13:24:37 Slimserver died. Restarting.

# ps -ef | egrep "mysql|slim"
root      4822     1  0 13:23 pts/0    00:00:00 /bin/sh
/usr/bin/mysqld_safe
mysql     4859  4822  0 13:23 pts/0    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      4860  4822  0 13:23 pts/0    00:00:00 logger -p daemon.err -t
mysqld_safe -i -t mysqld
106       4968     1  0 13:24 ?        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
106       4970  4968  4 13:24 ?        00:00:01 /usr/bin/perl -w
/usr/sbin/slimserver --prefsfile /etc/slimserver/slimserver.pref
--logfile /var/log/slimserver/slimserver.log --cachedir
/var/cache/slimserver
root      4975  3008  0 13:24 pts/0    00:00:00 grep -E mysql|slim

[EMAIL PROTECTED]:~# /etc/init.d/mysql status
/usr/bin/mysqladmin  Ver 8.41 Distrib 4.1.15, for pc-linux-gnu on
x86_64
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free
software,
and you are welcome to modify and redistribute it under the GPL
license

Server version          4.1.15-Debian_1ubuntu5-log
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysqld.sock
Uptime:                 6 min 52 sec

Threads: 1  Questions: 27  Slow queries: 0  Opens: 21  Flush tables: 1 
Open tables: 15  Queries per second avg: 0.066

After a reboot, the logfile loops slowly through until I stop the
slimserver:

2007-10-26 13:51:14 Slimserver died. Restarting.
2007-10-26 13:51:48.6063 ERROR: MySQLHelper: createSystemTables()
Couldn't connect to database: [Can't connect to local MySQL server
through socket '/var/cache/slimserver/slimserver-mysql.sock' (2)]

2007-10-26 13:51:49 Slimserver died. Restarting.
2007-10-26 13:52:23.2758 ERROR: MySQLHelper: createSystemTables()
Couldn't connect to database: [Can't connect to local MySQL server
through socket '/var/cache/slimserver/slimserver-mysql.sock' (2)]

2007-10-26 13:52:23 Slimserver died. Restarting.
2007-10-26 13:52:58.3183 ERROR: MySQLHelper: createSystemTables()
Couldn't connect to database: [Can't connect to local MySQL server
through socket '/var/cache/slimserver/slimserver-mysql.sock' (2)]

2007-10-26 13:52:59 Slimserver died. Restarting.
2007-10-26 13:53:33.6562 ERROR: MySQLHelper: createSystemTables()
Couldn't connect to database: [Can't connect to local MySQL server
through socket '/var/cache/slimserver/slimserver-mysql.sock' (2)]

2007-10-26 13:53:34 Slimserver died. Restarting.
2007-10-26 13:54:09.8899 ERROR: MySQLHelper: createSystemTables()
Couldn't connect to database: [Can't connect to local MySQL server
through socket '/var/cache/slimserver/slimserver-mysql.sock' (2)]

2007-10-26 13:54:10 Slimserver died. Restarting.


-- 
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
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to