ERROR: System error 98: Address already in use

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ERROR: System error 98: Address already in use

René Kapayo
Dear all,
Thanks in advance for assistance.
I know that the error in object is current issue.
It's the first time I try to  run kannel.
My configuration is ok because the bearerbox, wapbox and smsbox
services are running. But I have this message where I execute the
command bearerbox /etc/kannel.conf.

Please find below the error message:
# bearerbox kannel.conf
2017-02-27 05:25:36 [9679] [0] INFO: Debug_lvl = -1, log_file =
<none>, log_lvl = 0
2017-02-27 05:25:36 [9679] [0] WARNING: DLR: using default 'internal'
for storage type.
2017-02-27 05:25:36 [9679] [0] INFO: DLR using storage type: internal
2017-02-27 05:25:36 [9679] [0] DEBUG: Kannel bearerbox version `1.5.0'.
Build `Sep 29 2012 07:29:04', compiler `4.4.6 20110731 (Red Hat 4.4.6-3)'.
System Linux, release 2.6.32-71.el6.i686, version #1 SMP Fri Nov 12
04:17:17 GMT 2010, machine i686.
Hostname SERVEURSMS, IP 192.168.89.129.
Libxml version 2.7.6.
Using OpenSSL 1.0.0-fips 29 Mar 2010.
Compiled with MySQL 5.1.52, using MySQL 5.1.47.
Using SQLite 3.6.20.
Using native malloc.

2017-02-27 05:25:36 [9679] [0] INFO: HTTP: Opening server at port 13000.
2017-02-27 05:25:36 [9679] [0] ERROR: bind failed
2017-02-27 05:25:36 [9679] [0] ERROR: System error 98: Address already in use
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 1
(gw/bb_http.c:httpadmin_run)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting smsbox connection module
2017-02-27 05:25:36 [9679] [0] INFO: BOXC: 'smsbox-max-pending' not
set, using default (100).
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 2
(gw/bb_boxc.c:sms_to_smsboxes)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 3
(gw/bb_boxc.c:smsboxc_run)
2017-02-27 05:25:36 [9679] [0] INFO: Set SMS resend frequency to 60 seconds.
2017-02-27 05:25:36 [9679] [0] INFO: SMS resend retry set to unlimited.
2017-02-27 05:25:36 [9679] [0] DEBUG: MO concatenated message handling enabled
2017-02-27 05:25:36 [9679] [0] INFO: DLR rerouting for smsc id <smppf> disabled.
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 4
(gw/smsc/smsc_smpp.c:io_thread)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 5
(gw/bb_smscconn.c:sms_router)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting wapbox connection module
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 6
(gw/bb_boxc.c:wdp_to_wapboxes)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 7
(gw/bb_boxc.c:wapboxc_run)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting WDP router
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 8
(gw/bearerbox.c:wdp_router)
2017-02-27 05:25:36 [9679] [0] INFO: ----------------------------------------
2017-02-27 05:25:36 [9679] [0] INFO: Kannel bearerbox II version 1.5.0 starting
2017-02-27 05:25:36 [9679] [3] DEBUG: Thread 3
(gw/bb_boxc.c:smsboxc_run) maps to pid 9679.
2017-02-27 05:25:36 [9679] [3] ERROR: bind failed
2017-02-27 05:25:36 [9679] [3] ERROR: System error 98: Address already in use
2017-02-27 05:25:36 [9679] [3] PANIC: Could not open smsbox port 13001
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox(gw_panic+0xcd) [0x80decbd]
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox() [0x80592d8]
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox() [0x80d5b6e]
2017-02-27 05:25:36 [9679] [3] PANIC: /lib/libpthread.so.0() [0xcc69e9]
2017-02-27 05:25:36 [9679] [3] PANIC: /lib/libc.so.6(clone+0x5e) [0xbdddfe]

Best regard;


--
Rene

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ERROR: System error 98: Address already in use

Web Services
if your bearbox, sqlbox, smsbox running why you run this command ??

On Mon, Feb 27, 2017 at 5:54 PM, René Kapayo <[hidden email]> wrote:
Dear all,
Thanks in advance for assistance.
I know that the error in object is current issue.
It's the first time I try to  run kannel.
My configuration is ok because the bearerbox, wapbox and smsbox
services are running. But I have this message where I execute the
command bearerbox /etc/kannel.conf.

