I've re-installed kannel using:
tar xvfj gateway131.bz2 ./configure --enable-mysql --with-dlr=mysql make make install
I've now added the line:
dlr-storage = mysql
to my core group, and furthest down in my config file I have the following:
----------------------------------------- # MYSQL CONFIGURATION
group = mysql-connection id = mydlr host = localhost mysql-username = foo mysql-password = bar database = dlr
# STORAGE GROUP
group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destenation field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc field-source = source -------------------------------------
Now everyhting works fine when I start kannel, all response is good, then I try to connect via HTTP with:
http://localhost:13000/status.html?
Then in the bearerbox I get this:
------------------------------------
2003-10-29 16:08:46 [3] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
Segmentation fault
--------------------------------------
and in the SMS box I get:
--------------------------------------
2003-10-29 16:18:22 [0] INFO: Connection closed by the bearerbox
2003-10-29 16:18:22 [0] INFO: Received (and handled?) 0 requests in 31 seconds (0.00 per second)
2003-10-29 16:18:22 [0] INFO: Kannel smsbox terminating.
2003-10-29 16:18:22 [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) terminates.
2003-10-29 16:18:22 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate
2003-10-29 16:18:22 [3] DEBUG: HTTP: No clients with requests, quitting.
2003-10-29 16:18:22 [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) terminates.2003-10-29 16:18:22 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates.2003-10-29 16:18:22 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2003-10-29 16:18:22 [0] DEBUG: Waiting for 4 (gw/smsbox.c:obey_request_thread) to terminate
2003-10-29 16:18:22 [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) terminates.
2003-10-29 16:18:22 [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) terminates.
2003-10-29 16:18:22 [0] DEBUG: Waiting for 5 (gw/smsbox.c:url_result_thread) to terminate
2003-10-29 16:18:22 [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) terminates.
2003-10-29 16:18:22 [0] DEBUG: Immutable octet strings: 158.
--------------------------------------------------------------------------
Now if I don't add the above to my config everything works fine.... so basically I'm woundering what could be wrong as all I added are compulsary things which needs to be there for mysql to work.
Cheers for any help in the matter.
I'm running Gentoo Linux with Kannel 1.3.1 have tried 1.2.1 and get the same error.
Thank a lot in advance, Jarl
_________________________________________________________________
Enjoy MSN 8 patented spam control and more with MSN 8 Dial-up Internet Service. Try it FREE for one month! http://join.msn.com/?page=dept/dialup
