
Dear late-night geeks who do kannel in the dark, I'm getting the output below from smsbox -v 0 /etc/kannel.conf: 2010-09-09 22:17:50 [13318] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2010-09-09 22:17:50 [13318] [0] DEBUG: Loading include file `/etc/modems.conf' (on line 15 of file /etc/kannel.conf). 2010-09-09 22:17:50 [13318] [0] DEBUG: Kannel smsbox version `1.4.2'. Build `Jan 21 2009 15:21:38', compiler `4.1.2 20071124 (Red Hat 4.1.2-42)'. System Linux, release 2.6.18-164.el5, version #1 SMP Thu Sep 3 03:33:56 EDT 2009, machine i686. Hostname test.example.com, IP 127.0.0.1. Libxml version 2.6.26. Using OpenSSL 0.9.8b 04 May 2006. Using SQLite 3.3.6. Using native malloc. 2010-09-09 22:17:50 [13318] [0] INFO: HTTP: Opening server at port 13013. 2010-09-09 22:17:50 [13318] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-09-09 22:17:50 [13318] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-09-09 22:17:50 [13318] [0] INFO: Set up send sms service at port 13013 2010-09-09 22:17:50 [13318] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2010-09-09 22:17:50 [13318] [0] DEBUG: ---------------------------------------------- 2010-09-09 22:17:50 [13318] [0] DEBUG: Kannel smsbox version 1.4.2 starting 2010-09-09 22:17:50 [13318] [0] DEBUG: dumping group (sendsms-user): 2010-09-09 22:17:50 [13318] [0] DEBUG: <group> = <sendsms-user> 2010-09-09 22:17:50 [13318] [0] DEBUG: <max-messages> = <10> 2010-09-09 22:17:50 [13318] [0] DEBUG: <username> = <kanneluser> 2010-09-09 22:17:50 [13318] [0] DEBUG: <concatenation> = <true> 2010-09-09 22:17:50 [13318] [0] DEBUG: <password> = <password> 2010-09-09 22:17:50 [13318] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2010-09-09 22:17:50 [13318] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2010-09-09 22:17:50 [13318] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 13318. 2010-09-09 22:17:50 [13318] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2010-09-09 22:17:50 [13318] [0] ERROR: connect failed 2010-09-09 22:17:50 [13318] [0] ERROR: System error 111: Connection refused 2010-09-09 22:17:50 [13318] [0] ERROR: error connecting to server `127.0.0.1' at port `13001' 2010-09-09 22:17:50 [13318] [0] PANIC: Couldn't connect to the bearerbox. 2010-09-09 22:17:50 [13318] [0] PANIC: smsbox(gw_panic+0xe2) [0x8088922] 2010-09-09 22:17:50 [13318] [0] PANIC: smsbox(main+0xf31) [0x8053f51] 2010-09-09 22:17:50 [13318] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xdc) [0x3b5e9c] 2010-09-09 22:17:50 [13318] [0] PANIC: smsbox [0x8052831] My kannel.conf looks as follows: group = core admin-port = 13000 admin-password = adminpwd #status-password = statpwd admin-deny-ip = "" admin-allow-ip = "*.*.*.*" smsbox-port = 13001 wapbox-port = 13002 box-deny-ip = "" box-allow-ip = "*.*.*.*" wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" log-level = 1 include = "/etc/modems.conf" group = wapbox bearerbox-host = localhost log-file = "/var/log/kannel/wapbox.log" group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #global-sender = +254729xxxxxx log-level = 0 group = smsc smsc = fake device = /dev/ttyACM0 modemtype = auto #my-number = "FAKE" sms-center = +254722500029 speed = 0 host = localhost port = 13013 smsc-id = FAKE group = sendsms-user username = kanneluser password = password concatenation = true max-messages = 10 group = sms-service #keyword = keyword-regex = .* catch-all = yes max-messages = 1 get-url = "http://localhost/sms?phone=%p&text=%a" And my modems.conf is the default one that you find somewhere in the kannel documentation online [and shouldn't be an issue, I suppose]. What am I doing wrong? Me.