Please find below the error message:
# bearerbox kannel.conf
2017-02-27 05:25:36 [9679] [0] INFO: Debug_lvl = -1, log_file =
<none>, log_lvl = 0
2017-02-27 05:25:36 [9679] [0] WARNING: DLR: using default 'internal'
for storage type.
2017-02-27 05:25:36 [9679] [0] INFO: DLR using storage type: internal
2017-02-27 05:25:36 [9679] [0] DEBUG: Kannel bearerbox version `1.5.0'.
Build `Sep 29 2012 07:29:04', compiler `4.4.6 20110731 (Red Hat 4.4.6-3)'.
System Linux, release 2.6.32-71.el6.i686, version #1 SMP Fri Nov 12
04:17:17 GMT 2010, machine i686.
Hostname SERVEURSMS, IP 192.168.89.129.
Libxml version 2.7.6.
Using OpenSSL 1.0.0-fips 29 Mar 2010.
Compiled with MySQL 5.1.52, using MySQL 5.1.47.
Using SQLite 3.6.20.
Using native malloc.

2017-02-27 05:25:36 [9679] [0] INFO: HTTP: Opening server at port 13000.
2017-02-27 05:25:36 [9679] [0] ERROR: bind failed
2017-02-27 05:25:36 [9679] [0] ERROR: System error 98: Address already in use
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 1
(gw/bb_http.c:httpadmin_run)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting smsbox connection module
2017-02-27 05:25:36 [9679] [0] INFO: BOXC: 'smsbox-max-pending' not
set, using default (100).
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 2
(gw/bb_boxc.c:sms_to_smsboxes)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 3
(gw/bb_boxc.c:smsboxc_run)
2017-02-27 05:25:36 [9679] [0] INFO: Set SMS resend frequency to 60 seconds.
2017-02-27 05:25:36 [9679] [0] INFO: SMS resend retry set to unlimited.
2017-02-27 05:25:36 [9679] [0] DEBUG: MO concatenated message handling enabled
2017-02-27 05:25:36 [9679] [0] INFO: DLR rerouting for smsc id <smppf> disabled.
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 4
(gw/smsc/smsc_smpp.c:io_thread)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 5
(gw/bb_smscconn.c:sms_router)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting wapbox connection module
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 6
(gw/bb_boxc.c:wdp_to_wapboxes)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 7
(gw/bb_boxc.c:wapboxc_run)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting WDP router
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 8
(gw/bearerbox.c:wdp_router)
2017-02-27 05:25:36 [9679] [0] INFO: ----------------------------------------
2017-02-27 05:25:36 [9679] [0] INFO: Kannel bearerbox II version 1.5.0 starting
2017-02-27 05:25:36 [9679] [3] DEBUG: Thread 3
(gw/bb_boxc.c:smsboxc_run) maps to pid 9679.
2017-02-27 05:25:36 [9679] [3] ERROR: bind failed
2017-02-27 05:25:36 [9679] [3] ERROR: System error 98: Address already in use
2017-02-27 05:25:36 [9679] [3] PANIC: Could not open smsbox port 13001
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox(gw_panic+0xcd) [0x80decbd]
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox() [0x80592d8]
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox() [0x80d5b6e]
2017-02-27 05:25:36 [9679] [3] PANIC: /lib/libpthread.so.0() [0xcc69e9]
2017-02-27 05:25:36 [9679] [3] PANIC: /lib/libc.so.6(clone+0x5e) [0xbdddfe]

Best regard;


--
Rene


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ERROR: System error 98: Address already in use

Rene Kluwen
In reply to this post by René Kapayo
Could you post your config?
Probably you mentioned port 13000 twice. Or otherwise something else
happens to be running on that port on your machine already.

== Rene

------ Origineel bericht ------
Van: "René Kapayo" <[hidden email]>
Aan: [hidden email]
Verzonden: 27-2-2017 13:24:45
Onderwerp: ERROR: System error 98: Address already in use

