Hi,

I was trying to start the kannel using dlr-storage=mysql, but the it
fails. The logs in the wapbox.log say:

 

2007-11-09 07:21:48 [2652] [0] INFO: Starting to log to file
/usr/local/kannel/log/wapbox.log level -1

2007-11-09 07:21:48 [2652] [0] DEBUG: syslog parameter is none

2007-11-09 07:21:48 [2652] [0] INFO:
------------------------------------------------------------

2007-11-09 07:21:48 [2652] [0] INFO: Kannel wapbox version 1.4.1
starting up.

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 1
(wap/wsp_session.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 2
(wap/wsp_unit.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 3
(wap/wsp_push_client.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 4
(wap/timers.c:watch_timers)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 5
(wap/wtp_init.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 6
(wap/wtp_resp.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 7
(gw/wap-appl.c:main_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 8
(gw/wap-appl.c:return_replies_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 9
(gw/wap_push_ota.c:main_thread)

2007-11-09 07:21:48 [2652] [0] INFO: HTTP: Opening server at port 8380.

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 10
(gwlib/fdset.c:poller)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 11
(gwlib/http.c:server_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 12
(gw/wap_push_ppg.c:ota_read_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 13
(gw/wap_push_ppg.c:http_read_thread)

2007-11-09 07:21:48 [2652] [0] DEBUG: Started thread 14
(gw/wap_push_ppg.c:pap_request_thread)

2007-11-09 07:21:48 [2652] [0] ERROR: connect failed

2007-11-09 07:21:48 [2652] [0] ERROR: System error 111: Connection
refused

2007-11-09 07:21:48 [2652] [0] ERROR: error connecting to server
`localhost' at port `13002'

2007-11-09 07:21:48 [2652] [0] PANIC: Couldn't connect to the bearerbox.

2007-11-09 07:21:48 [2652] [0] PANIC:
/usr/local/kannel/sbin/wapbox(gw_panic+0xa3) [0x80d26cb]

2007-11-09 07:21:48 [2652] [0] PANIC:
/usr/local/kannel/sbin/wapbox(main+0x581) [0x807da71]

2007-11-09 07:21:48 [2652] [0] PANIC:
/lib/tls/libc.so.6(__libc_start_main+0xe3) [0x30be33]

2007-11-09 07:21:48 [2652] [0] PANIC: /usr/local/kannel/sbin/wapbox
[0x807c509]

 

When I removed the dlr-storage=mysql and replaced it with inernal
storage, everything worked fine.

I tried to compile kannel using the following configure and I stil have
he same problem:

./configure --with-mysql --with-mysql-dir=/usr/local/mysql
--prefix=/usr/local/kannel-complied 

or

./configure --with-mysql --with-mysql-dir=/usr/local/mysql
--prefix=/usr/local/kannel-complied --with-dlr=mysql

 

What should I do in order to make it work?

 

Knaan Ratosh

Acting VP R&D

AxisMobile Ltd.

Consumer Mobile Email

Tel: Int +972-3-7685529

Mobile: Int +972-54-3138460

[EMAIL PROTECTED]

 

Reply via email to