Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-11-03 Thread mark_
OK, I stopped the MySQL init script, and rebooted to make sure. Great, it works! I guess the MySQL startup links were added by default. It's so nice to be able to listen to my music again. Thanks for your help & patience, Fletch! [EMAIL PROTECTED]:~# update-rc.d -f mysql remove Removing any sy

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-11-03 Thread Fletch
So this looks like it's all working, right? mark_;239803 Wrote: > * 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? As I mentioned earlier, you shou

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-11-03 Thread mark_
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

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-11-02 Thread Fletch
mark_;239705 Wrote: > > Code: > > 2007-11-02 18:20:05.6422 Found binary /usr/sbin/mysqld for mysqld > 2007-11-02 18:20:05.6423 MySQLHelper: startServer() About to start MySQL with command: [/usr/sbin/mysqld --defaults-file=/var/cache/slimserver/my.cnf] > 2007-11-02

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-11-02 Thread mark_
Hi Installed libgd-gd2-perl as well as nearly everything else, and now I get more debug output. My music is mounted R/O on a Samba share BTW. At the bottom is the MySQL status and netstat -ant output. /var/log/mysql.err and mysql.log are empty /var/log/slimserver/slimserver.log loops with the f

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-30 Thread mark_
Thanks... I think our posts crossed. I'll try it when the system is online again. -- mark_ mark_'s Profile: http://forums.slimdevices.com/member.php?userid=9186 View this thread: http://forums.slimdevices.com/showthread.ph

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-30 Thread mark_
I just tried to restart the MySQL server by swapping /etc/mysql/my.cnf file with the /var/cache/slimserver/my.cnf version, as well as for /etc/mysql/debian.cnf but it didn't work. Any ideas how I can get MySql to fire up using the Slimserver settings? Thanks [EMAIL PROTECTED]:~# mv /etc/mysql/

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-30 Thread Fletch
mark, Please see the 2nd half of http://forums.slimdevices.com/showthread.php?t=39636. It looks like you need to install libgd-gd2-perl. -- Fletch Fletch's Profile: http://forums.slimdevices.com/member.php?userid=529 Vie

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-26 Thread mark_
... same results after I updated to Testing (6.5.5), but it was worth a try... M -- mark_ mark_'s Profile: http://forums.slimdevices.com/member.php?userid=9186 View this thread: http://forums.slimdevices.com/showthread.ph

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-26 Thread mark_
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 allowedHost

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-26 Thread mark_
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 f

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread mark_
yeah, keeps looping that line. Here we go: [EMAIL PROTECTED]:/etc/slimserver# head /var/log/slimserver/slimserver.log 2007-10-25 21:30:49 slimserver_safe started. 2007-10-25 21:30:49 Slimserver died. Restarting. 2007-10-25 21:30:49 Slimserver died. Restarting. 2007-10-25 21:30:49 Slimserver died.

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread Fletch
There's nothing else in the log except that one line? That message comes from slimserver_safe which I'm not really familiar with. I'm not sure why it would get stuck there... -- Fletch Fletch's Profile: http://forums.sli

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread mark_
OK [EMAIL PROTECTED]:/etc/slimserver# cat /etc/default/slimserver # User to run slimserver as SLIMUSER=slimserver SLIMOPTIONS="--d_files --d_paths --d_startup --d_mysql" [EMAIL PROTECTED]:/etc/slimserver# [EMAIL PROTECTED]:/etc/slimserver# /etc/init.d/slimserver start [EMAIL PROTECTED]:/etc/slim

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread Fletch
mark_;237990 Wrote: > There was no /etc/sysconfig/slimserver, I there was an empty SLIMOPTIONS > line in /etc/init.d/slimserver which I hope does the same thing. > > [EMAIL PROTECTED]:/etc/slimserver# grep -i options /etc/init.d/slimserver > SLIMOPTIONS=" --d_files --d_paths --d_startup --d_mys

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread mark_
There was no /etc/sysconfig/slimserver, I there was an empty SLIMOPTIONS line in /etc/init.d/slimserver which I hope does the same thing. [EMAIL PROTECTED]:/etc/slimserver# grep -i options /etc/init.d/slimserver SLIMOPTIONS=" --d_files --d_paths --d_startup --d_mysql" $SLIMOPTIONS $SLIMOPTIONS [

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread Fletch
Running SS as root can mess things up by changing ownership of some files. Let's clean up and try again. As root: Code: /etc/init.d/slimserver stop rm /etc/slimserver/slimserver.conf rm /var/log/slimserver/* rm -rf /usr/share/slimserver/Cache/ -

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread mark_
Sorry for the long post. I've had to edit it to cut it down to the limit of 1... First time around I ran slimserver as root by accident (root is the only real user on this VM) [1], the second run was much shorter, with the --user slimserver.[2] It seemed to crash, so I rebooted and restarted

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread Fletch
OK, let's turn on some debugging. Can you start with --d_files --d_paths --d_startup --d_mysql? -- Fletch Fletch's Profile: http://forums.slimdevices.com/member.php?userid=529 View this thread: http://forums.slimdevices.c

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread mark_
No such file in /var/... . [EMAIL PROTECTED]:/var# ls -l /var/cache/slimserver/mysql-error-log.txt ls: /var/cache/slimserver/mysql-error-log.txt: No such file or directory [EMAIL PROTECTED]:/var# find /var/ -name "mysql-error-log.txt" [EMAIL PROTECTED]:/var# -- mark_ --

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread Fletch
mark_;237938 Wrote: > No nothing else of interest in the logs. How about in /var/cache/slimserver/mysql-error-log.txt? > There was no instance of MySQL before it ran apt-get install slimserver > (using the slimdevices entry in sources.list) This is normal. The slimserver deb requires mysql-se

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread mark_
Hi Fletch No nothing else of interest in the logs. I just restarted the VM to see. THis is about all: 2007-10-25 18:26:53 Slimserver died. Restarting. 2007-10-25 18:27:29.3401 ERROR: MySQLHelper: createSystemTables() Couldn't connect to database: [Can't connect to local MySQL server through sock

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread Fletch
That looks like Ubuntu's mysql daemon. SS should start another mysqld using it's own defaults. Anything else interesting in slimserver.log, perhaps about not being able to find or start mysqld? -- Fletch Fletch's Profile

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread mark_
Thanks for the quick response Fletch... I had to mess around a bit with ssh / sftp to get the goods off without typing it by hand... Regards M # ps -ef | egrep "slim|mysql" root 6397 1 0 15:23 tty1 00:00:00 /bin/sh /usr/bin/mysqld_safe mysql 6434 6397 0 15:23 tty1 00:00:

Re: [SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread Fletch
mark_;237889 Wrote: > ps -ef | egrep "slim|mysql" shows that mysqld has a different socket. What is the different socket? Can we see this output? -- Fletch Fletch's Profile: http://forums.slimdevices.com/member.php?user

[SlimDevices: Unix] ubuntu problem with mysql socket

2007-10-25 Thread mark_
Hi I've just tried to get my slimserver running within a Xen VM (ubuntu edgy) and have problems between the mysql and slimserver sockets. I used the slimdevices stable source in the sources.list and had not prior installation of MySQL. Now I find that netstat has port 3306 up on the loopback devi