Hi Fletch

I tried to tinker with the MySQL instance to get it to start using the
Slimserver settings in /var/cache/slimserver/my.cnf. This didn't work
and I reset the settings. 

Then I ran apt-get --purge mysql* and slimserver, deleted the
/etc/mysql/, /etc/slimserver and /var/cache/slimserver folders, ran
apt-get update and apt-get install slimserver using the testing
repository in the sources.list, but it didn-t work so I've reinstalled
the image (see next post)

Original MySQL:

[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:                 14 hours 31 min 54 sec

Threads: 1  Questions: 27  Slow queries: 0  Opens: 21  Flush tables: 1 
Open tables: 15  Queries per second avg: 0.001
[EMAIL PROTECTED]

I changed the /etc/init.d/mysql accordingly, but it didn't work. 

[EMAIL PROTECTED]:~# grep cnf /etc/init.d/mysql
#CONF=/etc/mysql/my.cnf
CONF=/var/cache/slimserver/my.cnf
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
# mysqladmin likes to read /root/.my.cnf. This is usually not what I
want
if [ ! -r /etc/mysql/my.cnf ]; then
/bin/echo -e "\nWARNING: /etc/mysql/my.cnf cannot be read.
See README.Debian.gz"
# * As a passwordless mysqladmin (e.g. via ~/.my.cnf) must be
possible
[EMAIL PROTECTED]:~#

Then I renamed these "my.cnf" files to "my.cnf.ORIG" and linked all of
them to /var/cache/slimserver/my.cnf.

[EMAIL PROTECTED]:~# mv /etc/mysql/my.cnf /etc/mysql/my.cnf.ORIG
[EMAIL PROTECTED]:~# ln -s /var/cache/slimserver/my.cnf /etc/mysql/my.cnf

... stop / started them ...

[EMAIL PROTECTED]:~# /etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
'/var/cache/slimserver/slimserver-mysql.sock' (2)'
Check that mysqld is running and that the socket:
'/var/cache/slimserver/slimserver-mysql.sock' exists!
[EMAIL PROTECTED]:~# 

[EMAIL PROTECTED]:~# rm /var/cache/slimserver/slimserver-mysql.sock
rm: cannot remove `/var/cache/slimserver/slimserver-mysql.sock': No
such file or directory
[EMAIL PROTECTED]:~#    

/var/log/messages just has "slimserv -- MARK --" for this period.


-- 
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