Try to install package like libmysql-devel
configure --with-mysql --with-mysql-dir=/path/to/libs
Regards,
Cezary
----- Original Message -----
From: Elton Hoxha
To: Falko Ziemann
Cc: kannel users
Sent: Tuesday, March 10, 2009 10:11 AM
Subject: Re: mysql storage frequent complains
Installed:
[r...@localhost Desktop]# rpm -ivh mysql-devel-5.0.45-7.el5.i386.rpm
warning: mysql-devel-5.0.45-7.el5.i386.rpm: Header V3 DSA signature: NOKEY,
key ID 82fd17b2
Preparing... ###########################################
[100%]
1:mysql-devel ###########################################
[100%]
[r...@localhost Desktop]# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[r...@localhost kannel]# sbin/bearerbox smskannel.conf
2009-03-06 11:32:47 [27213] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2009-03-06 11:32:47 [27213] [0] PANIC: DLR: storage type 'mysql' is not
supported!
2009-03-06 11:32:47 [27213] [0] PANIC: sbin/bearerbox(gw_panic+0xc2)
[0x80cc0c2]
2009-03-06 11:32:47 [27213] [0] PANIC: sbin/bearerbox(dlr_init+0x22c)
[0x805fa9c]
2009-03-06 11:32:47 [27213] [0] PANIC: sbin/bearerbox(main+0x10a)
[0x805304a]
2009-03-06 11:32:47 [27213] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xdc) [0x942dec]
2009-03-06 11:32:47 [27213] [0] PANIC: sbin/bearerbox [0x8052211]
Regards
Elton
On Tue, Mar 10, 2009 at 10:47 AM, Falko Ziemann <[email protected]> wrote:
Hi,
you have to install the mysql-dev package first and then compile (!) kannel
with ./configure --with-mysql
Regards
Falko
Am 10.03.2009 um 10:42 schrieb Elton Hoxha:
Hi guys,
I have been searching in the list a lot regarding mysql storage issue. I
noticed that users complains are very similar (including mine that i`m not
able to configure mysql, in different machines as well), all of them using
the magic keyword "DLR: storage type 'mysql' is not supported!"
Which part of kannel is generating this error?
I went through the dlr_init just wondering why is that?
if (octstr_compare(dlr_type, octstr_imm("mysql")) == 0) {
handles = dlr_init_mysql(cfg);
if (handles == NULL) { panic(0, "DLR: storage type '%s' is not
supported!", octstr_get_cstr(dlr_type));
}Why kannel is failing to retrieve the initial configuration? I suspect,
the DLR-storage would fail for every type of database connection here,
oracle postgre.
Is it something wrong with my conf
file?dlr-storage=mysqlgroup=mysql-connectionid=mydlrhost=10.1.21.184username=kannelpassword=kannel
database=dlrgroup = dlr-dbid = mydlrtable = dlrfield-smsc =
smscfield-timestamp = tsfield-source=sourcefield-destination =
destinationfield-service = servicefield-url = urlfield-mask = mask
field-status = statusThanksElton