I've noticed that sometimes in the morning after the alarm has been
running for a while it stops automatically even if I've set it to never
end automatically.

I've thought this was due to some temporarily network problem but today
I started to look in the log files and the reason seems to be that
SqueezeCenter is restarted every morning.

My suspicion is that it might be the /etc/cron.daily/logrotate script
but if I interpret /etc/logrotate.d/squeezecenter correctly it should
only happen once a week if this is the cause ?

In /var/log/syslog files I have:

Code:
--------------------
    
  Nov  7 06:17:01 squeezecenter /USR/SBIN/CRON[16612]: (root) CMD (   cd / && 
run-parts --report /etc/cron.hourly)
  Nov  7 06:25:01 squeezecenter /USR/SBIN/CRON[16623]: (root) CMD (test -x 
/usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
  Nov  7 06:44:02 squeezecenter -- MARK --
  Nov  7 06:52:42 squeezecenter syslogd 1.5.0#1ubuntu1: restart.
  Nov  7 07:04:02 squeezecenter -- MARK --
  
--------------------


And in /var/log/sequeezecenter/server.log the first entry is:
2008-11-07 06:52:41 squeezecenter_safe started.

(The machine is called "squeezecenter")

SqueezeCenter seems to be restarted once a day according to the
/var/log/squeezecenter/server log files. Sometimes it happens after
06:45 when the alarm has been trigged and then the alarm stops,
sometimes it happens before 06:45 and then the alarm continues to run
as expected when it is trigged at 06:45.

So am I correct that the cause might be the logrotate scripts even
though they seems to be set to rotate weekly ?

Is there any way to adjust this so always happens before the alarm is
triggered ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) 'My download page'
(http://erland.isaksson.info/download)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library and Database Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=54771

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to