>Dear all,
>Thanks in advance for assistance.
>I know that the error in object is current issue.
>It's the first time I try to  run kannel.
>My configuration is ok because the bearerbox, wapbox and smsbox
>services are running. But I have this message where I execute the
>command bearerbox /etc/kannel.conf.
>
>Please find below the error message:
># bearerbox kannel.conf
>2017-02-27 05:25:36 [9679] [0] INFO: Debug_lvl = -1, log_file =
><none>, log_lvl = 0
>2017-02-27 05:25:36 [9679] [0] WARNING: DLR: using default 'internal'
>for storage type.
>2017-02-27 05:25:36 [9679] [0] INFO: DLR using storage type: internal
>2017-02-27 05:25:36 [9679] [0] DEBUG: Kannel bearerbox version `1.5.0'.
>Build `Sep 29 2012 07:29:04', compiler `4.4.6 20110731 (Red Hat
>4.4.6-3)'.
>System Linux, release 2.6.32-71.el6.i686, version #1 SMP Fri Nov 12
>04:17:17 GMT 2010, machine i686.
>Hostname SERVEURSMS, IP 192.168.89.129.
>Libxml version 2.7.6.
>Using OpenSSL 1.0.0-fips 29 Mar 2010.
>Compiled with MySQL 5.1.52, using MySQL 5.1.47.
>Using SQLite 3.6.20.
>Using native malloc.
>
>2017-02-27 05:25:36 [9679] [0] INFO: HTTP: Opening server at port
>13000.
>2017-02-27 05:25:36 [9679] [0] ERROR: bind failed
>2017-02-27 05:25:36 [9679] [0] ERROR: System error 98: Address already
>in use
>2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 1
>(gw/bb_http.c:httpadmin_run)
>2017-02-27 05:25:36 [9679] [0] DEBUG: starting smsbox connection module
>2017-02-27 05:25:36 [9679] [0] INFO: BOXC: 'smsbox-max-pending' not
>set, using default (100).
>2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 2
>(gw/bb_boxc.c:sms_to_smsboxes)
>2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 3
>(gw/bb_boxc.c:smsboxc_run)
>2017-02-27 05:25:36 [9679] [0] INFO: Set SMS resend frequency to 60
>seconds.
>2017-02-27 05:25:36 [9679] [0] INFO: SMS resend retry set to unlimited.
>2017-02-27 05:25:36 [9679] [0] DEBUG: MO concatenated message handling
>enabled
>2017-02-27 05:25:36 [9679] [0] INFO: DLR rerouting for smsc id <smppf>
>disabled.
>2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 4
>(gw/smsc/smsc_smpp.c:io_thread)
>2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 5
>(gw/bb_smscconn.c:sms_router)
>2017-02-27 05:25:36 [9679] [0] DEBUG: starting wapbox connection module
>2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 6
>(gw/bb_boxc.c:wdp_to_wapboxes)
>2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 7
>(gw/bb_boxc.c:wapboxc_run)
>2017-02-27 05:25:36 [9679] [0] DEBUG: starting WDP router
>2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 8
>(gw/bearerbox.c:wdp_router)
>2017-02-27 05:25:36 [9679] [0] INFO:
>----------------------------------------
>2017-02-27 05:25:36 [9679] [0] INFO: Kannel bearerbox II version 1.5.0
>starting
>2017-02-27 05:25:36 [9679] [3] DEBUG: Thread 3
>(gw/bb_boxc.c:smsboxc_run) maps to pid 9679.
>2017-02-27 05:25:36 [9679] [3] ERROR: bind failed
>2017-02-27 05:25:36 [9679] [3] ERROR: System error 98: Address already
>in use
>2017-02-27 05:25:36 [9679] [3] PANIC: Could not open smsbox port 13001
>2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox(gw_panic+0xcd)
>[0x80decbd]
>2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox() [0x80592d8]
>2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox() [0x80d5b6e]
>2017-02-27 05:25:36 [9679] [3] PANIC: /lib/libpthread.so.0() [0xcc69e9]
>2017-02-27 05:25:36 [9679] [3] PANIC: /lib/libc.so.6(clone+0x5e)
>[0xbdddfe]
>
>Best regard;
>
>
>--
>Rene
>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: ERROR: System error 98: Address already in use

Web Services
In reply to this post by Web Services
Hi,

this command for start bearbox and your error message shows port 13000 is already in use that means your bearbox is running or if your bearbox not running restart your server and try same command 

thanks

On Mon, Feb 27, 2017 at 8:01 PM, René Kapayo <[hidden email]> wrote:
It's first time I use kannel. It's why I try several commands.
Thank you for response.

2017-02-27 14:46 GMT+01:00 Web Services <[hidden email]>:
if your bearbox, sqlbox, smsbox running why you run this command ??

