you can use the following command in the terminal to close the port fuser -k 31001/tcp
31001 is the port number you want to close. After the port is closed you can start the bearerbox Cheers, Davit > Date: Wed, 18 Aug 2010 12:05:02 -0500 > Subject: Re: Unable to start bearerbox > From: cornejo.alv...@gmail.com > To: harbhag.so...@gmail.com > CC: users@kannel.org > > The error message is self expalnatory > > error 98: Address already in use > > means that bb address/port is in use either by another bb instance or > by other application > > use > > netstat an | grep 13000 > > to see if you find it > > Regards > > Alvaro > > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Wed, Aug 18, 2010 at 10:54 AM, Harbhag Singh Sohal > <harbhag.so...@gmail.com> wrote: > > I am using Nokia 3500c handset as GSM modem to send via kannel , In the past > > I was able to send SMS using Kannel with this handset and same configuration > > . Now when I am trying to start bearerbox I am getting following error > > > > bearerbox -v 1 /etc/kannel/kannel.conf > > 2010-08-18 21:22:12 [3123] [0] INFO: Debug_lvl = 1, log_file = <none>, > > log_lvl = 0 > > 2010-08-18 21:22:12 [3123] [0] WARNING: DLR: using default 'internal' for > > storage type. > > 2010-08-18 21:22:12 [3123] [0] INFO: DLR using storage type: internal > > 2010-08-18 21:22:12 [3123] [0] INFO: Added logfile > > `/var/log/kannel/bearerbox.log' with level `1'. > > 2010-08-18 21:22:12 [3123] [0] INFO: HTTP: Opening server at port 13000. > > 2010-08-18 21:22:12 [3123] [0] ERROR: bind failed > > 2010-08-18 21:22:12 [3123] [0] ERROR: System error 98: Address already in > > use > > 2010-08-18 21:22:12 [3123] [0] INFO: BOXC: 'smsbox-max-pending' not set, > > using default (100). > > 2010-08-18 21:22:12 [3123] [3] ERROR: bind failed > > 2010-08-18 21:22:12 [3123] [3] ERROR: System error 98: Address already in > > use > > 2010-08-18 21:22:12 [3123] [0] INFO: Set SMS resend frequency to 60 seconds. > > 2010-08-18 21:22:12 [3123] [3] PANIC: Could not open smsbox port 13001 > > 2010-08-18 21:22:12 [3123] [0] INFO: SMS resend retry set to unlimited. > > 2010-08-18 21:22:12 [3123] [0] INFO: DLR rerouting for smsc id <(null)> > > disabled. > > 2010-08-18 21:22:12 [3123] [3] PANIC: bearerbox(gw_panic+0x15a) [0x47f7ca] > > 2010-08-18 21:22:12 [3123] [3] PANIC: bearerbox() [0x413f18] > > 2010-08-18 21:22:12 [3123] [3] PANIC: bearerbox() [0x47763e] > > 2010-08-18 21:22:12 [3123] [3] PANIC: /lib/libpthread.so.0(+0x69ca) > > [0x7f9d26c5b9ca] > > 2010-08-18 21:22:12 [3123] [3] PANIC: /lib/libc.so.6(clone+0x6d) > > [0x7f9d25ec36fd] > > > > I am using Ubuntu 10.04 Lucid Lynx 64Bit . Below is my configuration file . > > > > group = core > > admin-port = 13000 > > admin-password = 123456 > > admin-deny-ip = "*.*.*.*" > > admin-allow-ip = "" > > smsbox-port = 13001 > > #wdp-interface-name = "*" > > log-file = "/var/log/kannel/bearerbox.log" > > box-deny-ip = "*.*.*.*" > > box-allow-ip = "127.0.0.1" > > log-level = 1 > > > > group = wapbox > > bearerbox-host = localhost > > log-file = "/var/log/kannel/wapbox.log" > > > > group = smsc > > smsc = at > > modemtype = auto > > device= /dev/ttyACM0 > > my-number = +91946416***** > > connect-allow-ip = 127.0.0.1 > > log-level = 0 > > > > group = modems > > id = nokia > > name = "Nokia 3500C" > > detect-string = "Nokia" > > init-string = "ATZ" > > init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" > > > > group = smsbox > > bearerbox-host = 127.0.0.1 > > sendsms-port = 13013 > > global-sender = +91946416***** > > log-level = 0 > > > > group = sendsms-user > > username = harbhag > > password = 123456 > > concatenation= true > > max-messages = 10 > > > > > > -- > > Harbhag Singh Sohal > > Website : http://harbhag.wordpress.com/ > > > > > > >