Opensmpp shuts down after panic twice a day

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Opensmpp shuts down after panic twice a day

christopher kamutumwa
hello all ,

i have a problem with opensmpp it randomly shuts down after panic below is error from logs please advise whats causing this and solution

[root@smpp01 sbin]# 2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x46493c]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libpthread.so.0(+0xf7e0) [0x7f04bbc667e0]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x458deb]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox(octstr_destroy+0x1d) [0x45b17d]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x40ed03]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x413f3e]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x44e7d9]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libpthread.so.0(+0x7aa1) [0x7f04bbc5eaa1]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libc.so.6(clone+0x6d) [0x7f04baab5aad]


regards chris

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opensmpp shuts down after panic twice a day

Rene Kluwen
What's the output of:

addr2line -e /path/to/opensmppbox 0x40ed03 0x413f3e 0x44e7d9

== Rene

------ Origineel bericht ------
Van: "christopher kamutumwa" <[hidden email]>
Aan: "users" <[hidden email]>
Verzonden: 11-11-2016 7:36:48
Onderwerp: Opensmpp shuts down after panic twice a day

hello all ,

i have a problem with opensmpp it randomly shuts down after panic below is error from logs please advise whats causing this and solution

[root@smpp01 sbin]# 2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x46493c]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libpthread.so.0(+0xf7e0) [0x7f04bbc667e0]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x458deb]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox(octstr_destroy+0x1d) [0x45b17d]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x40ed03]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x413f3e]
2016-11-09 09:44:12 [21810] [13] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x44e7d9]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libpthread.so.0(+0x7aa1) [0x7f04bbc5eaa1]
2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libc.so.6(clone+0x6d) [0x7f04baab5aad]


regards chris

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opensmpp shuts down after panic twice a day

Stipe Tolj-2
Am 14.11.2016 14:43, schrieb Rene Kluwen:
> What's the output of:
>
> addr2line -e /path/to/opensmppbox 0x40ed03 0x413f3e 0x44e7d9

since I need to mange a lot of these addr2line calls manually from time
to time, SHOULD we add a facility in the backtrace calling of Kannel
itself to check if addr2line is in $PATH, and if yes, simply use it to
get the line information of the addresses?

Stipe

--
Best Regards,
Stipe Tolj

-------------------------------------------------------------------
Düsseldorf, NRW, Germany

Kannel Foundation                 tolj.org system architecture
http://www.kannel.org/            http://www.tolj.org/

stolj at kannel.org               st at tolj.org
-------------------------------------------------------------------

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re[2]: Opensmpp shuts down after panic twice a day

Rene Kluwen
Yeah, ~1 for that.

------ Origineel bericht ------
Van: "Stipe Tolj" <[hidden email]>
Aan:
Cc: "users" <[hidden email]>
Verzonden: 17-11-2016 11:30:48
Onderwerp: Re: Opensmpp shuts down after panic twice a day

>Am 14.11.2016 14:43, schrieb Rene Kluwen:
>>What's the output of:
>>
>>addr2line -e /path/to/opensmppbox 0x40ed03 0x413f3e 0x44e7d9
>
>since I need to mange a lot of these addr2line calls manually from time
>to time, SHOULD we add a facility in the backtrace calling of Kannel
>itself to check if addr2line is in $PATH, and if yes, simply use it to
>get the line information of the addresses?
>
>Stipe
>
>-- Best Regards,
>Stipe Tolj
>
>-------------------------------------------------------------------
>Düsseldorf, NRW, Germany
>
>Kannel Foundation                 tolj.org system architecture
>http://www.kannel.org/ http://www.tolj.org/
>
>stolj at kannel.org               st at tolj.org
>-------------------------------------------------------------------
>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Opensmppbox booting fail on Debian jessie

Lam Nguyen Tuong

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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opensmppbox booting fail on Debian jessie

Rene Kluwen
What's your config?

------ Origineel bericht ------
Van: "Lam Nguyen Tuong" <[hidden email]>
Aan:
Cc: "users" <[hidden email]>
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opensmppbox booting fail on Debian jessie

Lam Nguyen Tuong

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 <[hidden email]>
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" <[hidden email]>
Aan:
Cc: "users" <[hidden email]>
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re[2]: Opensmppbox booting fail on Debian jessie

Rene Kluwen
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" <[hidden email]>
Aan: "Rene Kluwen" <[hidden email]>
Cc: "users" <[hidden email]>
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 <[hidden email]>
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" <[hidden email]>
Aan:
Cc: "users" <[hidden email]>
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re[2]: Opensmppbox booting fail on Debian jessie

Lam Nguyen Tuong

Thanks Rene but it is still not work.


If add: shortcode = "123" i got this error:


2016-12-11 22:09:12 [11449] [0] WARNING: DLR: using default 'internal' for storage type.
2016-12-11 22:09:12 [11449] [0] INFO: DLR using storage type: internal
2016-12-11 22:09:12 [11449] [0] INFO: Starting to log to file /var/log/kannel/smppbox.log level 0
2016-12-11 22:09:12 [11449] [0] INFO: Added logfile `/var/log/kannel/smppbox.log' with level `0'.
2016-12-11 22:09:12 [11449] [0] DEBUG: Adding smsc routing to id <smsc_tb> for sender no <123> and smsbox id <myboxID>
*** Error in `opensmppbox': munmap_chunk(): invalid pointer: 0x0000000002005180 ***


If add: shortcode = "123;456" i got another output:

2016-12-11 22:08:56 [11445] [0] WARNING: DLR: using default 'internal' for storage type.
2016-12-11 22:08:56 [11445] [0] INFO: DLR using storage type: internal
2016-12-11 22:08:56 [11445] [0] INFO: Starting to log to file /var/log/kannel/smppbox.log level 0
2016-12-11 22:08:56 [11445] [0] INFO: Added logfile `/var/log/kannel/smppbox.log' with level `0'.
2016-12-11 22:08:56 [11445] [0] DEBUG: Adding smsc routing to id <smsc_tb> for sender no <123> and smsbox id <myboxID>
2016-12-11 22:08:56 [11445] [0] DEBUG: Adding smsc routing to id <smsc_tb> for sender no <456> and smsbox id <myboxID>
*** Error in `opensmppbox': double free or corruption (out): 0x0000000001a071d0 ***

Lamnt.


From: Rene Kluwen <[hidden email]>
Sent: Sunday, December 11, 2016 9:59:08 PM
To: Lam Nguyen Tuong
Cc: users
Subject: Re[2]: Opensmppbox booting fail on Debian jessie
 
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" <[hidden email]>
Aan: "Rene Kluwen" <[hidden email]>
Cc: "users" <[hidden email]>
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 <[hidden email]>
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" <[hidden email]>
Aan:
Cc: "users" <[hidden email]>
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Opensmppbox and long SMS

info.ubichip
Hello,

Does anyone know if opensmppbox is able to send/receive long sms ?

Thanks in advance for your help


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Opensmppbox and long SMS

Rene Kluwen
In reply to this post by Lam Nguyen Tuong
Yes, it is.

== Rene

------ Origineel bericht ------
Van: "info.ubichip" <[hidden email]>
Aan: "'users'" <[hidden email]>
Verzonden: 12-12-2016 15:34:52
Onderwerp: Opensmppbox and long SMS

>Hello,
>
>Does anyone know if opensmppbox is able to send/receive long sms ?
>
>Thanks in advance for your help
>
>


Loading...