Several instances of Kannel

Oscar Medina Duarte <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi all !

I'm testing with setting up several instances of kannel at the same
time, how can this be done?


here's what I get on the bearer box:

2004-09-15 19:18:49 [29661] [0] INFO: Added logfile `logs/bearer.log'
with level `0'.
2004-09-15 19:18:49 [29661] [0] INFO: Started access logfile
`logs/kannel.access'.
2004-09-15 19:18:49 [29661] [0] INFO: SSL not supported, no SSL
initialization done.
2004-09-15 19:18:49 [29661] [0] INFO: HTTP: Opening server at port
26659.
2004-09-15 19:18:49 [29661] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2004-09-15 19:18:49 [29661] [2] DEBUG: Thread 2
(gwlib/http.c:server_thread) maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2004-09-15 19:18:49 [29661] [3] DEBUG: Thread 3
(gw/bb_http.c:httpadmin_run) maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2004-09-15 19:18:49 [29661] [0] DEBUG: starting smsbox connection module
2004-09-15 19:18:49 [29661] [0] INFO: BOXC: 'smsbox-max-pending' not
set, using default (100).
2004-09-15 19:18:49 [29661] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2004-09-15 19:18:49 [29661] [5] DEBUG: Thread 5
(gw/bb_boxc.c:smsboxc_run) maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2004-09-15 19:18:49 [29661] [0] INFO: DLR rerouting for smsc id
<mi_te_2665> disabled.
2004-09-15 19:18:49 [29661] [0] INFO: Added logfile
`logs/smsc_mi_te_2665.log' with level `0'.
2004-09-15 19:18:49 [29661] [6] DEBUG: Thread 6
(gw/smsc/smsc_smpp.c:io_thread) maps to pid 29661.
2004-09-15 19:18:49 [29661] [6] INFO: Logging thread `6' to logfile
`logs/smsc_mi_te_2665.log' with level `0'.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 6
(gw/smsc/smsc_smpp.c:io_thread)
2004-09-15 19:18:49 [29661] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 29661.
2004-09-15 19:18:49 [29661] [7] DEBUG: sms_router: time to sleep
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2004-09-15 19:18:49 [29661] [0] DEBUG: starting UDP sender/receiver
module
2004-09-15 19:18:49 [29661] [0] INFO: Adding interface *
2004-09-15 19:18:49 [29661] [0] ERROR: Couldn't bind a UDP socket to
port 9200
2004-09-15 19:18:49 [29661] [0] ERROR: System error 48: Address already
in use
2004-09-15 19:18:49 [29661] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9200>
2004-09-15 19:18:49 [29661] [8] DEBUG: Thread 8
(gw/bb_udp.c:udp_receiver) maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 8
(gw/bb_udp.c:udp_receiver)
2004-09-15 19:18:49 [29661] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 9
(gw/bb_udp.c:udp_sender)2004-09-15 19:18:49 [29661] [0] ERROR: Couldn't
bind a UDP socket to port 9201
2004-09-15 19:18:49 [29661] [0] ERROR: System error 48: Address already
in use
2004-09-15 19:18:49 [29661] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9201>
2004-09-15 19:18:49 [29661] [10] DEBUG: Thread 10
(gw/bb_udp.c:udp_receiver) maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 10
(gw/bb_udp.c:udp_receiver)
2004-09-15 19:18:49 [29661] [11] DEBUG: Thread 11
(gw/bb_udp.c:udp_sender) maps to pid 29661.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 11
(gw/bb_udp.c:udp_sender)
2004-09-15 19:18:49 [29661] [0] DEBUG: starting wapbox connection module
2004-09-15 19:18:49 [29661] [0] ERROR: Missing wapbox-port variable,
cannot start WAP
2004-09-15 19:18:49 [29661] [0] DEBUG: starting WDP router
2004-09-15 19:18:49 [29661] [12] DEBUG: Thread 12
(gw/bearerbox.c:wdp_router) maps to pid 29661.
2004-09-15 19:18:49 [29661] [12] DEBUG: udp_die: removing producers from
udp-lists
2004-09-15 19:18:49 [29661] [12] DEBUG: Thread 12
(gw/bearerbox.c:wdp_router) terminates.
2004-09-15 19:18:49 [29661] [0] DEBUG: Started thread 12
(gw/bearerbox.c:wdp_router)
2004-09-15 19:18:49 [29661] [0] INFO:
----------------------------------------
2004-09-15 19:18:49 [29661] [0] INFO: Kannel bearerbox II version
cvs-20040825 starting
2004-09-15 19:18:49 [29661] [0] INFO: MAIN: Start-up done, entering
mainloop
2004-09-15 19:18:49 [29661] [7] DEBUG: sms_router: list_len = 0
2004-09-15 19:18:49 [29661] [8] PANIC: gwlib/socket.c:380:
read_available: Assertion `fd >= 0' failed.


In the configs, I'm sure that the configured ports on one and another
instances are different. How can I fix this ?


Cheers !
== Oscar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.