So, what is the right version to use? The one that is in the manual
online, or the one I see installed on my server? The one I have
currently on my server says:
postrotate
killall -HUP bearerbox smsbox wapbox > /dev/null 2> /dev/null || true
Regards,
Stéphane
2009/11/24 Nikos Balkanas <[email protected]>:
> Hi,
>
> it does, but unrelated to your problem. However, the manual needs updating,
> sources are correct.
>
> BR,
> Nikos
> ----- Original Message ----- From: "Stephane Bruno"
> <[email protected]>
> To: "Eduardo Anuel" <[email protected]>
> Cc: <[email protected]>
> Sent: Wednesday, November 25, 2009 12:32 AM
> Subject: Re: WARNING: SIGHUP received, catching and re-opening logs
>
>
> Hello,
>
> I effectively run Debian/Lenny. But, I did apt-get install psmisc and
> I saw that it is already installed. However, when I look at my
> logrotate file for kannel, I see a difference compared to what is
> suggested in the user guide. Here is what I see in the user guide :
>
> postrotate
> killall -HUP bearerbox smsbox wapbox || true >
> /dev/null 2> /dev/null
>
> Here is what I have in my file:
>
> postrotate
> killall -HUP bearerbox smsbox wapbox > /dev/null
> 2> /dev/null || true
>
> Does that make a difference? Is it the reason of my problem?
>
> Regards,
> Stιphane
>
> On Tue, Nov 24, 2009 at 10:42 AM, Eduardo Anuel <[email protected]> wrote:
>>
>> I don't know if this will help but are you sure your linux has killall
>> installed?
>> I use Debian GNU/Linux and since a few years ago Debian doesn't have
>> killall in the base installation,
>> you have to install the psmisc package after you install to get it
>> (http://www.ducea.com/2008/08/18/killall-in-debian/).
>> If killall isn't installed the SIGHUP signal is not received by kannel
>> and the logs will remain being written
>> to the file logrotate renamed instead of the new one.
>>
>> This happens to me every time I install a new server with kannel, just
>> check and see if it helps you.
>>
>> Greetings
>>
>> --
>> Think for yourself...Question Authority
>>
>>
>
>