automatic starting again wapbox

Yury Mikhienko <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Mobicom-Kavkaz
Message-ID <[email protected]>
Hi all!

I use kannel v.1.2.1 on Linux system and last time I have noticed strange lines in wapbox.log (starting at [2002-11-14 13:00:52]):

2002-11-14 13:00:51 [10] DEBUG:   data: 47 61 74 65 77 61 79 3a   Gateway:
2002-11-14 13:00:51 [10] DEBUG:   data: 20 4b 61 6e 6e 65 6c 2f    Kannel/
2002-11-14 13:00:51 [10] DEBUG:   data: 31 2e 32 2e 31 0d 0a 58   1.2.1..X
2002-11-14 13:00:51 [10] DEBUG:   data: 2d 57 41 50 2d 53 65 73   -WAP-Ses
2002-11-14 13:00:51 [10] DEBUG:   data: 73 69 6f 6e 2d 49 44 3a   sion-ID:
2002-11-14 13:00:51 [10] DEBUG:   data: 20 31 0d 0a 41 75 74 68    1..Auth
2002-11-14 13:00:51 [10] DEBUG:   data: 6f 72 69 7a 61 74 69 6f   orizatio
2002-11-14 13:00:51 [10] DEBUG:   data: 6e 3a 20 42 61 73 69 63   n: Basic
2002-11-14 13:00:51 [10] DEBUG:   data: 20 5a 32 31 36 0d 0a 0d    Z216...
2002-11-14 13:00:51 [10] DEBUG:   data: 0a                        .
2002-11-14 13:00:51 [10] DEBUG: Octet string dump ends.
2002-11-14 13:00:51 [9] DEBUG: HTTP: Status line: <HTTP/1.0 503 Service Unavailable>
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (Server: Squid/2.4.STABLE7)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (Mime-Version: 1.0)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (Date: Thu, 14 Nov 2002 10:00:51 GMT)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (Content-Type: text/html)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (Content-Length: 786)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (Expires: Thu, 14 Nov 2002 10:00:51 GMT)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (X-Squid-Error: ERR_DNS_FAIL 0)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (X-Cache: MISS from wapgate.mobicomk.donpac.ru)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (X-Cache-Lookup: MISS from wapgate.mobicomk.donpac.ru:xxxx)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: Examining header (Proxy-Connection: keep-alive)
2002-11-14 13:00:51 [7] DEBUG: get_cookies: End
2002-11-14 13:00:51 [7] WARNING: WSP: Content type <text/html> not supported by client, deleting body.
2002-11-14 13:00:51 [1] DEBUG: WSP: machine 0x80d8848, state CONNECTED, event S-MethodResult.req
2002-11-14 13:00:51 [1] DEBUG: WSP: method 5, state PROCESSING, event S-MethodResult.req
2002-11-14 13:00:51 [1] DEBUG: WSP 1/5: New method state REPLYING
2002-11-14 13:00:51 [1] DEBUG: WSP 1: New state CONNECTED
2002-11-14 13:00:51 [5] DEBUG: WTP: resp_machine 5, state RESULT_WAIT, event TR-Result.req.
2002-11-14 13:00:51 [5] DEBUG: WTP 5: New state RESULT_RESP_WAIT
2002-11-14 13:00:52 [0] INFO: Added logfile `/var/log/kannel/wapbox.log' with level `0'.
2002-11-14 13:00:52 [0] INFO: Starting to log to file /var/log/kannel/wapbox.log level 0
2002-11-14 13:00:52 [0] DEBUG: no syslog parameter
2002-11-14 13:00:52 [0] DEBUG: Could not open access-log
2002-11-14 13:00:52 [0] DEBUG: map_url_max = -1
2002-11-14 13:00:52 [0] INFO: ------------------------------------------------------------
2002-11-14 13:00:52 [0] INFO: Kannel wapbox version 1.2.1 starting up.
2002-11-14 13:00:52 [0] DEBUG: Started thread 1 (wap/wsp_session.c:main_thread)
2002-11-14 13:00:52 [0] DEBUG: Started thread 2 (wap/wsp_unit.c:main_thread)
2002-11-14 13:00:52 [0] DEBUG: Started thread 3 (wap/wsp_push_client.c:main_thread)
2002-11-14 13:00:52 [0] DEBUG: Started thread 4 (wap/timers.c:watch_timers)
2002-11-14 13:00:52 [0] DEBUG: Started thread 5 (wap/wtp_resp.c:main_thread)
2002-11-14 13:00:52 [0] DEBUG: Started thread 6 (gw/wap-appl.c:main_thread)
2002-11-14 13:00:52 [0] DEBUG: Started thread 7 (gw/wap-appl.c:return_replies_thread)
2002-11-14 13:00:52 [0] INFO: Connected to bearerbox at 217.106.95.134 port 9201.
2002-11-14 13:00:52 [0] DEBUG: Started thread 8 (gw/heartbeat.c:heartbeat_thread)
2002-11-14 13:00:52 [5] INFO: WTP_RESP: resp_machine_find_or_create: ack received, yet having no machine

Looks like another (?) instance of wapbox is started. Is it correct situation or wrong?

And after it works for some hours, the wapbox is lost :(( 
in bearerbox.log:
2002-11-14 13:00:51 [21] DEBUG: Thread 21 (gw/bb_boxc.c:boxc_sender) terminates.
2002-11-14 13:00:51 [20] DEBUG: Thread 20 (gw/bb_boxc.c:function) terminates.
...
2002-11-14 13:00:52 [12] DEBUG: Started thread 22 (gw/bb_boxc.c:function)
...
2002-11-14 13:00:52 [22] DEBUG: Started thread 23 (gw/bb_boxc.c:boxc_sender)
...
2002-11-14 19:51:04 [22] DEBUG: boxc_receiver: got wdp from wapbox
2002-11-14 19:51:04 [10] DEBUG: udp: sending message
2002-11-14 19:51:05 [9] DEBUG: datagram received
2002-11-14 19:51:05 [23] DEBUG: boxc_sender: sent message to <217.106.95.134>
2002-11-14 19:51:05 [9] DEBUG: datagram received
2002-11-14 19:51:05 [23] DEBUG: boxc_sender: sent message to <217.106.95.134>
2002-11-14 19:51:10 [9] DEBUG: datagram received
2002-11-14 19:51:10 [23] DEBUG: boxc_sender: sent message to <217.106.95.134>
2002-11-14 19:51:11 [9] DEBUG: datagram received
2002-11-14 19:51:11 [23] DEBUG: boxc_sender: sent message to <217.106.95.134>
2002-11-14 19:51:12 [7] DEBUG: datagram received
******************************************************************************************
2002-11-14 19:51:12 [11] DEBUG: Did not find previous routing info for WDP, generating new
******************************************************************************************
...
**********************************************************************
2002-11-14 19:56:33 [11] DEBUG: Old wapbox has disappeared, re-routing
**********************************************************************
Can anyone help me?

Thanks for advice.

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.