Configuration de kannel

Fermé
Servis - 20 déc. 2011 à 19:33
 paulvb - 6 juin 2016 à 04:21
Bonjour,
J'essaie de configurer un serveur kannel, j'ai pu faire l'installation mais quand je lance le demarage de kannel ( /etc/rc.d/init.d/kannel start) le resultat est le suivant:
(Starting kannel bearer box: [ OK ] )
la, on voit bien que Kannel a bel et bien demarré (a moins que je me fasse des illusions) et lorsque jessaie de voir le status (/etc/rc.d/init.d/kannel status) le resultat est le suivant:bearerbox est arrêté c'est-a-dire q'uil s'arrete juste apres avoir demaré.



A ce stade le mon fichier kannel.conf a la configuration suivante:
cat /etc/kannel.conf
# Default kannel configuration file
group = core
admin-port = 13000
admin-password = changemenow
status-password = changemetoo
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1

-----Jai gardé juste la configuration du groupe core pour les tests primaire.



Le contenu du fichier bearerbox.log quant a lui; donne ceci:
cat /var/log/kannel/bearerbox.log
2011-12-20 12:46:52 [7195] [0] INFO: Added logfile '/var/log/kannel/bearerbox.log' with level '0'.
2011-12-20 12:46:52 [7195] [0] ERROR: No 'smsbox' group in configuration, but smsbox-port set
2011-12-20 12:46:52 [7195] [0] PANIC: Cannot start with corrupted configuration
2011-12-20 12:46:52 [7195] [0] PANIC: /usr/sbin/bearerbox(gw_panic+0x15a) [0x47bdba]
2011-12-20 12:46:52 [7195] [0] PANIC: /usr/sbin/bearerbox(main+0xafe) [0x40e65e]
2011-12-20 12:46:52 [7195] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xfd) [0x3b5ac1ee5d]
2011-12-20 12:46:52 [7195] [0] PANIC: /usr/sbin/bearerbox() [0x40ce49]
2011-12-20 12:48:16 [7652] [0] INFO: Added logfile '/var/log/kannel/bearerbox.log' with level '1'.
2011-12-20 12:48:16 [7652] [0] ERROR: No 'smsbox' group in configuration, but smsbox-port set
2011-12-20 12:48:16 [7652] [0] PANIC: Cannot start with corrupted configuration
2011-12-20 12:48:16 [7652] [0] PANIC: /usr/sbin/bearerbox(gw_panic+0x15a) [0x47bdba]
2011-12-20 12:48:16 [7652] [0] PANIC: /usr/sbin/bearerbox(main+0xafe) [0x40e65e]
2011-12-20 12:48:16 [7652] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xfd) [0x3b5ac1ee5d]
2011-12-20 12:48:16 [7652] [0] PANIC: /usr/sbin/bearerbox() [0x40ce49]
2011-12-20 12:56:23 [7710] [0] INFO: Added logfile '/var/log/kannel/bearerbox.log' with level '1'.
2011-12-20 12:56:23 [7710] [0] INFO: HTTP: Opening server at port 13000.
2011-12-20 12:56:23 [7710] [0] INFO: ----------------------------------------
2011-12-20 12:56:23 [7710] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2011-12-20 12:56:28 [7710] [0] INFO: MAIN: Start-up done, entering mainloop
2011-12-20 12:56:28 [7710] [0] INFO: All flow threads have died, killing core
2011-12-20 12:56:28 [7710] [0] INFO: Total WDP messages: received 0, sent 0
2011-12-20 12:56:28 [7710] [0] INFO: Total SMS messages: received 0, sent 0
2011-12-20 12:58:39 [7763] [0] INFO: Added logfile '/var/log/kannel/bearerbox.log' with level '1'.
2011-12-20 12:58:39 [7763] [0] INFO: HTTP: Opening server at port 13000.
2011-12-20 12:58:39 [7763] [0] INFO: ----------------------------------------
2011-12-20 12:58:39 [7763] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2011-12-20 12:58:44 [7763] [0] INFO: MAIN: Start-up done, entering mainloop
2011-12-20 12:58:44 [7763] [0] INFO: All flow threads have died, killing core
2011-12-20 12:58:44 [7763] [0] INFO: Total WDP messages: received 0, sent 0
2011-12-20 12:58:44 [7763] [0] INFO: Total SMS messages: received 0, sent 0
2011-12-20 17:16:41 [2912] [0] INFO: Added logfile '/var/log/kannel/bearerbox.log' with level '1'.
2011-12-20 17:16:41 [2912] [0] INFO: HTTP: Opening server at port 13000.
2011-12-20 17:16:41 [2912] [0] INFO: ----------------------------------------
2011-12-20 17:16:41 [2912] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2011-12-20 17:16:46 [2912] [0] INFO: MAIN: Start-up done, entering mainloop
2011-12-20 17:16:46 [2912] [0] INFO: All flow threads have died, killing core
2011-12-20 17:16:46 [2912] [0] INFO: Total WDP messages: received 0, sent 0
2011-12-20 17:16:46 [2912] [0] INFO: Total SMS messages: received 0, sent 0
2011-12-20 18:07:36 [3497] [0] INFO: Added logfile '/var/log/kannel/bearerbox.log' with level '1'.
2011-12-20 18:07:36 [3497] [0] INFO: HTTP: Opening server at port 13000.
2011-12-20 18:07:36 [3497] [0] INFO: ----------------------------------------
2011-12-20 18:07:36 [3497] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2011-12-20 18:07:41 [3497] [0] INFO: MAIN: Start-up done, entering mainloop
2011-12-20 18:07:41 [3497] [0] INFO: All flow threads have died, killing core
2011-12-20 18:07:41 [3497] [0] INFO: Total WDP messages: received 0, sent 0
2011-12-20 18:07:41 [3497] [0] INFO: Total SMS messages: received 0, sent 0


Alors si quelqu'un a une explication ou une solution a me proposer, ses idées seronts les bienvenues.Merci d'avance a tous.

1 réponse

tu n'as pas définis une configuration du groupe smsbox dans ton fichier kannel.conf mais tu as activer l'option smsbox-port

C'est ce que dit ton log.

Cordialement,
0