When in doubt, sources never lie. Manuals need updating.

You probably mean logrotate, and the one you have on your server is the correct one. However, neither version is related to your problem.

BR,
Nikos
----- Original Message ----- From: "Stephane Bruno" <mysubscription...@gmail.com>
To: "Nikos Balkanas" <n...@amdtelecom.net>
Cc: "Eduardo Anuel" <ean...@gmail.com>; <users@kannel.org>
Sent: Wednesday, November 25, 2009 8:56 PM
Subject: Re: WARNING: SIGHUP received, catching and re-opening logs


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 <n...@amdtelecom.net>:
Hi,

it does, but unrelated to your problem. However, the manual needs updating,
sources are correct.

BR,
Nikos
----- Original Message ----- From: "Stephane Bruno"
<mysubscription...@gmail.com>
To: "Eduardo Anuel" <ean...@gmail.com>
Cc: <us...@vm1.kannel.org>
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 <ean...@gmail.com> 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






Reply via email to