To get best support, always include users list in your e-mail.

2013/6/7 Hitesh Sofat <[email protected]>

> hello sir i use kannel with my android phone but they gave error
>
> sofat@sofat-K55A:~$ sudo bearerbox -v 1
> /home/sofat/gateway/debian/kannel.conf
> 2013-06-07 17:16:29 [3171] [0] INFO: Debug_lvl = 1, log_file = <none>,
> log_lvl = 0
> 2013-06-07 17:16:29 [3171] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2013-06-07 17:16:29 [3171] [0] INFO: MYSQL: server version
> 5.5.31-0ubuntu0.12.04.2, client version 5.5.31.
> 2013-06-07 17:16:29 [3171] [0] INFO: DLR using storage type: mysql
> 2013-06-07 17:16:29 [3171] [0] INFO: SSL not supported, no SSL
> initialization done.
> 2013-06-07 17:16:29 [3171] [0] INFO: HTTP: Opening server at port 13029.
> 2013-06-07 17:16:29 [3171] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
> 2013-06-07 17:16:29 [3171] [0] INFO: Set SMS resend frequency to 60
> seconds.
> 2013-06-07 17:16:29 [3171] [0] INFO: SMS resend retry set to unlimited.
> 2013-06-07 17:16:29 [3171] [0] INFO: DLR rerouting for smsc id
> <Manufacturer: SAMSUNG ELECTRONICS CORPORATION> disabled.
> 2013-06-07 17:16:29 [3171] [0] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: configuration shows modemtype <samsung>
> 2013-06-07 17:16:29 [3171] [0] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: read modem definition for <samsung>
> 2013-06-07 17:16:29 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: trying to use speed <460800> from modem definition
> 2013-06-07 17:16:29 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: opening device
> 2013-06-07 17:16:29 [3171] [0] INFO:
> ----------------------------------------
> 2013-06-07 17:16:29 [3171] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
> 2013-06-07 17:16:29 [3171] [0] INFO: MAIN: Start-up done, entering mainloop
> 2013-06-07 17:16:29 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: speed set to 460800
> 2013-06-07 17:16:31 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: Closing device
> 2013-06-07 17:16:31 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: speed is 460800
> 2013-06-07 17:16:31 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: opening device
> 2013-06-07 17:16:31 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: Logging in
> 2013-06-07 17:16:31 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: init device
> 2013-06-07 17:16:31 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: speed set to 460800
> 2013-06-07 17:16:32 [3171] [6] INFO: AT2[Manufacturer: SAMSUNG ELECTRONICS
> CORPORATION]: AT SMSC successfully opened.
> 2013-06-07 17:16:40 [3171] [5] INFO: Client connected from <127.0.0.1>
> 2013-06-07 17:16:50 [3171] [6] ERROR: AT2[Manufacturer: SAMSUNG
> ELECTRONICS CORPORATION]: CMS ERROR: +CMS ERROR: 330
> 2013-06-07 17:16:50 [3171] [6] ERROR: AT2[Manufacturer: SAMSUNG
> ELECTRONICS CORPORATION]: CMS ERROR: SMSC address unknown (330)
> 2013-06-07 17:17:52 [3171] [6] ERROR: AT2[Manufacturer: SAMSUNG
> ELECTRONICS CORPORATION]: CMS ERROR: +CMS ERROR: 330
> 2013-06-07 17:17:52 [3171] [6] ERROR: AT2[Manufacturer: SAMSUNG
> ELECTRONICS CORPORATION]: CMS ERROR: SMSC address unknown (330)
> 2013-06-07 17:18:54 [3171] [6] ERROR: AT2[Manufacturer: SAMSUNG
> ELECTRONICS CORPORATION]: CMS ERROR: +CMS ERROR: 330
> 2013-06-07 17:18:54 [3171] [6] ERROR: AT2[Manufacturer: SAMSUNG
> ELECTRONICS CORPORATION]: CMS ERROR: SMSC address unknown (330)
>
>
>
>
> On Thu, May 16, 2013 at 9:12 PM, spameden <[email protected]> wrote:
>
>> 1. Did you modify kannel source?
>> 2. What's the revision from SVN are you using? Is it latest?
>>
>>
>> 2013/5/16 Andreas Fink <[email protected]>
>>
>>> there's two issues to solve here:
>>> a) why are you getting a DLR for a message you have sent but don't
>>> remember.
>>> b) why is it bailing out at this time because this should simply ignore
>>> the DLR in that case.
>>>
>>>
>>> for b) we need a backtrace, a PANIC log or something like that to find
>>> out what is creating the segfault (PANIC does it on purpose but the panic
>>> output is what we must be able to see). You should compile kannel with
>>> symbols on or run it in gdb and do a backtrace there.
>>>
>>> for a) this could be a config issue of all kinds or simply a bug but I
>>> guess it's the first. So how this is configured exactly has to be analyzed.
>>>
>>> Maybe you can share an example of the exact URL's as passed out and back
>>> into kannel.
>>>
>>>
>>> On 16.05.2013, at 13:04, Adam Pinter <[email protected]> wrote:
>>>
>>> > Hello everyone,
>>> >
>>> > I have a problem with the DLR on kannel 1.5
>>> > The remote SMSC sending DLRs which are not found in our DLR table as
>>> you can see in attached logs.
>>> > This causes segmentation fault end kills kannel.
>>> >
>>> > I've found a patch to solve this problem which trying to find the DLR
>>> in table for X times, but after X attempts the problem is same: DLR not
>>> found braerbox stops and segmentation fault
>>> >
>>> > Anyone can help me with it?
>>> > Thanks
>>> > Adam
>>> >
>>> > Logs:
>>> >
>>> > smsbox.log
>>> > ----
>>> > 2013-05-16 11:03:34 [14915] [0] ERROR: connect to <127.0.0.1> failed
>>> > 2013-05-16 11:03:34 [14915] [0] ERROR: System error 111: Connection
>>> refused
>>> > 2013-05-16 11:03:34 [14915] [0] DEBUG: Connecting to <127.0.0.1>
>>> > 2013-05-16 11:03:34 [14915] [0] ERROR: connect to <127.0.0.1> failed
>>> > 2013-05-16 11:03:34 [14915] [0] ERROR: System error 111: Connection
>>> refused
>>> > 2013-05-16 11:03:34 [14915] [0] ERROR: error connecting to server
>>> `localhost' at port `29005'
>>> > 2013-05-16 11:03:34 [14915] [0] PANIC: Couldn't connect to the
>>> bearerbox.
>>> > 2013-05-16 11:03:34 [14915] [0] PANIC:
>>> /usr/local/kannel15/sbin/smsbox(gw_backtrace+0xad) [0x808b44d]
>>> > 2013-05-16 11:03:34 [14915] [0] PANIC:
>>> /usr/local/kannel15/sbin/smsbox(gw_panic+0xe8) [0x808b548]
>>> > 2013-05-16 11:03:34 [14915] [0] PANIC:
>>> /usr/local/kannel15/sbin/smsbox(main+0x1040) [0x8055dd0]
>>> > 2013-05-16 11:03:34 [14915] [0] PANIC:
>>> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7112450]
>>> > 2013-05-16 11:03:34 [14915] [0] PANIC: /usr/local/kannel15/sbin/smsbox
>>> [0x8054531]
>>> >
>>> > kannel.log
>>> > -----
>>> > 2013-05-16 11:03:23 [14504] [8] DEBUG: boxc_receiver: sms received
>>> > 2013-05-16 11:03:23 [14504] [8] DEBUG: send_msg: sending msg to box:
>>> <127.0.0.1>
>>> > 2013-05-16 11:03:23 [14504] [8] DEBUG: boxc_receiver: sms received
>>> > 2013-05-16 11:03:23 [14504] [8] DEBUG: send_msg: sending msg to box:
>>> <127.0.0.1>
>>> > 2013-05-16 11:03:23 [14504] [8] DEBUG: boxc_receiver: sms received
>>> > 2013-05-16 11:03:23 [14504] [8] DEBUG: send_msg: sending msg to box:
>>> <127.0.0.1>
>>> > 2013-05-16 11:03:23 [14504] [6] PANIC:
>>> /usr/local/kannel15/sbin/bearerbox [0x80fc18d]
>>> > 2013-05-16 11:03:23 [14504] [6] PANIC: [0xb77c5440]
>>> > 2013-05-16 11:03:23 [14504] [6] PANIC:
>>> /usr/local/kannel15/sbin/bearerbox [0x80a338f]
>>> > 2013-05-16 11:03:23 [14504] [6] PANIC:
>>> /usr/local/kannel15/sbin/bearerbox [0x80a4156]
>>> > 2013-05-16 11:03:23 [14504] [6] PANIC:
>>> /usr/local/kannel15/sbin/bearerbox [0x80a523d]
>>> > 2013-05-16 11:03:23 [14504] [6] PANIC:
>>> /usr/local/kannel15/sbin/bearerbox [0x80e5edc]
>>> > 2013-05-16 11:03:23 [14504] [6] PANIC:
>>> /lib/tls/i686/cmov/libpthread.so.0 [0xb752a4fb]
>>> >
>>> > Smsc.log
>>> > ------
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: DLR from SMSC<remotesmsc> for
>>> DST<06301234567>. Attempt 19 of 20.
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: Sleeping for 1.000 seconds
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: sql: SELECT `mask`, `service`,
>>> `url`, `source`, `destination`, `boxc` FROM `dlrtablename` WHERE `smsc`=?
>>> AND `ts`=? AND `destination` LIKE CONCAT('%', ?) LIMIT 1
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: column=mask buffer_type=252
>>> max_length=0 length=65535
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: column=service buffer_type=252
>>> max_length=0 length=65535
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: column=url buffer_type=252
>>> max_length=0 length=65535
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: column=source buffer_type=252
>>> max_length=0 length=65535
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: column=destination
>>> buffer_type=252 max_length=0 length=65535
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: column=boxc buffer_type=252
>>> max_length=0 length=65535
>>> > 2013-05-16 11:03:23 [14504] [6] DEBUG: DLR from SMSC<remotesmsc> for
>>> DST<06301234567>. Attempt 20 of 20.
>>> > 2013-05-16 11:03:23 [14504] [6] WARNING: DLR[mysql]: DLR from
>>> SMSC<remotesmsc> for DST<06301234567> not found after 20 attempts.
>>> > 2013-05-16 11:03:44 [15036] [6] INFO: EMI2[remotesmsc]: connecting to
>>> Primary SMSC
>>>
>>>
>>>
>>>
>>
>

Reply via email to