You need first to start bearerbox before starting smsbox. Best Regards,
Αποκτήστε το Outlook για Android<https://aka.ms/AAb9ysg> ________________________________ From: users <users-boun...@kannel.org> on behalf of Norbert Kwizera <norka...@gmail.com> Sent: Wednesday, December 15, 2021 9:07:33 PM To: users@kannel.org <users@kannel.org> Subject: SMSBOX not starting with PANIC Hey All, We run a kannel instances with multiple connections and to increase the throughput for each we found that we can set multiple instances for each connection We have no issue when we set the instances to 5 however we have an issue when we set that to 10, starting kannel service fails with the error below 2021-12-14 10:39:14 [4089406] [0] ERROR: connect to <127.0.0.1> failed 2021-12-14 10:39:14 [4089406] [0] ERROR: System error 111: Connection refused 2021-12-14 10:39:14 [4089406] [0] ERROR: error connecting to server `localhost' at port `13001' 2021-12-14 10:39:14 [4089406] [0] PANIC: Couldn't connect to the bearerbox. 2021-12-14 10:39:14 [4089406] [0] PANIC: /usr/local/sbin/smsbox(gw_backtrace+0xf0) [0x5557e89e6fc0] 2021-12-14 10:39:14 [4089406] [0] PANIC: /usr/local/sbin/smsbox(gw_panic+0x167) [0x5557e89e7137] 2021-12-14 10:39:14 [4089406] [0] PANIC: /usr/local/sbin/smsbox(main+0xead) [0x5557e89b4b8d] 2021-12-14 10:39:14 [4089406] [0] PANIC: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7ffb41e3e0b3] 2021-12-14 10:39:14 [4089406] [0] PANIC: /usr/local/sbin/smsbox(_start+0x2e) [0x5557e89b560e] The kannel.conf is #********************************************************************* # Core Config #********************************************************************* group = core admin-port = 13000 smsbox-port = 13001 admin-password = XXXXXXXXX admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" wdp-interface-name = "*" log-file = "/var/log/kannel/kannel.log" log-level = 1 store-type = spool store-location = "/var/kannel/spooled" sms-resend-retry = 10 sms-outgoing-queue-limit = 10000000 box-allow-ip = "127.0.0.1" box-deny-ip = "*.*.*.*" #********************************************************************* # SMS Box Config #********************************************************************* group = smsbox bearerbox-host = localhost sendsms-port = 13013 log-file = "/var/log/kannel/smsbox.log" log-level = 1 mo-recode = true include = "/etc/kannel.d/" And each connection has config such as below ###################################################################### # operator X ###################################################################### group = smsc smsc = smpp host = 192.168.14.14 port = 9000 smsc-username = FOO smsc-password = BAR transceiver-mode = true window = 1 throughput = 40 system-type = "SMPP" smsc-id = operator_x allowed-smsc-id = operator_x log-level = 0 log-file = "/var/log/kannel/operator_x.log" address-range = "" interface-version = "34" instances = 10 Is there a maximum number of connections we can have at the same at the same time? Thanks