Did you try to reinstall logrotate? Maybe is a problem with it and not kannel?
I didn't have access to my linux machine to verify my logrotate
config, but have you verified its config for kannel?
Hope helps
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com
On Wed, Dec 9, 2009 at 9:57 AM, Stéphane Bruno
<[email protected]> wrote:
> Here's my conf file, edited to remove sensitive information:
>
> group = core
> admin-port = 13000
> admin-password = MYADMINPASS
> #status-password =
> #admin-deny-ip = "*.*.*.*"
> #admin-allow-ip = ""
> smsbox-port = 13003
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1;ANOTHERIP"
> #wapbox-port = 13004
> #wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 1
> access-log = "/var/log/kannel/core_access.log"
> access-log-clean = false
> unified-prefix = "+509,00509,0,011509"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13013
> #sendsms-url =
> #sendota-url =
> global-sender = "7464"
> log-file = /var/log/kannel/smsbox.log
> log-level = 1
> access-log = /var/log/kannel/core_access.log
> reply-couldnotfetch = "Impossible de récupérer contenu. Désolé"
> reply-couldnotrepresent = "Résultat ne peut être converti en SMS"
> reply-requestfailed = "La requête a échoué"
> reply-emptymessage = "Message vide du fournisseur de contenu"
> mo-recode = true
> http-request-retry = 6
>
> Then I have some SMS centers configured, some SMS services and SMS users.
>
> Stéphane
>
> On Wed, Dec 9, 2009 at 9:43 AM, patrick meye <[email protected]> wrote:
>>
>> Post your conf file please.
>>
>>> Date: Wed, 9 Dec 2009 09:37:25 -0500
>>> Subject: WARNING: SIGHUP received, catching and re-opening logs (still not
>>> resolved)
>>> From: [email protected]
>>> To: [email protected]
>>>
>>> Hello all,
>>>
>>> I am desperately in need of help. My problem is still not resolved.
>>> Every time logrotate rotates the log file, kannel just stops working.
>>> I get this warning in the bearerbox log WARNING: SIGHUP received,
>>> catching and re-opening logs, and the new log that is opened is left
>>> empty. Sending SMS to services stored on my kannel server just stay
>>> there no routing of messages, nothing. When I restart Kannel, it works
>>> again and processes the SMS that were in memory somehow.
>>>
>>> Please, can you help? I am on Debian Lenny, and I am using the Kannel
>>> cvs snapshot.
>>>
>>> Just wanted to also let you know that I start the bearerbox and smsbox
>>> manually with the following commands:
>>>
>>> /path/to/bearerbox -v 1 -d /path/to/kannel.conf
>>> /path/to/smsbox -v 1 -d /path/to/kannel.conf
>>>
>>> I already verified that I have killall installed on my Debian server.
>>>
>>> Regards,
>>> Stéphane
>>>
>>
>> ________________________________
>> Messenger débarque dans Hotmail ! Essayez-le !
>
>