Hi all,

May someone please help me with this one. I want to set up a WAP Gateway.
First I start the bearerbox then the wapbox. The bearerbox confirms that the
wapbox has connected. But after about approximately 8 minutes the wapbox
gets disconnected from the bearerbox. Here's the logfile for the wapbox:

2007-08-31 04:15:37 [2292] [0] INFO: Added logfile `/tmp/wapbox.log' with
level `-1'.
2007-08-31 04:15:37 [2292] [0] INFO: Starting to log to file /tmp/wapbox.log
level -1
2007-08-31 04:15:37 [2292] [0] DEBUG: syslog parameter is none
2007-08-31 04:15:37 [2292] [0] INFO:
------------------------------------------------------------
2007-08-31 04:15:37 [2292] [0] INFO: Kannel wapbox version 1.4.1 starting
up.
2007-08-31 04:15:37 [2292] [1] DEBUG: Thread 1
(wap/wsp_session.c:main_thread) maps to pid 2292.
2007-08-31 04:15:37 [2292] [0] DEBUG: Started thread 1
(wap/wsp_session.c:main_thread)
2007-08-31 04:15:37 [2292] [2] DEBUG: Thread 2 (wap/wsp_unit.c:main_thread)
maps to pid 2292.
2007-08-31 04:15:37 [2292] [0] DEBUG: Started thread 2
(wap/wsp_unit.c:main_thread)
2007-08-31 04:15:37 [2292] [3] DEBUG: Thread 3
(wap/wsp_push_client.c:main_thread) maps to pid 2292.
2007-08-31 04:15:37 [2292] [0] DEBUG: Started thread 3
(wap/wsp_push_client.c:main_thread)
2007-08-31 04:15:37 [2292] [4] DEBUG: Thread 4 (wap/timers.c:watch_timers)
maps to pid 2292.
2007-08-31 04:15:37 [2292] [0] DEBUG: Started thread 4
(wap/timers.c:watch_timers)
2007-08-31 04:15:37 [2292] [5] DEBUG: Thread 5 (wap/wtp_resp.c:main_thread)
maps to pid 2292.
2007-08-31 04:15:37 [2292] [0] DEBUG: Started thread 5
(wap/wtp_resp.c:main_thread)
2007-08-31 04:15:37 [2292] [6] DEBUG: Thread 6 (gw/wap-appl.c:main_thread)
maps to pid 2292.
2007-08-31 04:15:37 [2292] [0] DEBUG: Started thread 6 (gw/wap-
appl.c:main_thread)
2007-08-31 04:15:37 [2292] [7] DEBUG: Thread 7 (gw/wap-
appl.c:return_replies_thread) maps to pid 2292.
2007-08-31 04:15:37 [2292] [0] DEBUG: Started thread 7 (gw/wap-
appl.c:return_replies_thread)
2007-08-31 04:15:37 [2292] [0] INFO: Connected to bearerbox at
127.0.0.1port 13002.
2007-08-31 04:15:37 [2292] [8] DEBUG: Thread 8
(gw/heartbeat.c:heartbeat_thread) maps to pid 2292.
2007-08-31 04:15:37 [2292] [0] DEBUG: Started thread 8
(gw/heartbeat.c:heartbeat_thread)
2007-08-31 04:15:58 [2292] [0] ERROR: Error reading from fd 21:
2007-08-31 04:15:58 [2292] [0] ERROR: System error 104: Connection reset by
peer
2007-08-31 04:15:58 [2292] [0] ERROR: Connection to bearerbox broke.
2007-08-31 04:15:58 [2292] [0] INFO: Kannel wapbox terminating.
2007-08-31 04:16:00 [2292] [8] ERROR: Error writing 12 octets to fd 21:
2007-08-31 04:16:00 [2292] [8] ERROR: System error 104: Connection reset by
peer
2007-08-31 04:16:00 [2292] [8] ERROR: Couldn't write Msg to bearerbox.
2007-08-31 04:16:00 [2292] [8] DEBUG: Thread 8
(gw/heartbeat.c:heartbeat_thread) terminates.
2007-08-31 04:16:00 [2292] [5] DEBUG: Thread 5 (wap/wtp_resp.c:main_thread)
terminates.
2007-08-31 04:16:00 [2292] [0] DEBUG: wtp_resp_shutdown: 0 resp_machines
left
2007-08-31 04:16:00 [2292] [0] DEBUG: 0 items left in the tid cache
2007-08-31 04:16:00 [2292] [4] DEBUG: Thread 4 (wap/timers.c:watch_timers)
terminates.
2007-08-31 04:16:00 [2292] [3] DEBUG: Thread 3
(wap/wsp_push_client.c:main_thread) terminates.
2007-08-31 04:16:00 [2292] [0] DEBUG: wsp_push_client_shutdown: 0 push
client machinesleft
2007-08-31 04:16:00 [2292] [2] DEBUG: Thread 2 (wap/wsp_unit.c:main_thread)
terminates.
2007-08-31 04:16:00 [2292] [1] DEBUG: Thread 1
(wap/wsp_session.c:main_thread) terminates.
2007-08-31 04:16:00 [2292] [0] DEBUG: WSP: 0 session machines left.
2007-08-31 04:16:00 [2292] [6] DEBUG: Thread 6 (gw/wap-appl.c:main_thread)
terminates.
2007-08-31 04:16:00 [2292] [7] DEBUG: Thread 7 (gw/wap-
appl.c:return_replies_thread) terminates.
2007-08-31 04:16:00 [2292] [0] ERROR: Error writing 12 octets to fd 21:
2007-08-31 04:16:00 [2292] [0] ERROR: System error 104: Connection reset by
peer
2007-08-31 04:16:00 [2292] [0] DEBUG: Immutable octet strings: 590.

My config file:

group = core
admin-port = 13000
wapbox-port = 13002
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
wdp-interface-name = "*"
log-file = "/tmp/bearerbox.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/tmp/access.log"
#store-file = "/tmp/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

group = wapbox
bearerbox-host = 127.0.0.1
log-file = "/tmp/wapbox.log"
log-level = 0
syslog-level = none
access-log = "/tmp/wapaccess.log"


Thanks in advance

Kudzai

Reply via email to