On Mon, Feb 27, 2017 at 5:54 PM, René Kapayo <[hidden email]> wrote:
Dear all,
Thanks in advance for assistance.
I know that the error in object is current issue.
It's the first time I try to  run kannel.
My configuration is ok because the bearerbox, wapbox and smsbox
services are running. But I have this message where I execute the
command bearerbox /etc/kannel.conf.

Please find below the error message:
# bearerbox kannel.conf
2017-02-27 05:25:36 [9679] [0] INFO: Debug_lvl = -1, log_file =
<none>, log_lvl = 0
2017-02-27 05:25:36 [9679] [0] WARNING: DLR: using default 'internal'
for storage type.
2017-02-27 05:25:36 [9679] [0] INFO: DLR using storage type: internal
2017-02-27 05:25:36 [9679] [0] DEBUG: Kannel bearerbox version `1.5.0'.
Build `Sep 29 2012 07:29:04', compiler `4.4.6 20110731 (Red Hat 4.4.6-3)'.
System Linux, release 2.6.32-71.el6.i686, version #1 SMP Fri Nov 12
04:17:17 GMT 2010, machine i686.
Hostname SERVEURSMS, IP 192.168.89.129.
Libxml version 2.7.6.
Using OpenSSL 1.0.0-fips 29 Mar 2010.
Compiled with MySQL 5.1.52, using MySQL 5.1.47.
Using SQLite 3.6.20.
Using native malloc.

2017-02-27 05:25:36 [9679] [0] INFO: HTTP: Opening server at port 13000.
2017-02-27 05:25:36 [9679] [0] ERROR: bind failed
2017-02-27 05:25:36 [9679] [0] ERROR: System error 98: Address already in use
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 1
(gw/bb_http.c:httpadmin_run)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting smsbox connection module
2017-02-27 05:25:36 [9679] [0] INFO: BOXC: 'smsbox-max-pending' not
set, using default (100).
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 2
(gw/bb_boxc.c:sms_to_smsboxes)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 3
(gw/bb_boxc.c:smsboxc_run)
2017-02-27 05:25:36 [9679] [0] INFO: Set SMS resend frequency to 60 seconds.
2017-02-27 05:25:36 [9679] [0] INFO: SMS resend retry set to unlimited.
2017-02-27 05:25:36 [9679] [0] DEBUG: MO concatenated message handling enabled
2017-02-27 05:25:36 [9679] [0] INFO: DLR rerouting for smsc id <smppf> disabled.
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 4
(gw/smsc/smsc_smpp.c:io_thread)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 5
(gw/bb_smscconn.c:sms_router)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting wapbox connection module
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 6
(gw/bb_boxc.c:wdp_to_wapboxes)
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 7
(gw/bb_boxc.c:wapboxc_run)
2017-02-27 05:25:36 [9679] [0] DEBUG: starting WDP router
2017-02-27 05:25:36 [9679] [0] DEBUG: Started thread 8
(gw/bearerbox.c:wdp_router)
2017-02-27 05:25:36 [9679] [0] INFO: ----------------------------------------
2017-02-27 05:25:36 [9679] [0] INFO: Kannel bearerbox II version 1.5.0 starting
2017-02-27 05:25:36 [9679] [3] DEBUG: Thread 3
(gw/bb_boxc.c:smsboxc_run) maps to pid 9679.
2017-02-27 05:25:36 [9679] [3] ERROR: bind failed
2017-02-27 05:25:36 [9679] [3] ERROR: System error 98: Address already in use
2017-02-27 05:25:36 [9679] [3] PANIC: Could not open smsbox port 13001
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox(gw_panic+0xcd) [0x80decbd]
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox() [0x80592d8]
2017-02-27 05:25:36 [9679] [3] PANIC: bearerbox() [0x80d5b6e]
2017-02-27 05:25:36 [9679] [3] PANIC: /lib/libpthread.so.0() [0xcc69e9]
2017-02-27 05:25:36 [9679] [3] PANIC: /lib/libc.so.6(clone+0x5e) [0xbdddfe]

Best regard;


--
Rene





--
Rene KAPAYO
Ingenieur Informaticien
Certifié Prince 2 Fundation
Tél.(portable) : +236 75 20 25 79
Domicile (portable) : +236 77 06 40 43
B.P. 2533 Bangui
Republique Centrafricaine



Loading...