Hello.

I'am using kannel-1.0.3 in a WAP gateway configuration.

I launch one bearerbox and next, one wapbox. Here are the command with
the messages received:

./bearerbox wapkannel.conf &
[1] 125
1970-01-01 00:46:28 [0] ERROR: Can't find out official hostname for this
host, using `(none)' instead.
1970-01-01 00:46:28 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl
= 0
1970-01-01 00:46:28 [0] INFO: Reading configuration from
<wapkannel.conf>
1970-01-01 00:46:28 [0] INFO: ----------------------------------------
1970-01-01 00:46:28 [0] INFO: Kannel bearerbox II version 1.0.3 starting
1970-01-01 00:46:28 [0] DEBUG: Started thread 1
(gw/bb_http.c:httpadmin_run)
1970-01-01 00:46:28 [0] DEBUG: starting UDP sender/receiver module
1970-01-01 00:46:28 [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200>
1970-01-01 00:46:28 [0] DEBUG: Started thread 2
(gw/bb_udp.c:udp_receiver)
1970-01-01 00:46:28 [1] DEBUG: HTTP: Creating a new server socket
<13000>.
1970-01-01 00:46:28 [0] DEBUG: Started thread 3 (gw/bb_udp.c:udp_sender)
1970-01-01 00:46:28 [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201>
1970-01-01 00:46:28 [0] DEBUG: Started thread 4
(gw/bb_udp.c:udp_receiver)
1970-01-01 00:46:28 [0] DEBUG: Started thread 5 (gw/bb_udp.c:udp_sender)
1970-01-01 00:46:28 [0] DEBUG: starting wapbox connection module
1970-01-01 00:46:28 [0] DEBUG: Started thread 6
(gw/bb_boxc.c:wdp_to_wapboxes)
1970-01-01 00:46:28 [0] DEBUG: Started thread 7
(gw/bb_boxc.c:wapboxc_run)
1970-01-01 00:46:28 [0] DEBUG: starting WDP router
1970-01-01 00:46:28 [0] DEBUG: Started thread 8
(gw/bearerbox.c:wdp_router)
1970-01-01 00:46:28 [0] INFO: MAIN: Start-up done, entering mainloop 

 ./wapbox wapkannel.conf &
[2] 135
1970-01-01 00:46:39 [0] ERROR: Can't find out official hostname for this
host, using `(none)' instead.
1970-01-01 00:46:39 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl
= 0
1970-01-01 00:46:39 [0] INFO: Config dump begins:
1970-01-01 00:46:39 [0] INFO: filename = <wapkannel.conf>
1970-01-01 00:46:39 [0] INFO: group:
1970-01-01 00:46:39 [0] INFO:   <group> = <core>
1970-01-01 00:46:39 [0] INFO:   <admin-port> = <13000>
1970-01-01 00:46:39 [0] INFO:   <wapbox-port> = <13002>
1970-01-01 00:46:39 [0] INFO:   <admin-password> = <bar>
1970-01-01 00:46:39 [0] INFO:   <wdp-interface-name> = <*>
1970-01-01 00:46:39 [0] INFO:   <box-deny-ip> = <*.*.*.*>
1970-01-01 00:46:39 [0] INFO:   <box-allow-ip> = <127.0.0.1>
1970-01-01 00:46:39 [0] INFO: group:
1970-01-01 00:46:39 [0] INFO:   <group> = <wapbox>
1970-01-01 00:46:39 [0] INFO:   <bearerbox-host> = <localhost>
1970-01-01 00:46:39 [0] INFO:   <syslog-level> = <none>
1970-01-01 00:46:39 [0] INFO: Config dump ends.
1970-01-01 00:46:39 [0] DEBUG: syslog parameter is none
1970-01-01 00:46:39 [0] INFO:
------------------------------------------------------------
1970-01-01 00:46:39 [0] INFO: WAP box version 1.0.3 starting up.
1970-01-01 00:46:39 [0] DEBUG: Started thread 1
(gw/timers.c:watch_timers)
1970-01-01 00:46:39 [0] DEBUG: Started thread 2
(gw/wsp-session.c:main_thread)
1970-01-01 00:46:39 [0] DEBUG: Started thread 3
(gw/wsp-unit.c:main_thread)
1970-01-01 00:46:39 [0] DEBUG: Started thread 4
(gw/wtp_init.c:main_thread)
1970-01-01 00:46:39 [0] DEBUG: Started thread 5
(gw/wtp_resp.c:main_thread)
1970-01-01 00:46:40 [0] DEBUG: Started thread 6
(gw/wap-appl.c:main_thread)
1970-01-01 00:46:40 [0] ERROR: gethostbyname failed
1970-01-01 00:46:40 [0] ERROR: error connecting to server `localhost' at
port `13002'
1970-01-01 00:46:40 [0] ERROR: System error 2: No such file or directory
1970-01-01 00:46:40 [0] PANIC: Couldn't connect to bearer box
localhost:13002. 

Does anyone know what does that mean?
Is there some special variables to setup?

Paul GOUNOT

Reply via email to