Hi, Please make sure you kill all the instances of bearberbox and smsbox before you do a restart. There is one still occupying port 13000 or any other port that are you are using..
Simon @sotandeka On Mon, Apr 4, 2016 at 3:10 PM, christopher kamutumwa < chriskamutu...@gmail.com> wrote: > hello i need help with below error > > 2016-04-04 13:51:59 [10949] [0] WARNING: 'store-file' option deprecated, > please use 'store-location' and 'store-type' instead. > 2016-04-04 13:51:59 [10949] [0] INFO: HTTP: Opening server at port 13000. > 2016-04-04 13:51:59 [10949] [0] ERROR: bind failed > 2016-04-04 13:51:59 [10949] [0] ERROR: System error 98: Address already in > use > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 1 > (gw/bb_http.c:httpadmin_run) > 2016-04-04 13:51:59 [10949] [0] DEBUG: starting smsbox connection module > 2016-04-04 13:51:59 [10949] [0] INFO: BOXC: 'smsbox-max-pending' not set, > using default (100). > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 2 > (gw/bb_boxc.c:sms_to_smsboxes) > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 3 > (gw/bb_boxc.c:smsboxc_run) > 2016-04-04 13:51:59 [10949] [0] INFO: Set SMS resend frequency to 60 > seconds. > 2016-04-04 13:51:59 [10949] [0] INFO: SMS resend retry set to unlimited. > 2016-04-04 13:51:59 [10949] [0] DEBUG: smsbox MO concatenated message > handling enabled > 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id <(null)> > disabled. > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 4 > (gw/smsc/smsc_fake.c:fake_listener) > 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id <crs> > disabled. > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 5 > (gw/smsc/smsc_smpp.c:io_thread) > 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id <routesms> > disabled. > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 6 > (gw/smsc/smsc_smpp.c:io_thread) > 2016-04-04 13:51:59 [10949] [0] INFO: Set throughput to 70.000 for smsc id > <clx> > 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id <clx> > disabled. > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 7 > (gw/smsc/smsc_smpp.c:io_thread) > 2016-04-04 13:51:59 [10949] [0] INFO: DLR rerouting for smsc id <cbf> > disabled. > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 8 > (gw/smsc/smsc_smpp.c:io_thread) > 2016-04-04 13:51:59 [10949] [0] DEBUG: Started thread 9 > (gw/bb_smscconn.c:sms_router) > 2016-04-04 13:51:59 [10949] [0] INFO: > ---------------------------------------- > 2016-04-04 13:51:59 [10949] [0] INFO: Kannel bearerbox II version 1.4.3 > starting > 2016-04-04 13:51:59 [10949] [4] DEBUG: Thread 4 > (gw/smsc/smsc_fake.c:fake_listener) maps to pid 10949. > 2016-04-04 13:51:59 [10949] [3] DEBUG: Thread 3 (gw/bb_boxc.c:smsboxc_run) > maps to pid 10949. > 2016-04-04 13:51:59 [10949] [3] ERROR: bind failed > 2016-04-04 13:51:59 [10949] [3] ERROR: System error 98: Address already in > use > 2016-04-04 13:51:59 [10949] [3] PANIC: Could not open smsbox port 13001 > 2016-04-04 13:51:59 [10949] [3] PANIC: /usr/sbin/bearerbox(gw_panic+0x17b) > [0x47fdab] > 2016-04-04 13:51:59 [10949] [3] PANIC: /usr/sbin/bearerbox() [0x410e28] > 2016-04-04 13:51:59 [10949] [3] PANIC: /usr/sbin/bearerbox() [0x4779be] > 2016-04-04 13:51:59 [10949] [3] PANIC: > /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7f25d3df8182] > 2016-04-04 13:51:59 [10949] [3] PANIC: > /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f25d297d47d] > > > > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address State > PID/Program name > tcp 0 0 0.0.0.0:13000 0.0.0.0:* > LISTEN 9465/bearerbox > tcp 0 0 0.0.0.0:13001 0.0.0.0:* > LISTEN 9465/bearerbox > tcp 0 0 127.0.0.1:3306 0.0.0.0:* > LISTEN 3576/mysqld > tcp 0 0 0.0.0.0:22 0.0.0.0:* > LISTEN 3506/sshd > tcp 1 0 185.3.95.94:13000 41.72.122.101:53250 > CLOSE_WAIT - > tcp 23 0 127.0.0.1:13000 127.0.0.1:49112 > CLOSE_WAIT - > tcp 0 336 185.3.95.94:22 41.72.122.101:61928 > ESTABLISHED 8987/3 > tcp 34 0 127.0.0.1:13001 127.0.0.1:42372 > CLOSE_WAIT - > tcp 34 0 127.0.0.1:13001 127.0.0.1:42348 > CLOSE_WAIT - > tcp 1 0 127.0.0.1:13000 127.0.0.1:49120 > CLOSE_WAIT - > tcp 17 0 185.3.95.94:35446 54.77.180.254:2775 > CLOSE_WAIT 9465/bearerbox > tcp 23 0 127.0.0.1:13000 127.0.0.1:49116 > CLOSE_WAIT - > tcp 0 848 185.3.95.94:22 183.3.202.199:48552 > ESTABLISHED 11005/sshd: [accept > tcp 1 0 185.3.95.94:13000 41.72.122.101:54779 > CLOSE_WAIT - > tcp 34 0 127.0.0.1:13001 127.0.0.1:42370 > CLOSE_WAIT - > tcp 1 0 185.3.95.94:13000 41.72.122.101:2226 > CLOSE_WAIT - > tcp 1 0 185.3.95.94:13000 41.72.122.101:35596 > CLOSE_WAIT - > tcp 484 0 127.0.0.1:13001 127.0.0.1:42332 > CLOSE_WAIT - > tcp 34 0 127.0.0.1:13001 127.0.0.1:42390 > CLOSE_WAIT - > tcp 425 0 185.3.95.94:13000 41.72.122.101:38846 > ESTABLISHED - > tcp 0 0 185.3.95.94:22 182.176.93.98:55343 > ESTABLISHED 2647/0 > tcp 271 0 127.0.0.1:13001 127.0.0.1:42334 > CLOSE_WAIT - > tcp 0 0 185.3.95.94:22 41.72.96.130:11792 > ESTABLISHED 8736/2 > tcp 34 0 127.0.0.1:13001 127.0.0.1:42354 > CLOSE_WAIT - > tcp 759 0 127.0.0.1:13001 127.0.0.1:42350 > CLOSE_WAIT - > tcp 23 0 127.0.0.1:13000 127.0.0.1:49118 > CLOSE_WAIT - > tcp 0 0 185.3.95.94:22 182.176.93.98:55391 > ESTABLISHED 2764/1 > tcp 426 0 185.3.95.94:13000 41.72.122.101:45985 > CLOSE_WAIT - > tcp6 0 0 :::80 :::* LISTEN > 6152/apache2 > tcp6 0 0 :::22 :::* LISTEN > 3506/sshd > udp 0 0 0.0.0.0:4500 0.0.0.0:* > 3016/charon > udp 0 0 0.0.0.0:500 0.0.0.0:* > 3016/charon > udp 0 0 192.168.200.172:123 0.0.0.0:* > 3893/ntpd > udp 0 0 192.168.200.177:123 0.0.0.0:* > 3893/ntpd > udp 0 0 185.3.95.94:123 0.0.0.0:* > 3893/ntpd > udp 0 0 127.0.0.1:123 0.0.0.0:* > 3893/ntpd > udp 0 0 0.0.0.0:123 0.0.0.0:* > 3893/ntpd > udp6 0 0 :::4500 :::* > 3016/charon > udp6 0 0 :::500 :::* > 3016/charon > udp6 0 0 2a01:7e00::f03c:91f:123 :::* > 3893/ntpd > udp6 0 0 fe80::f03c:91ff:fe3:123 :::* > 3893/ntpd > udp6 0 0 ::1:123 :::* > 3893/ntpd > udp6 0 0 :::123 :::* > 3893/ntpd > >