Configuration Error
Bogdan <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm still trying to start kannel, but I see errors in my kannel.log. Could You help me find a solution, please. ./bearerbox sms.conf 2005-07-07 14:24:44 [6312] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2005-07-07 14:24:44 [6312] [0] DEBUG: Loading include file `wapbox.conf' (on line 18 of file sms.conf). 2005-07-07 14:24:44 [6312] [0] WARNING: DLR: using default 'internal' for storage type. 2005-07-07 14:24:44 [6312] [0] INFO: DLR using storage type: internal 2005-07-07 14:24:44 [6312] [0] DEBUG: Kannel bearerbox version `1.4.0'. Build `Jul 7 2005 08:08:48', compiler `3.4.3 20050227 (Red Hat 3.4.3-22.fc3)'. System Linux, release 2.6.11-1.14_FC3, version #1 Thu Apr 7 19:23:49 EDT 2005, machine i686. Hostname bogdan, IP 127.0.0.1. Libxml version 2.6.16. Using OpenSSL 0.9.7f 22 Mar 2005. Using native malloc. 2005-07-07 14:24:44 [6312] [0] INFO: Added logfile `kannel.log' with level `1'. 2005-07-07 14:24:44 [6312] [0] INFO: Started access logfile `kannel.access'. 2005-07-07 14:24:44 [6312] [0] INFO: HTTP: Opening server at port 13000. 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2005-07-07 14:24:44 [6312] [0] DEBUG: starting smsbox connection module 2005-07-07 14:24:44 [6312] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2005-07-07 14:24:44 [6312] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 6312. 2005-07-07 14:24:44 [6312] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 6312. 2005-07-07 14:24:44 [6312] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 6312. 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2005-07-07 14:24:44 [6312] [0] INFO: DLR rerouting for smsc id <CMG> disabled. 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 6 (gw/smsc/smsc_emi.c:emi2_listener) 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 7 (gw/smsc/smsc_emi.c:emi2_sender) 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 8 (gw/bb_smscconn.c:sms_router) 2005-07-07 14:24:44 [6312] [0] DEBUG: starting UDP sender/receiver module 2005-07-07 14:24:44 [6312] [0] INFO: Adding interface * 2005-07-07 14:24:44 [6312] [0] ERROR: *Couldn't bind a UDP socket to port 9200* 2005-07-07 14:24:44 [6312] [0] ERROR: *System error 98: Address already in use* 2005-07-07 14:24:44 [6312] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200> 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 9 (gw/bb_udp.c:udp_receiver) 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 10 (gw/bb_udp.c:udp_sender) 2005-07-07 14:24:44 [6312] [0] ERROR: *Couldn't bind a UDP socket to port 9201* 2005-07-07 14:24:44 [6312] [0] ERROR: *System error 98: Address already in use* 2005-07-07 14:24:44 [6312] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 6312. 2005-07-07 14:24:44 [6312] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 6312. 2005-07-07 14:24:44 [6312] [6] DEBUG: Thread 6 (gw/smsc/smsc_emi.c:emi2_listener) maps to pid 6312. 2005-07-07 14:24:44 [6312] [7] DEBUG: Thread 7 (gw/smsc/smsc_emi.c:emi2_sender) maps to pid 6312. 2005-07-07 14:24:44 [6312] [7] INFO: EMI2[CMG]: connecting to Primary SMSC 2005-07-07 14:24:44 [6312] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) maps to pid 6312. 2005-07-07 14:24:44 [6312] [8] DEBUG: sms_router: time to sleep 2005-07-07 14:24:44 [6312] [8] DEBUG: sms_router: list_len = 0 2005-07-07 14:24:44 [6312] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_receiver) maps to pid 6312. 2005-07-07 14:24:44 [6312] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201> 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 11 (gw/bb_udp.c:udp_receiver) 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 12 (gw/bb_udp.c:udp_sender) 2005-07-07 14:24:44 [6312] [0] DEBUG: starting wapbox connection module 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 13 (gw/bb_boxc.c:wdp_to_wapboxes) 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 14 (gw/bb_boxc.c:wapboxc_run) 2005-07-07 14:24:44 [6312] [0] DEBUG: starting WDP router 2005-07-07 14:24:44 [6312] [0] DEBUG: Started thread 15 (gw/bearerbox.c:wdp_router) 2005-07-07 14:24:44 [6312] [0] INFO: ---------------------------------------- 2005-07-07 14:24:44 [6312] [0] INFO: Kannel bearerbox II version 1.4.0 starting 2005-07-07 14:24:44 [6312] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_sender) maps to pid 6312. 2005-07-07 14:24:44 [6312] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_receiver) maps to pid 6312. 2005-07-07 14:24:44 [6312] [12] DEBUG: Thread 12 (gw/bb_udp.c:udp_sender) maps to pid 6312. 2005-07-07 14:24:44 [6312] [13] DEBUG: Thread 13 (gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 6312. 2005-07-07 14:24:44 [6312] [14] DEBUG: Thread 14 (gw/bb_boxc.c:wapboxc_run) maps to pid 6312. 2005-07-07 14:24:44 [6312] [15] DEBUG: Thread 15 (gw/bearerbox.c:wdp_router) maps to pid 6312. 2005-07-07 14:24:44 [6312] [0] INFO: MAIN: Start-up done, entering mainloop 2005-07-07 14:24:44 [6312] [0] DEBUG: EMI2[CMG]: start called 2005-07-07 14:24:44 [6312] [9] PANIC: gwlib/socket.c:380: read_available: Assertion `fd >= 0' failed. 2005-07-07 14:24:44 [6312] [9] PANIC: ./bearerbox(gw_panic+0x174) [0x80c7018] 2005-07-07 14:24:44 [6312] [9] PANIC: ./bearerbox(read_available+0x33) [0x80d0a9e] 2005-07-07 14:24:44 [6312] [9] PANIC: ./bearerbox [0x805bddb] 2005-07-07 14:24:44 [6312] [9] PANIC: ./bearerbox [0x80bcbbc] 2005-07-07 14:24:44 [6312] [9] PANIC: /lib/tls/libpthread.so.0 [0x4ae341] 2005-07-07 14:24:44 [6312] [9] PANIC: /lib/tls/libc.so.6(__clone+0x5e) [0x309fee] sms.conf group = core admin-port = 13000 admin-password = f00bar status-password = sTat admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1;200.100.0.*" smsbox-port = 13003 wapbox-port = 13004 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;200.100.0.*" wdp-interface-name = "*" log-file = "kannel.log" log-level = 1 access-log = "kannel.access" unified-prefix = "+358,00358,0;+,00" #white-list = "http://localhost/whitelist.txt" include = "wapbox.conf" group = smsbox bearerbox-host = localhost sendsms-port = 13131 sendsms-chars = "0123456789 " global-sender = 123456 access-log = "kannel.access" log-file = "smsbox.log" log-level = 0 group = smsc smsc = emi smsc-id = CMG host = [SMSC-IP] port = 5000 #smsc-username = #smsc-password = keepalive = 55 #our-port = 6000 (optional bind in our end) receive-port = 5001 (the port in which the SMSC will contact) idle-timeout = 30 I have full access to SMSC CMG Logica, and wish to use EMI/UCP connection. 1.Can You explain me what it means (from User's Guide): port = Port number in the SMSC host machine <- what kind of port? nmap shows me: 23/tcp open telnet 102/tcp open iso-tsap 118/tcp open sqlserv 399/tcp open iso-tsap-c2 512/tcp open exec 513/tcp open login 514/tcp open shell 5000/tcp open UPnP 5001/tcp open commplex-link 5002/tcp open rfe 5003/tcp open filemaker 7100/tcp open font-service Or I need to open another one ? 2.smsc-username = smsc-password = What is needed there, operator login/password ? Or I must make special large account for this connection? Best regards Bogdan