Hello Everyone,

I managed to figure out how to go round this one. Am not sure what
the repercussion for my actions are but this is what I did. I changed the
store-type in kannel.conf to spool and then created a directory which I
named spool in var/log/kannel. I then restarted bearerbox, sqlbox and smsbox
and all seems well so far. Prior to changing the store-type and creating the
spool directory I had renamed the existing kannel.spool files and tested
bearerbox which created new files so you may want to explore that option as
well.

Thank you to all those that took time to help me resolve this problem.

Kind Regards,

On Thu, Apr 28, 2011 at 8:47 AM, mwamba chishimba <bamwa...@gmail.com>wrote:

> Hi Nikos,
>
> Thank you for your kind response, much appreciated.
>
> I have 2 follow up questions. I have backup kannel.spool files and
> apparently I have two files that were changed at the time am suspecting
> bearerbox crashed. They are named *kannel.spool.new* changed at *
> 12:45:35PM* and *kannel.spool.bak* changed at *12:45:11PM*
>
> I have this in my *kannel.conf* file which I believe is suppose to point
> to the above file. However I do not have the kannel.spool file indicated on
> the store-location file shown below. How do I restore or fix this the
> kannel.spool file and what extension should it have if any?
> *store-type = file*
> *store-location = "/usr/local/kannel/kannel.spool"*
>
> My second question is how do I access the store tools by Alex? Lastly,
> you've talked about changing to spool store-type, is it just a matter of
> changing they store type indicated above?
>
> Again, am very grateful for your help!
>
> Kind Regards,
>
> 2011/4/28 Nikos Balkanas <nbalka...@gmail.com>
>
>> Hi,
>>
>> Your problem is with store-file corruption. You will have to restore from
>> backup, or fix using vi. Alex G has provided some store tools, maybe they
>> can help. Better switch to spool store type, it is much easier to handle and
>> recover from problems.
>>
>> BR,
>> Nikos
>> ----- Original Message ----- From: mwamba chishimba
>> To: users
>> Sent: Thursday, April 28, 2011 12:11 AM
>> Subject: Packet too short while unpacking Msg Error
>>
>>
>>
>> Hello Everyone,
>>
>> I have run into serious trouble with my kannel setup. Been working just
>> fine and until a few hours ago whe it suddenly stopped working.
>> When I start bearerbox with : /usr/local/kannel/sbin/bearerbox -v -1
>> /usr/local/kannel/smskannel.conf
>>
>> I get the following error:
>> .
>> truncated
>> .
>> .
>> 2011-04-27 21:49:22 [25924] [0] ERROR: Packet too short while unpacking
>> Msg.
>> 2011-04-27 21:49:22 [25924] [0] ERROR: Msg packet was invalid.
>> 2011-04-27 21:49:22 [25924] [0] ERROR: Garbage at store-file, skipped.
>> 2011-04-27 21:49:22 [25924] [0] PANIC: Internal error: unknown message
>> type: 1747722356
>> 2011-04-27 21:49:22 [25924] [0] PANIC:
>> /usr/local/kannel/sbin/bearerbox(gw_panic+0xe2) [0x80d0992]
>> 2011-04-27 21:49:22 [25924] [0] PANIC:
>> /usr/local/kannel/sbin/bearerbox(msg_unpack_real+0x76) [0x8065946]
>> 2011-04-27 21:49:22 [25924] [0] PANIC:
>> /usr/local/kannel/sbin/bearerbox(msg_unpack_wrapper+0x29) [0x8065d19]
>> 2011-04-27 21:49:22 [25924] [0] PANIC: /usr/local/kannel/sbin/bearerbox
>> [0x805f2cf]
>> 2011-04-27 21:49:22 [25924] [0] PANIC:
>> /usr/local/kannel/sbin/bearerbox(main+0x91d) [0x80553fd]
>> 2011-04-27 21:49:22 [25924] [0] PANIC:
>> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb78b5ebc]
>> 2011-04-27 21:49:22 [25924] [0] PANIC: /usr/local/kannel/sbin/bearerbox
>> [0x8053de1]
>>
>> i have attached my smskannel.conf file and my kannel.log file for your
>> review.
>>
>> Thank you in advance for your kind help
>>
>> Kind Regards,
>>
>>
>>
>> --
>> Mwamba Chishimba
>>
>> "For I am persuaded, that neither death, nor life, nor angels, nor
>> principalities, nor powers, nor things present, nor things to come, nor
>> height, nor depth, nor any other creature, shall be able to separate us from
>> the love of God, which is in Christ Jesus our Lord"
>>
>
>
>
> --
> Mwamba Chishimba
>
> "For I am persuaded, that neither death, nor life, nor angels, nor
> principalities, nor powers, nor things present, nor things to come, nor
> height, nor depth, nor any other creature, shall be able to separate us from
> the love of God, which is in Christ Jesus our Lord"
>



-- 
Mwamba Chishimba

"For I am persuaded, that neither death, nor life, nor angels, nor
principalities, nor powers, nor things present, nor things to come, nor
height, nor depth, nor any other creature, shall be able to separate us from
the love of God, which is in Christ Jesus our Lord"

Reply via email to