bearerbox has started but still cant get smsbox started view below. help please
root@ctlgate:/var/log/kannel# smsbox -v 0 /etc/kannel/kannel.conf 2016-04-06 11:28:02 [31378] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2016-04-06 11:28:02 [31378] [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:28:02 [31378] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 0 2016-04-06 11:28:02 [31378] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2016-04-06 11:28:02 [31378] [0] INFO: Logging accesses to '/var/log/kannel/smsbox-access.log'. 2016-04-06 11:28:02 [31378] [0] INFO: Started access logfile `/var/log/kannel/smsbox-access.log'. 2016-04-06 11:28:02 [31378] [0] INFO: HTTP: Opening server at port 13022. 2016-04-06 11:28:02 [31378] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2016-04-06 11:28:02 [31378] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2016-04-06 11:28:02 [31378] [0] INFO: Set up send sms service at port 13022 2016-04-06 11:28:02 [31378] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2016-04-06 11:28:02 [31378] [0] DEBUG: ---------------------------------------------- 2016-04-06 11:28:02 [31378] [0] DEBUG: Kannel smsbox version 1.5.0 starting 2016-04-06 11:28:02 [31378] [0] DEBUG: dumping group (sendsms-user): 2016-04-06 11:28:02 [31378] [0] DEBUG: <group> = <sendsms-user> 2016-04-06 11:28:02 [31378] [0] DEBUG: <default-smsc> = <crs> 2016-04-06 11:28:02 [31378] [0] DEBUG: <max-messages> = <6> 2016-04-06 11:28:02 [31378] [0] DEBUG: <username> = <kris> 2016-04-06 11:28:02 [31378] [0] DEBUG: <concatenation> = <true> 2016-04-06 11:28:02 [31378] [0] DEBUG: <password> = <kreeper> 2016-04-06 11:28:02 [31378] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2016-04-06 11:28:02 [31378] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2016-04-06 11:28:02 [31378] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2016-04-06 11:28:02 [31378] [0] DEBUG: Connecting to <127.0.0.1> 2016-04-06 11:28:02 [31378] [0] INFO: Connected to bearerbox at localhost port 13001. 2016-04-06 11:28:02 [31378] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2016-04-06 11:28:02 [31378] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 31378. 2016-04-06 11:28:02 [31378] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 31378. 2016-04-06 11:28:02 [31378] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 31378. 2016-04-06 11:28:02 [31378] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 31378. 2016-04-06 11:28:02 [31378] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 31378. 2016-04-06 11:28:02 [31378] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 31378. 2016-04-06 11:28:02 [31378] [2] DEBUG: HTTP: Including port 13022, fd 8 for polling in server thread 2016-04-06 11:28:02 [31378] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 31378. ^C2016-04-06 11:29:46 [31378] [0] ERROR: SIGINT received, aborting program... 2016-04-06 11:29:46 [31378] [0] INFO: Received (and handled?) 0 requests in 104 seconds (0.00 per second) 2016-04-06 11:29:46 [31378] [0] INFO: Kannel smsbox terminating. 2016-04-06 11:29:46 [31378] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) terminates. 2016-04-06 11:29:46 [31378] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2016-04-06 11:29:46 [31378] [3] DEBUG: HTTP: No clients with requests, quitting. 2016-04-06 11:29:46 [31378] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) terminates. 2016-04-06 11:29:46 [31378] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2016-04-06 11:29:46 [31378] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2016-04-06 11:29:46 [31378] [0] DEBUG: Waiting for 4 (gw/smsbox.c:obey_request_thread) to terminate 2016-04-06 11:29:46 [31378] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) terminates. 2016-04-06 11:29:46 [31378] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) terminates. 2016-04-06 11:29:46 [31378] [0] DEBUG: Waiting for 5 (gw/smsbox.c:url_result_thread) to terminate 2016-04-06 11:29:46 [31378] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) terminates. 2016-04-06 11:29:46 [31378] [0] DEBUG: Immutable octet strings: 235. root@ctlgate:/var/log/kannel# ps aux | grep box root 31008 0.0 0.4 503768 4260 pts/4 Tl 11:14 0:00 bearerbox -v 0 /etc/kannel/kannel.conf root 31204 0.0 0.0 7240 732 pts/4 T 11:21 0:00 tail -f bearerbox.log root 31435 0.0 0.2 11752 2284 pts/4 S+ 11:30 0:00 grep --color=auto box On Wed, Apr 6, 2016 at 11:14 AM, Беляев Владимир Николаевич < v.bely...@sngb.ru> wrote: > > > 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> > Date: Wed, Apr 6, 2016 at 11:07 AM > Subject: > To: users <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 > > > > > > > > >