Οk. I did as you said.
The output below seems to be ok with depedencies..
-------------------------------------------------------------------------------
root@server [/usr/local/src/gateway-1.5.0]# ldd $(which bearerbox)
linux-gate.so.1 => (0x00425000)
libssl.so.6 => /lib/libssl.so.6 (0x0070e000)
librt.so.1 => /lib/librt.so.1 (0x005ee000)
libresolv.so.2 => /lib/libresolv.so.2 (0x006c6000)
libnsl.so.1 => /lib/libnsl.so.1 (0x006ab000)
libm.so.6 => /lib/libm.so.6 (0x005a1000)
libpthread.so.0 => /lib/libpthread.so.0 (0x005d3000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x008bf000)
libz.so.1 => /usr/lib/libz.so.1 (0x00600000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x00446000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x007f2000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00a14000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x005f9000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x0078c000)
libdl.so.2 => /lib/libdl.so.2 (0x005cc000)
/lib/ld-linux.so.2 (0x00427000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00781000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00837000)
libselinux.so.1 => /lib/libselinux.so.1 (0x0065d000)
libsepol.so.1 => /lib/libsepol.so.1 (0x00615000)
-------------------------------------------------------------------------------
----- Original Message -----
From: "Nikos Balkanas" <nbalka...@gmail.com>
To: "Πετσούκα Τάνια" <ta...@tessera.gr>
Cc: <us...@vm1.kannel.org>
Sent: Monday, May 02, 2011 10:52 AM
Subject: Re: storage type 'mysql' is not supported" - obvious reasons
already cheked
No Tania.
Don't do that in a production environment. You will loose all pending DLRs
when stopping/restarting bb.
Stick to 1.5 it is easier to support and ask questions.
gw-config.h says your configuration is valid for mysql and gw/dlr.c says
it is not. Talking about split personality ;-)
Do:
make -W gwlib/dbpool.c
and
ldd $(which bearerbox)
and post output
Most likely you are having multiple bearerbox versions in your server and
are using one without mysql.
BR,
Nikos
----- Original Message -----
From: Πετσούκα Τάνια
To: Nikos Balkanas
Cc: users@kannel.org
Sent: Monday, May 02, 2011 10:11 AM
Subject: Re: storage type 'mysql' is not supported" - obvious reasons
already cheked
Yes, ' #define HAVE_MYSQL 1' exists in gw-config.h.
I just installed V1.5 . Same error for dlr storage.
I'm thinking of using internal storage, although mysql would be much more
preferable.
It's so disappointing that can't make it work....
Thank you anyway
----- Original Message -----
From: Nikos Balkanas
To: Πετσούκα Τάνια
Cc: users@kannel.org
Sent: Friday, April 29, 2011 10:38 PM
Subject: Re: storage type 'mysql' is not supported" - obvious reasons
already cheked
Sorry my mistake. I didn't pay attention to the error message.
Is
HAVE_MYSQL
defined in gw-config.h?
Change to the latest svn, it is production stable.
BR,
Nikos
2011/4/29 Πετσούκα Τάνια <ta...@tessera.gr>
Maybe i am wrong, but i have bad experience of non stable versions, so i
got the latest stable one.
If you are talking about conf variable name, i have :
dlr-storage = mysql
"storage type" is just how error occurs to be understandable. If you mean
something else, exsuse me but i didn't got it..
----- Original Message -----
From: Nikos Balkanas
To: Πετσούκα Τάνια
Cc: users@kannel.org
Sent: Friday, April 29, 2011 4:34 PM
Subject: Re: storage type 'mysql' is not supported" - obvious reasons
already cheked
That's because there is no storage type. It is either store-type or
dlr-storage. Read UG about them.
Since you are going to all the trouble to compile from sources, why don't
you pick latest svn? It is production stable and ~4 yrs more recent than
1.4.3.
BR,
Nikos
2011/4/29 Πετσούκα Τάνια <ta...@tessera.gr>
I've already installed it.
----- Original Message -----
From: Elton Hoxha
To: Πετσούκα Τάνια
Cc: users@kannel.org
Sent: Friday, April 29, 2011 12:17 PM
Subject: Re: storage type 'mysql' is not supported" - obvious reasons
already cheked
Try to install package like libmysql-devel
Then...
./configure --with-malloc=native --with-mysql-dir=/usr/include/mysql --with-mysql
--prefix=/usr/local/kannel
2011/4/29 Πετσούκα Τάνια <ta...@tessera.gr>
Hello,
i've read all support-mails for the "storage type 'mysql' is not
supported" error, and i've tried all the described solutions.
But error still exists.
I would greatly appreciate it if you could help me on this.
I run CentOS 5.6 and i've complied gateway 1.4.3 from source.
./configure --prefix=/usr/local/kannel --with-mysql
Configure results for mysq as follows:
-----------------------------------------------------------------
Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/bin/mysql_config
checking mysql version... 5.1.56
checking mysql reentrant
libs... -rdynamic -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl
-lm -lpthread -lmygcc
checking for mysql_init in -lmysqlclient_r... yes
checking mysql includes... -I/usr/include/mysql
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking mysql/mysql_version.h usability... yes
checking mysql/mysql_version.h presence... yes
checking for mysql/mysql_version.h... yes
checking whether to compile with MySQL support... yes
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite2 support... disabled
checking whether to compile with SQLite3 support... disabled
checking whether to compile with Oracle support... disabled
checking whether to compile with PostgresSQL support... disabled
-------------------------------------------------------------------------------------------
Βearerbox respond:
-----------------------------------------------------------------------------------------------------
2011-04-29 11:37:53 [7954] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2011-04-29 11:37:53 [7954] [0] PANIC: DLR: storage type 'mysql' is not
supported!
2011-04-29 11:37:53 [7954] [0] PANIC: bearerbox(gw_panic+0xc2) [0x80cc0b2]
2011-04-29 11:37:53 [7954] [0] PANIC: bearerbox(dlr_init+0x22c)
[0x805fa9c]
2011-04-29 11:37:53 [7954] [0] PANIC: bearerbox(main+0x10a) [0x805304a]
2011-04-29 11:37:53 [7954] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xdc) [0x45be9c]
2011-04-29 11:37:53 [7954] [0] PANIC: bearerbox [0x8052211]
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------
Petsouka Tania
Web Developer
Tessera Multimedia S.A
Vas.Georgiou 24 Thessaloniki 54640
Tel. +302310889155
Fax: +302310889156
-----------------------------------------------------