On Fri, 2010-10-01 at 16:47, Harbhag Singh Sohal wrote: > I have killed all the running instances of bearerbox but I am still > getting this error although I can send sms successfully. > In modem configuration what should I use for device. I am using Huawei > E220 modem.
If your Kannel runs on Linux then it should be some of ttyUSB? devices, /dev/ttyUSB0 probably. > Below is the excerpt from my bb log > > 2010-10-01 16:42:29 [6677] [3] ERROR: System error 98: Address already in use > 2010-10-01 16:42:29 [6677] [3] PANIC: Could not open smsbox port 13016 Netstat is your friend: netstat -ltnp | grep 13016 You will see which process is using that port > 2010-10-01 16:42:29 [6677] [3] PANIC: > /usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed] > 2010-10-01 16:42:29 [6677] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8] > 2010-10-01 16:42:29 [6677] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d] > 2010-10-01 16:42:29 [6677] [3] PANIC: > /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0xdb896e] > 2010-10-01 16:42:29 [6677] [3] PANIC: > /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xf55a4e] > 2010-10-01 16:43:28 [6721] [0] INFO: Added logfile > `/var/log/kannel/bearerbox.log' with level `1'. > 2010-10-01 16:43:28 [6721] [0] INFO: Started access logfile > `/var/log/kannel/access.log'. > 2010-10-01 16:43:28 [6721] [0] INFO: HTTP: Opening server at port 13015. > 2010-10-01 16:43:28 [6721] [0] ERROR: bind failed > 2010-10-01 16:43:28 [6721] [0] ERROR: System error 98: Address already in use > 2010-10-01 16:43:28 [6721] [0] INFO: BOXC: 'smsbox-max-pending' not > set, using default (100). > 2010-10-01 16:43:28 [6721] [0] INFO: Set SMS resend frequency to 60 seconds. > 2010-10-01 16:43:28 [6721] [0] INFO: SMS resend retry set to unlimited. > 2010-10-01 16:43:28 [6721] [3] ERROR: bind failed > 2010-10-01 16:43:28 [6721] [3] ERROR: System error 98: Address already in use > 2010-10-01 16:43:28 [6721] [3] PANIC: Could not open smsbox port 13016 > 2010-10-01 16:43:28 [6721] [0] INFO: DLR rerouting for smsc id > <huawei_E220> disabled. > 2010-10-01 16:43:28 [6721] [3] PANIC: > /usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed] > 2010-10-01 16:43:28 [6721] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8] > 2010-10-01 16:43:28 [6721] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d] > 2010-10-01 16:43:28 [6721] [3] PANIC: > /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x11996e] > 2010-10-01 16:43:28 [6721] [3] PANIC: > /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0x5dca4e] > 2010-10-01 16:43:29 [6727] [0] INFO: Added logfile > `/var/log/kannel/bearerbox.log' with level `1'. > 2010-10-01 16:43:29 [6727] [0] INFO: Started access logfile > `/var/log/kannel/access.log'. > 2010-10-01 16:43:29 [6727] [0] INFO: HTTP: Opening server at port 13015. > 2010-10-01 16:43:29 [6727] [0] ERROR: bind failed > 2010-10-01 16:43:29 [6727] [0] ERROR: System error 98: Address already in use > 2010-10-01 16:43:29 [6727] [0] INFO: BOXC: 'smsbox-max-pending' not > set, using default (100). > 2010-10-01 16:43:29 [6727] [3] ERROR: bind failed > 2010-10-01 16:43:29 [6727] [3] ERROR: System error 98: Address already in use > 2010-10-01 16:43:29 [6727] [0] INFO: Set SMS resend frequency to 60 seconds. > 2010-10-01 16:43:29 [6727] [3] PANIC: Could not open smsbox port 13016 > 2010-10-01 16:43:29 [6727] [0] INFO: SMS resend retry set to unlimited. > 2010-10-01 16:43:29 [6727] [3] PANIC: > /usr/sbin/bearerbox(gw_panic+0xcd) [0x80d21ed] > 2010-10-01 16:43:29 [6727] [3] PANIC: /usr/sbin/bearerbox() [0x8059af8] > 2010-10-01 16:43:29 [6727] [3] PANIC: /usr/sbin/bearerbox() [0x80c952d] > 2010-10-01 16:43:29 [6727] [3] PANIC: > /lib/tls/i686/cmov/libpthread.so.0(+0x596e) [0x51096e] > 2010-10-01 16:43:29 [6727] [3] PANIC: > /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xd67a4e] > 2010-10-01 16:43:29 [6727] [0] INFO: DLR rerouting for smsc id > <huawei_E220> disabled. > 2010-10-01 16:43:29 [6727] [0] INFO: DLR rerouting for smsc id > <huawei_E220> disabled. > > > 2010/10/1 Nikos Balkanas <nbalka...@gmail.com>: > > Hi, > > > > Check your modem configuration. Seems you have put the wrong device. > > > > BR, > > Nikos > > ----- Original Message ----- From: "Harbhag Singh Sohal" > > <harbhag.so...@gmail.com> > > To: <users@kannel.org> > > Sent: Friday, October 01, 2010 7:18 AM > > Subject: Re: unable to find out the error > > > > > >> I am also getting this on the screen > >> > >> 2010-10-01 09:27:10 [11581] [6] ERROR: AT2[huawei_E220]: Error encoding > >> PDU! > >> 2010-10-01 09:27:10 [11581] [6] ERROR: System error 2: No such file or > >> directory > >> 2010-10-01 09:27:58 [11581] [6] ERROR: AT2[huawei_E220]: Error encoding > >> PDU! > >> 2010-10-01 09:27:58 [11581] [6] ERROR: System error 2: No such file or > >> directory > >> 2010-10-01 09:39:58 [11581] [6] ERROR: AT2[huawei_E220]: Error encoding > >> PDU! > >> > > > > > > > > -- > Harbhag Singh Sohal > Website : http://harbhag.wordpress.com/ > Twitter : http://twitter.com/harbhag > Facebook : http://facebook.com/harbhag > Email : harbhag.so...@gmail.com > -- Kind regards, Milan -------------------------------------------------- Arvanta, IT Security http://www.arvanta.net Please do not send me e-mail containing HTML code.