Re: [SlimDevices: Unix] Mysql reconnect

2007-09-20 Thread sbbr
It grows >200K daily :) Fletch;228123 Wrote: > "size 200k" means to rotate when the logfile is 200k or larger. This > shouldn't cause it to rotate daily. -- sbbr sbbr's Profile: http://forums.slimdevices.com/member.php

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-19 Thread Hering
I dont know if this is relevant, but my Debian Etch seems to rotate the log also daily: slim:~# tail -150 /var/log/messages Sep 18 06:25:13 slim syslogd 1.4.1#18: restart. [...] Sep 19 06:25:46 slim syslogd 1.4.1#18: restart. BTW, I use a seperate MySQL instance and get the similar error message

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-19 Thread Fletch
"size 200k" means to rotate when the logfile is 200k or larger. This shouldn't cause it to rotate daily. -- Fletch Fletch's Profile: http://forums.slimdevices.com/member.php?userid=529 View this thread: http://forums.slim

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-18 Thread sbbr
Yes, it is supposed to be rotated weekly, but actually rotates daily because size of logfile must be less than 200k. cat /etc/logrotate.d/slimserver /var/log/slimserver/slimserver.log { weekly rotate 5 size 200k compress missingok prerotate invoke-rc.d slimserver stop || true endscript postro

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-18 Thread lerouxt
are you sure it happens on logrotate? I also have similar probs, but logs for slimserver in etch are rotated once a week.. plus, the logrotate script on etch stops slimserver prerotate, and starts postrotate (see /etc/logrotate.d/slimserver) -- lerouxt -

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-18 Thread sbbr
Seems it happens on logrotate. Until that time slimbox was playing normally. 2007-09-18 07:36:53.3217 ERROR: forceCommit: Trying to commit transactions before DB is initialized! 2007-09-18 07:36:53 slimserver_safe stopped. 2007-09-18 07:36:53 slimserver_safe started. 2007-09-18 07:37:03.2459 E

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-17 Thread sbbr
http://bugs.slimdevices.com/show_bug.cgi?id=5504 -- sbbr sbbr's Profile: http://forums.slimdevices.com/member.php?userid=3541 View this thread: http://forums.slimdevices.com/showthread.php?t=38440

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-17 Thread mrfantasy
What's the bug ID? I'll see what information I can add. -- mrfantasy --Mike mrfantasy's Profile: http://forums.slimdevices.com/member.php?userid=1127 View this thread: http://forums.slimdevices.com/showthread.php?t=38440

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-17 Thread sbbr
Submitted bug report. -- sbbr sbbr's Profile: http://forums.slimdevices.com/member.php?userid=3541 View this thread: http://forums.slimdevices.com/showthread.php?t=38440 ___ uni

Re: [SlimDevices: Unix] Mysql reconnect

2007-09-16 Thread mrfantasy
This seems to be happening in Debian Etch/Lenny. I'm running it at home and seeing this issue. I was able to connect directly to the socket file with the mysql client when SlimServer stopped responding, so it's apparently not mysql crashing or becoming unresponsive. SlimServer doesn't completel

[SlimDevices: Unix] Mysql reconnect

2007-09-16 Thread sbbr
Hello! Slimserver seems to lose connection to database every night. I searched forums and saw this is rather old bug, which must be fixed. Anybody sees this? VERSION INFO SlimServer Version: 6.5.4 - 12568 - Debian - EN - utf8 Perl Version: 5.8.8 i486-linux-gnu-thread-multi MySQL Version: 5.0.4