rasha...@rashad-laptop:~$ sudo smsbox /etc/kannel/kannel.conf 2010-12-07 16:54:15 [6692] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2010-12-07 16:54:15 [6692] [0] DEBUG: Kannel smsbox version `1.4.3'. Build `Apr 6 2010 13:16:08', compiler `4.4.3'. System Linux, release 2.6.32-23-generic-pae, version #37-Ubuntu SMP Fri Jun 11 09:26:55 UTC 2010, machine i686. Hostname rashad-laptop, IP 127.0.1.1. Libxml version 2.7.6. Using OpenSSL 0.9.8k 25 Mar 2009. Compiled with MySQL 5.1.41, using MySQL 5.1.41. Using native malloc.
2010-12-07 16:54:15 [6692] [0] INFO: Service global sender set as '13013' 2010-12-07 16:54:15 [6692] [0] INFO: HTTP: Opening server at port 13013. 2010-12-07 16:54:15 [6692] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-12-07 16:54:15 [6692] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-12-07 16:54:15 [6692] [0] INFO: Set up send sms service at port 13013 2010-12-07 16:54:15 [6692] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2010-12-07 16:54:15 [6692] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 6692. 2010-12-07 16:54:15 [6692] [0] DEBUG: Using proxy < hostelproxy.iiit.ac.in:8080> with HTTP scheme 2010-12-07 16:54:15 [6692] [0] DEBUG: ---------------------------------------------- 2010-12-07 16:54:15 [6692] [0] DEBUG: Kannel smsbox version 1.4.3 starting Hi, Anyone please help me to setup kannel to receive sms without attaching a device group = core admin-port = 10001 smsbox-port = 10002 wapbox-port = 10003 admin-password = bar http-proxy-port=8080 http-proxy-host=hostelproxy.iiit.ac.in #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" #log-file = "/tmp/kannel.log" #log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "+358,00358,0;+,00" #access-log = "/tmp/access.log" #store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" # #--------------------------------------------- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery # group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "/tmp/access.log" #--------------------------------------------- # WAPBOX SETUP # group = wapbox bearerbox-host = 127.0.0.1 #log-file = "/tmp/wapbox.log" #log-level = 0 syslog-level = none #access-log = "/tmp/wapaccess.log" group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" group = sms-service keyword = default text = "No service specified" my configfile is 2010-12-07 16:54:15 [6692] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 6692. 2010-12-07 16:54:15 [6692] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 6692. 2010-12-07 16:54:15 [6692] [0] DEBUG: dumping group (sendsms-user): 2010-12-07 16:54:15 [6692] [0] DEBUG: <group> = <sendsms-user> 2010-12-07 16:54:15 [6692] [0] DEBUG: <username> = <tester> 2010-12-07 16:54:15 [6692] [0] DEBUG: <password> = <foobar> 2010-12-07 16:54:15 [6692] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2010-12-07 16:54:15 [6692] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 6692. 2010-12-07 16:54:15 [6692] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2010-12-07 16:54:15 [6692] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) *2010-12-07 16:54:15 [6692] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 6692.* *2010-12-07 16:54:15 [6692] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 6692.* *2010-12-07 16:54:15 [6692] [0] ERROR: connect failed* *2010-12-07 16:54:15 [6692] [0] ERROR: System error 111: Connection refused* 2010-12-07 16:54:15 [6692] [0] ERROR: error connecting to server `127.0.0.1' at port `10002' 2010-12-07 16:54:15 [6692] [0] PANIC: Couldn't connect to the bearerbox. 2010-12-07 16:54:15 [6692] [0] PANIC: smsbox(gw_panic+0xcd) [0x808a33d] 2010-12-07 16:54:15 [6692] [0] PANIC: smsbox(main+0xf4b) [0x80556eb] 2010-12-07 16:54:15 [6692] [0] PANIC: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb722cbd6] 2010-12-07 16:54:15 [6692] [0] PANIC: smsbox() [0x8053ff1] -- Rashad
