Dear all,
I have tried to start another bearerbox but I got the following message. Is there anything wrong in my conf file ?
Thank you very much.
Regards, Simon
################# kannel_test.conf ################# group = core admin-port = 28110 admin-password = 123 status-password = 123 admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" smsbox-port = 28111 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" wdp-interface-name = "*" log-file = "kannel_test.log" log-level = 1 access-log = "kannel_test.access"
group = smsc smsc = at smsc-id = csl modemtype = ericsson_t39 device = /dev/ttyS0 speed = 9600
group = smsbox bearerbox-host = localhost sendsms-port = 28112 sendsms-chars = "0123456789 +-" global-sender = 96568932 access-log = "kannel_test.access" log-file = "smsbox_test.log" log-level = 1
group = sms-service keyword = www get-url = "http://%S" post-url = "http://%S"
group = sendsms-user username = abc password = 123 faked-sender = 96568932
include = "modems_1.conf" ################# kannel_test.conf #################
2005-01-19 22:26:36 [19895] [0] INFO: Added logfile `kannel_test.log' with level `1'.
2005-01-19 22:26:36 [19895] [0] INFO: Started access logfile `kannel_test.access'.
2005-01-19 22:26:36 [19895] [0] INFO: SSL not supported, no SSL initialization done.
2005-01-19 22:26:36 [19895] [0] INFO: HTTP: Opening server at port 28110.
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2005-01-19 22:26:36 [19895] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 19895.
2005-01-19 22:26:36 [19895] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 19895.
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2005-01-19 22:26:36 [19895] [0] DEBUG: starting smsbox connection module
2005-01-19 22:26:36 [19895] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes)
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2005-01-19 22:26:36 [19895] [0] INFO: DLR rerouting for smsc id <csl> disabled.
2005-01-19 22:26:36 [19895] [0] INFO: AT2[csl]: configuration shows modemtype <ericsson_t39>
2005-01-19 22:26:36 [19895] [0] DEBUG: AT2[csl]: Reading modem definitions from <kannel_test.conf>
2005-01-19 22:26:36 [19895] [0] DEBUG: Loading include file `modems_1.conf' (on line 43 of file kannel_test.conf).
2005-01-19 22:26:36 [19895] [0] DEBUG: AT2[csl]: Found <2> modems in config
2005-01-19 22:26:36 [19895] [0] INFO: AT2[csl]: read modem definition for <ericsson_t39>
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread)
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2005-01-19 22:26:36 [19895] [0] DEBUG: starting UDP sender/receiver module
2005-01-19 22:26:36 [19895] [0] INFO: Adding interface *
2005-01-19 22:26:36 [19895] [0] ERROR: Couldn't bind a UDP socket to port 9200
2005-01-19 22:26:36 [19895] [0] ERROR: System error 98: Address already in use
2005-01-19 22:26:36 [19895] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200>
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 8 (gw/bb_udp.c:udp_receiver)
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 9 (gw/bb_udp.c:udp_sender)
2005-01-19 22:26:36 [19895] [0] ERROR: Couldn't bind a UDP socket to port 9201
2005-01-19 22:26:36 [19895] [0] ERROR: System error 98: Address already in use
2005-01-19 22:26:36 [19895] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201>
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 10 (gw/bb_udp.c:udp_receiver)
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 11 (gw/bb_udp.c:udp_sender)
2005-01-19 22:26:36 [19895] [0] DEBUG: starting wapbox connection module
2005-01-19 22:26:36 [19895] [0] ERROR: Missing wapbox-port variable, cannot start WAP
2005-01-19 22:26:36 [19895] [0] DEBUG: starting WDP router
2005-01-19 22:26:36 [19895] [0] DEBUG: Started thread 12 (gw/bearerbox.c:wdp_router)
2005-01-19 22:26:36 [19895] [0] INFO: ----------------------------------------
2005-01-19 22:26:36 [19895] [0] INFO: Kannel bearerbox II version 1.4.0 starting
2005-01-19 22:26:36 [19895] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 19895.
2005-01-19 22:26:36 [19895] [7] DEBUG: sms_router: time to sleep
2005-01-19 22:26:36 [19895] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver) maps to pid 19895.
2005-01-19 22:26:36 [19895] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) maps to pid 19895.
2005-01-19 22:26:36 [19895] [0] INFO: MAIN: Start-up done, entering mainloop
2005-01-19 22:26:36 [19895] [0] DEBUG: AT2[csl]: start called
2005-01-19 22:26:36 [19895] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver) maps to pid 19895.
2005-01-19 22:26:36 [19895] [10] PANIC: gwlib/socket.c:380: read_available: Assertion `fd >= 0' failed.
2005-01-19 22:26:36 [19895] [10] PANIC: bearerbox(gw_panic+0x175) [0x80c7d9a]
2005-01-19 22:26:36 [19895] [10] PANIC: bearerbox(read_available+0x33) [0x80d189c]
2005-01-19 22:26:36 [19895] [10] PANIC: bearerbox [0x805ad88]
2005-01-19 22:26:36 [19895] [10] PANIC: bearerbox [0x80bda60]
2005-01-19 22:26:36 [19895] [10] PANIC: /lib/tls/libpthread.so.0 [0x400932b6]
2005-01-19 22:26:36 [19895] [10] PANIC: /lib/tls/libc.so.6(__clone+0x57) [0x420de407]
