You are missing the "shortcode" configuration parameter in your group = smsc-route. I will try to come up with a patch, one of these days. Because indeed opensmppbox shouldn't crash on this.

== Rene

------ Origineel bericht ------
Van: "Lam Nguyen Tuong" <lam...@outlook.com>
Aan: "Rene Kluwen" <rene.klu...@chimit.nl>
Cc: "users" <users@kannel.org>
Verzonden: 9-12-2016 3:24:39
Onderwerp: Re: Opensmppbox booting fail on Debian jessie

Hi Rene,

It was running configuration.






group = core

group = opensmppbox
opensmppbox-id = smppbox1
opensmppbox-port = 50217
bearerbox-host = 127.0.0.1
bearerbox-port = 13005
our-system-id = testsmpp
smpp-logins = /etc/kannel/smpplogins.txt
use-systemid-as-smsboxid = 1
log-file = /var/log/kannel/smppbox.log
log-level = 0

group = smsc-route
smsc-id = smsc_tb
smsbox-id = myboxID


Lamnt.




--------------------------------------------------------------------------------
From: Rene Kluwen <rene.klu...@chimit.nl>
Sent: Thursday, December 8, 2016 8:11:21 PM
To: Lam Nguyen Tuong
Cc: users
Subject: Re: Opensmppbox booting fail on Debian jessie

What's your config?

------ Origineel bericht ------
Van: "Lam Nguyen Tuong" <lam...@outlook.com>
Aan:
Cc: "users" <users@kannel.org>
Verzonden: 8-12-2016 5:22:13
Onderwerp: Opensmppbox booting fail on Debian jessie

Hello,

I has complied latest kannel snapshot on Jessie 8.4 with opensmppbox but unable to boot it up and get this PANIC log. Appreciate if anyone can help to solve. Thank you.




2016-12-08 02:07:21 [14333] [0] PANIC: gwlib/octstr.c:2570: seems_valid_real: Assertion `ostr->data[ostr->len] == '\0'' failed. (Called from gwlib/octstr.c:325:octstr_destroy.) 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox(gw_backtrace+0xae) [0x45262e] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox(gw_panic+0x15f) [0x45279f] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox() [0x459e48] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox(octstr_destroy+0x1d) [0x45a50d] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox(main+0x7ec) [0x40c19c] 2016-12-08 02:07:21 [14333] [0] PANIC: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fa91a5f2b45] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox() [0x40c9cd]



Lamnt.

Reply via email to