Re: SMSBOX not starting with PANIC
Stipe Tolj <[email protected]> Fri, 17 Dec 2021 09:39:01 +0100
| Newsgroups | gmane.comp.mobile.kannel.user |
|---|---|
| Organization | Kannel Foundation |
| Message-ID | <[email protected]> |
Am 15.12.21, 20:07, schrieb Norbert Kwizera:
> 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]
Hi,
the error of smsbox is unrelated to the fact that you use 'instances =
x' in the corresponding 'group = smsc'.
In fact it even doesn't have any configuration relation, since smsbox
daemon never looks into the config of 'group = smsc' values, these are
only relevant for bearerbox.
At the time you are trying to start smsbox, bearerbox's smsbox-port is
not available, and this is why smsbox PANICs.
--
Best Regards,
Stipe
-------------------------------------------------------------------
Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------