[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Configuration de Kannel (passerelle SMS)



Je viens d'installer Kannel (la passerelle SMS/WAP) en suivant le tutoriel
qui est disponible à
http://www.niquille.com/2005/12/21/compiling-installing-kannel-sms-gateway/
Malheureusement le serveur ne se lance pas.

Je joints ma configuration :
group = core
admin-port = 13000
admin-password = bar
status-password = foo
#admin-deny-ip = ""
admin-allow-ip = "127.0.0.1;192.168.0.5"
log-file = "/var/log/kannel.log"
log-level = 0
access-log = "/var/log/access.log"
smsbox-port = 13000
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC SMPP
group = smsc
smsc = smpp
host = smpp.clickatell.com
port = 2345
receive-port = 2345
smsc-username = johan...
smsc-password = xxxxx
system-type = 264XXXX
#address-range =

et les log que j'obtiens
LOG de BEARERBOX qui tourne 10 secondes
2006-09-13 09:42:42 [3485] [0] INFO: Kannel bearerbox II version 1.4.0
starting
2006-09-13 09:42:42 [3485] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 3485.
2006-09-13 09:42:42 [3485] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 3485.
2006-09-13 09:42:42 [3485] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 3485.
2006-09-13 09:42:45 [3485] [2] DEBUG: HTTP: Creating HTTPClient for
`192.168.0.2'.
2006-09-13 09:42:45 [3485] [3] DEBUG: HTTP: Resetting HTTPClient for
`192.168.0.2'.
2006-09-13 09:42:47 [3485] [2] DEBUG: HTTP: Creating HTTPClient for
`192.168.0.2'.
2006-09-13 09:42:47 [3485] [2] DEBUG: HTTP: Creating HTTPClient for
`192.168.0.2'.
2006-09-13 09:42:47 [3485] [0] INFO: MAIN: Start-up done, entering mainloop
2006-09-13 09:42:47 [3485] [0] DEBUG: Shutting down Kannel...
2006-09-13 09:42:47 [3485] [0] DEBUG: shutting down smsc
2006-09-13 09:42:47 [3485] [0] DEBUG: shutting down udp
2006-09-13 09:42:47 [3485] [0] INFO: All flow threads have died, killing core
2006-09-13 09:42:47 [3485] [2] DEBUG: HTTP: Destroying HTTPClient area
0x819a520.
2006-09-13 09:42:47 [3485] [2] DEBUG: HTTP: Destroying HTTPClient for
`192.168.0.2'.
2006-09-13 09:42:47 [3485] [2] DEBUG: HTTP: Destroying HTTPClient area
0x819dff8.
2006-09-13 09:42:47 [3485] [2] DEBUG: HTTP: Destroying HTTPClient for
`192.168.0.2'.
2006-09-13 09:42:47 [3485] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) terminates.
2006-09-13 09:42:47 [3485] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
terminates.
2006-09-13 09:42:47 [3485] [0] DEBUG: Waiting for 3
(gw/bb_http.c:httpadmin_run) to terminate
2006-09-13 09:42:47 [3485] [3] ERROR: Error writing 92 octets to fd 16:
2006-09-13 09:42:47 [3485] [3] ERROR: System error 104: Connection reset
by peer
2006-09-13 09:42:47 [3485] [3] DEBUG: HTTP: Destroying HTTPClient area
0x819a2f0.
2006-09-13 09:42:47 [3485] [3] DEBUG: HTTP: Destroying HTTPClient for
`192.168.0.2'.
2006-09-13 09:42:47 [3485] [3] ERROR: Error writing 92 octets to fd 16:
2006-09-13 09:42:47 [3485] [3] ERROR: System error 32: Broken pipe
2006-09-13 09:42:47 [3485] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) terminates.
2006-09-13 09:42:47 [3485] [0] INFO: Total WDP messages: received 0, sent 0
2006-09-13 09:42:47 [3485] [0] INFO: Total SMS messages: received 0, sent 0
2006-09-13 09:42:47 [3485] [0] DEBUG: Immutable octet strings: 97.
2006-09-13 09:43:24 [3489] [0] INFO: Added logfile `/var/log/kannel.log'
with level `0'.
2006-09-13 09:43:24 [3489] [0] INFO: Started access logfile
`/var/log/access.log'.
2006-09-13 09:43:24 [3489] [0] INFO: SSL not supported, no SSL
initialization done.
2006-09-13 09:43:24 [3489] [0] INFO: HTTP: Opening server at port 13000.
2006-09-13 09:43:24 [3489] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2006-09-13 09:43:24 [3489] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2006-09-13 09:43:24 [3489] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)

LOG DE SMSBOX qui ne tourne pas
# smsbox -v 1 --logfile LOGKANNEL /etc/kannel.conf
2006-09-13 10:58:47 [3744] [0] INFO: Added logfile `LOGKANNEL' with level
`0'.
2006-09-13 10:58:47 [3744] [0] INFO: Debug_lvl = 1, log_file = LOGKANNEL,
log_lvl = 0
2006-09-13 10:58:47 [3744] [0] ERROR: fopen failed: couldn't open
`/etc/kannel.conf'
2006-09-13 10:58:47 [3744] [0] ERROR: System error 2: No such file or
directory
2006-09-13 10:58:47 [3744] [0] PANIC: Failed to load main configuration
file `/etc/kannel.conf'. Aborting!
2006-09-13 10:58:47 [3744] [0] PANIC: smsbox(gw_panic+0x19a) [0x807d60f]
2006-09-13 10:58:47 [3744] [0] PANIC: smsbox(cfg_read+0x73) [0x806b08d]
2006-09-13 10:58:47 [3744] [0] PANIC: smsbox(main+0xdc) [0x805adae]
2006-09-13 10:58:47 [3744] [0] PANIC:
/lib/tls/libc.so.6(__libc_start_main+0xf4) [0x402df974]
2006-09-13 10:58:47 [3744] [0] PANIC: smsbox [0x804fec1]



-- 






Reply to: