EMERGENCY

View: New views
3 Messages — Rating Filter:   Alert me  

EMERGENCY

by Marcelo Olivas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a huge campaign today at 10 PM EST and now my kannel is not starting.  I'm a newby on this so please bear with me.  It's as if bearerbox is not responding.  Below is the error that I'm getting:
bearer box:
[root@server10 gw]# 2008-08-31 02:45:33 [17694] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telefonica_mx.conf' (on line 203 of file smskannel.conf.MBLOX).
2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `tigoelsalvador.conf' (on line 205 of file smskannel.conf.MBLOX).
2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `tigoguatemala.conf' (on line 211 of file smskannel.conf.MBLOX).
2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telecomsalvador.conf' (on line 214 of file smskannel.conf.MBLOX).
2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telcelmx.conf' (on line 217 of file smskannel.conf.MBLOX)


smsbox
2008-08-31 03:46:47 [19739] [0] INFO: Using HTTP request queueing with 15 retries, 10s delay.
2008-08-31 03:46:47 [19739] [0] DEBUG: ----------------------------------------------
2008-08-31 03:46:47 [19739] [0] DEBUG: Kannel smsbox version 1.3.2 starting
2008-08-31 03:46:47 [19739] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 19739.
2008-08-31 03:46:47 [19739] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 19739.
2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2008-08-31 03:46:47 [19739] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 19739.
2008-08-31 03:46:47 [19739] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 19739.
2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
2008-08-31 03:46:47 [19739] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 19739.
2008-08-31 03:46:47 [19739] [0] ERROR: connect failed
2008-08-31 03:46:47 [19739] [0] ERROR: System error 111: Connection refused
2008-08-31 03:46:47 [19739] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 19739.
2008-08-31 03:46:47 [19739] [0] ERROR: error connecting to server `localhost' at port `13001'
2008-08-31 03:46:47 [19739] [0] PANIC: Couldn't connect to the bearerbox.
2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(gw_panic+0x174) [0x808099f]
2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(connect_to_bearerbox+0x37) [0x8062cad]
2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(main+0x2d0) [0x805d65a]
2008-08-31 03:46:47 [19739] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x6fede3]
2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox [0x8050b1d]

The configuration is the following:
group = core
admin-port = 13000
smsbox-port = 13001
admin-password =somesecure
status-password =something
wdp-interface-name = "*"
admin-allow-ip = "*.*.*.*"
log-file = "/tmp/test_bearerbox_mblox_3-5.log"
log-level = 0
store-file = "/tmp/test_StoredMsg"
access-log = "/tmp/test_coreaccess.log"
black-list = "http://localhost:9090/midc/blacklist.txt"
#sms-incoming-queue-limit = 0
#smsbox-max-pending=100
dlr-storage = mysql

#INCLUDE CONF TELEFONICA_MX
include = "telefonica_mx.conf"

#INCLUDE CONF TELEFONICA_MX
include = "tigoelsalvador.conf"

#INCLUDE CONF TELEFONICA_CO
#include = "telefonica_co.conf"

#INCLUDE CONF TIGO_GUATEMALA
include = "tigoguatemala.conf"

#INCLUDE CONF TELECOM_SV
include = "telecomsalvador.conf"


######################################
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
#smsbox-id = smsbox1
sendsms-port = 13013
#global-sender = 13013
log-file = "/tmp/test_smsbox_mblox_3-5.log"
log-level = 0
access-log = "/tmp/test_smsboxaccess.log"
mo-recode= 1
http-request-retry=15
http-queue-delay=10

I'm using an old version of Kannel(1.3.2) since an outsource company setup the gateway and customized so we could add the parameters for MBLOX.

Once again, this is an emergency.

Thanks,

Marcelo



Re: EMERGENCY

by Stipe Tolj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marcelo Olivas schrieb:

> I have a huge campaign today at 10 PM EST and now my kannel is not starting.  I'm a newby on this so please bear with me.  It's as if bearerbox is not responding.  Below is the error that I'm getting:
> bearer box:
> [root@server10 gw]# 2008-08-31 02:45:33 [17694] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telefonica_mx.conf' (on line 203 of file smskannel.conf.MBLOX).
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `tigoelsalvador.conf' (on line 205 of file smskannel.conf.MBLOX).
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `tigoguatemala.conf' (on line 211 of file smskannel.conf.MBLOX).
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telecomsalvador.conf' (on line 214 of file smskannel.conf.MBLOX).
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telcelmx.conf' (on line 217 of file smskannel.conf.MBLOX)
>
>
> smsbox
> 2008-08-31 03:46:47 [19739] [0] INFO: Using HTTP request queueing with 15 retries, 10s delay.
> 2008-08-31 03:46:47 [19739] [0] DEBUG: ----------------------------------------------
> 2008-08-31 03:46:47 [19739] [0] DEBUG: Kannel smsbox version 1.3.2 starting
> 2008-08-31 03:46:47 [19739] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
> 2008-08-31 03:46:47 [19739] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
> 2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
> 2008-08-31 03:46:47 [19739] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [0] ERROR: connect failed
> 2008-08-31 03:46:47 [19739] [0] ERROR: System error 111: Connection refused
> 2008-08-31 03:46:47 [19739] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [0] ERROR: error connecting to server `localhost' at port `13001'
> 2008-08-31 03:46:47 [19739] [0] PANIC: Couldn't connect to the bearerbox.
> 2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(gw_panic+0x174) [0x808099f]
> 2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(connect_to_bearerbox+0x37) [0x8062cad]
> 2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(main+0x2d0) [0x805d65a]
> 2008-08-31 03:46:47 [19739] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x6fede3]
> 2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox [0x8050b1d]

Hi Marcelo,

smsbox is unable to connect to bearerbox's smsbox connection port, which is
located at 'localhost:13001' as within the output here.

Can you check that:

a) bearerbox is running
b) you can telnet to the port, via
   $ telnet localhost 13001
   you should see at least a TCP connection establishment. I doubt it will.
c) check firewall (iptables if Linux) issues on the local machine
d) check if localhost get's resolved correctly. I had some strange effects on
older fedora core distros with 'localhost'. Try to substitute with the loopback
device IP (127.0.0.1) directy.
e) don't forget to pass a donation via www.kannel.org for the group for this
emergency assistance ;)

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------


Re: EMERGENCY

by Alejandro Guerrieri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would add manually running the bearerbox from the command line. Sometimes there are panic errors that doesn't show on the logfile because they happen too early on the startup cycle.

Try running the bearerbox with /path/to/bearerbox /path/to/conf_file and see if you get any errors there.

Hope it helps

Alejandro

On Sun, Aug 31, 2008 at 11:38 AM, Stipe Tolj <st@...> wrote:
Marcelo Olivas schrieb:
> I have a huge campaign today at 10 PM EST and now my kannel is not starting.  I'm a newby on this so please bear with me.  It's as if bearerbox is not responding.  Below is the error that I'm getting:
> bearer box:
> [root@server10 gw]# 2008-08-31 02:45:33 [17694] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telefonica_mx.conf' (on line 203 of file smskannel.conf.MBLOX).
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `tigoelsalvador.conf' (on line 205 of file smskannel.conf.MBLOX).
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `tigoguatemala.conf' (on line 211 of file smskannel.conf.MBLOX).
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telecomsalvador.conf' (on line 214 of file smskannel.conf.MBLOX).
> 2008-08-31 02:45:33 [17694] [0] DEBUG: Loading include file `telcelmx.conf' (on line 217 of file smskannel.conf.MBLOX)
>
>
> smsbox
> 2008-08-31 03:46:47 [19739] [0] INFO: Using HTTP request queueing with 15 retries, 10s delay.
> 2008-08-31 03:46:47 [19739] [0] DEBUG: ----------------------------------------------
> 2008-08-31 03:46:47 [19739] [0] DEBUG: Kannel smsbox version 1.3.2 starting
> 2008-08-31 03:46:47 [19739] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
> 2008-08-31 03:46:47 [19739] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
> 2008-08-31 03:46:47 [19739] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)
> 2008-08-31 03:46:47 [19739] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [0] ERROR: connect failed
> 2008-08-31 03:46:47 [19739] [0] ERROR: System error 111: Connection refused
> 2008-08-31 03:46:47 [19739] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 19739.
> 2008-08-31 03:46:47 [19739] [0] ERROR: error connecting to server `localhost' at port `13001'
> 2008-08-31 03:46:47 [19739] [0] PANIC: Couldn't connect to the bearerbox.
> 2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(gw_panic+0x174) [0x808099f]
> 2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(connect_to_bearerbox+0x37) [0x8062cad]
> 2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox(main+0x2d0) [0x805d65a]
> 2008-08-31 03:46:47 [19739] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x6fede3]
> 2008-08-31 03:46:47 [19739] [0] PANIC: ./smsbox [0x8050b1d]

Hi Marcelo,

smsbox is unable to connect to bearerbox's smsbox connection port, which is
located at 'localhost:13001' as within the output here.

Can you check that:

a) bearerbox is running
b) you can telnet to the port, via
  $ telnet localhost 13001
  you should see at least a TCP connection establishment. I doubt it will.
c) check firewall (iptables if Linux) issues on the local machine
d) check if localhost get's resolved correctly. I had some strange effects on
older fedora core distros with 'localhost'. Try to substitute with the loopback
device IP (127.0.0.1) directy.
e) don't forget to pass a donation via www.kannel.org for the group for this
emergency assistance ;)

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:...           mailto:...
-------------------------------------------------------------------


LightInTheBox - Buy quality products at wholesale price!