First run bearerbox
From: users [mailto:users-boun...@kannel.org] On Behalf Of christopher kamutumwa Sent: Wednesday, April 06, 2016 2:08 PM To: users Subject: SMSBox not starting ---------- Forwarded message ---------- From: christopher kamutumwa <chriskamutu...@gmail.com <mailto:chriskamutu...@gmail.com> > Date: Wed, Apr 6, 2016 at 11:07 AM Subject: To: users <users@kannel.org <mailto:users@kannel.org> > hi am failing to start smsbox error below as well as conf file; root@ctlgate:~# smsbox -v 0 /etc/kannel/kannel.conf 2016-04-06 11:04:00 [30724] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2016-04-06 11:04:00 [30724] [0] DEBUG: Kannel smsbox version `1.5.0'. Build `Mar 25 2016 13:06:48', compiler `4.8.4'. System Linux, release 4.5.0-x86_64-linode65, version #2 SMP Mon Mar 14 18:01:58 EDT 2016, machine x86_64. Hostname localhost, IP 127.0.0.1. Libxml version 2.9.1. Compiled with MySQL 5.5.47, using MySQL 5.5.47. Using native malloc. 2016-04-06 11:04:00 [30724] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 0 2016-04-06 11:04:00 [30724] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2016-04-06 11:04:00 [30724] [0] INFO: Logging accesses to '/var/log/kannel/smsbox-access.log'. 2016-04-06 11:04:00 [30724] [0] INFO: Started access logfile `/var/log/kannel/smsbox-access.log'. 2016-04-06 11:04:00 [30724] [0] INFO: HTTP: Opening server at port 13022. 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2016-04-06 11:04:00 [30724] [0] INFO: Set up send sms service at port 13022 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2016-04-06 11:04:00 [30724] [0] DEBUG: ---------------------------------------------- 2016-04-06 11:04:00 [30724] [0] DEBUG: Kannel smsbox version 1.5.0 starting 2016-04-06 11:04:00 [30724] [0] DEBUG: dumping group (sendsms-user): 2016-04-06 11:04:00 [30724] [0] DEBUG: <group> = <sendsms-user> 2016-04-06 11:04:00 [30724] [0] DEBUG: <default-smsc> = <crs> 2016-04-06 11:04:00 [30724] [0] DEBUG: <max-messages> = <6> 2016-04-06 11:04:00 [30724] [0] DEBUG: <username> = <kris> 2016-04-06 11:04:00 [30724] [0] DEBUG: <concatenation> = <true> 2016-04-06 11:04:00 [30724] [0] DEBUG: <password> = <kreeper> 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2016-04-06 11:04:00 [30724] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2016-04-06 11:04:00 [30724] [0] DEBUG: Connecting to <127.0.0.1> 2016-04-06 11:04:00 [30724] [0] ERROR: connect to <127.0.0.1> failed 2016-04-06 11:04:00 [30724] [0] ERROR: System error 111: Connection refused 2016-04-06 11:04:00 [30724] [0] DEBUG: Connecting to <127.0.0.1> 2016-04-06 11:04:00 [30724] [0] ERROR: connect to <127.0.0.1> failed 2016-04-06 11:04:00 [30724] [0] ERROR: System error 111: Connection refused 2016-04-06 11:04:00 [30724] [0] ERROR: error connecting to server `localhost' at port `13001' 2016-04-06 11:04:00 [30724] [0] PANIC: Couldn't connect to the bearerbox. 2016-04-06 11:04:00 [30724] [0] PANIC: smsbox(gw_panic+0x16b) [0x43c28b] 2016-04-06 11:04:00 [30724] [0] PANIC: smsbox(main+0xc1a) [0x40d14a] 2016-04-06 11:04:00 [30724] [0] PANIC: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f4122e07ec5] # CORE group = core admin-port = 13000 smsbox-port = 13001 admin-password = angenoch #admin-deny-ip = "*.*.*.*" #admin-allow-ip = "127.0.0.1" log-file = /var/log/kannel/gateway.log log-level = 0 access-log = /var/log/kannel/access.log store-type = file store-file = /var/log/kannel/kannel.store unified-prefix = "-,+" #unified-prefix = "+,00" #store-type = spool #store-location = /var/spool/kannel/store #smsbox-max-pending = 100 #dlr-storage = mysql # SMSBOX group = smsbox smsbox-id = admin bearerbox-host = localhost sendsms-port = 13022 bearerbox-port = 13001 #sendsms-chars = "0123456789 +- " log-file = /var/log/kannel/smsbox.log log-level = 0 access-log = /var/log/kannel/smsbox-access.log # SENDSMS-USER group = sendsms-user username = kris password = kreeper max-messages = 6 concatenation = true default-smsc = crs