I've got plenty of kannel installations on debian boxes with no problems like 
that. Check your /etc/logrotate.d/kannel file.
focus on line (or similar):
'create 640 kannel adm'

If you run kannel as different user with no permissions to the logfile, you'll 
be experiencing issues like that. 
Make sure, you are running kannel with the same perimisions as logrotate 
creates a new logfile.
Check your init file. Under Debian it is /etc/init.d/kannel.
"--chuid" option of start-stop-deamon sets the user id of process.   


Regards,
Cezary
  ----- Original Message ----- 
  From: Stéphane Bruno 
  To: [email protected] 
  Sent: 09 December 2009 14:57
  Subject: Re: WARNING: SIGHUP received, catching and re-opening logs (still 
not resolved)


  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 !

Reply via email to