Until the corruption problem is resolved, as a workaround you can just avoid
HUPing the 'boxes' at all. I am using logrotate on FC3 without sigHUPing and
it works well. The config doesnt create a new log file, it just truncates the
original log file in place after creating a copy, instead of moving the old
log file and optionally creating a new one . Here's the config I use:
{
daily
missingok
rotate 60
compress
delaycompress
notifempty
nocreate
copytruncate
}
On 14.1.2005, at 09:50, Robert Andersson wrote:
> > Hi
> > I'm using kannel 1.4.0 to send wap push messages.
> > This works until I send all boxes a SIGHUP with
> > "killall -HUP bearerbox smsbox wapbox".
> > (this is done when logrotate is run as described
> > in debian/kannel.logrotate in the source).
> >
> > After that WAP push messages are sent but seems to be
> > ignored by the phones. Sending ordinary SMS works
> > just fine. There seems to be some kind of corruption.
> > Is this a bug or am I doing something wrong?
> >