Thank you Arief for your tip! I'll try to configure like that...
I haven't choose that option before because I would like that my Kannel could 
use internal dlr mode or mysql. I think if we choose this option the Kannel 
will always be on mode Mysql, is that correct?

Thank you!
Tiago

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
Ariee
Sent: terça-feira, 30 de Março de 2004 2:43
To: [EMAIL PROTECTED]
Subject: Fw: Kannel Panic using dlr-storage with mysql

please recompile kannel and add this --with-dlr=mysql
so your configure line will be like this :

./configure  --with-malloc=native --enable-start-stop-daemon=no --with-mysql
=/usr/local --enable-mysql --prefix=/usr/local
i386-portbld-freebsd4.9 --with-dlr=mysql


Regards,



Arief
http://ariee.psend.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]
Sent: segunda-feira, 29 de Março de 2004 21:42
To: [EMAIL PROTECTED]
Subject: Kannel Panic using dlr-storage with mysql


Hello Kannel Users,
I have Kannel Gateway 1.2.1 running on FreeBsd V4.9 (I used the Kannel port of 
this system to install the Kannel).

The problem I have is when I try to use the Kannel with dlr-storage on mysql, 
it gives the error:

[0] PANIC: DLR: storage type defined as 'mysql', but no MySQL support build in!

In fact I have MySQL 4.0.17 and configured Kannel as the Users Guide 
recommends. I also read on the Kannel Maillist, posts from other users 
reporting the same problem and reffering to the location of the mysql 
libraries, and I think got it well! 

I configured the Kannel during the installation like this:

./configure  --with-malloc=native --enable-start-stop-daemon=no --with- 
mysql=/usr/local --enable-mysql --prefix=/usr/local i386-portbld-freebsd4.9

I check the config.log (file where the result of the kannel configure is 
kept), and it seems that the compilation of kannel was well done with mysql.

Does anyone have a clue on why this happens or how can I solve the problem?

I also give you an example of my Kannel configuration file:

group = core
admin-port = 13003
smsbox-port = 13004
admin-password = password
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/var/log/kannel/beareraccess.log"
store-file = "/var/log/kannel/kannel.store"
dlr-storage = mysql

group = mysql-connection
id = mydlr
host = testhost
mysql-username = user
mysql-password = password
database = dlr

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-source = source 


__________________________________________________________
Continua a preferir gastar mais? Adira à ligação Portugalmail.
http://acesso.portugalmail.pt/compare

Reply via email to