True.I had one bearebox in usr/local/kannel/sbin and another one in usr/local/sbin .
Now i have a clean 1.5 and guess what -> no storage type error : )
S' efxaristw----- Original Message ----- From: "Nikos Balkanas" <nbalka...@gmail.com>
To: "Πετσούκα Τάνια" <ta...@tessera.gr> Cc: <us...@vm1.kannel.org> Sent: Monday, May 02, 2011 12:48 PMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already cheked
Hmmm...Obviously /usr/local/kannel is not a standard directory in your PATH. You should add it. Default installation path for kannel is /usr/local. Therefore there is another bearerbox in /usr/local/sbin which takes precidence over your 1.5.0. Unless you adjust your PATH.BR, Nikos----- Original Message ----- From: "Πετσούκα Τάνια" <ta...@tessera.gr>To: "Nikos Balkanas" <nbalka...@gmail.com> Cc: <us...@vm1.kannel.org> Sent: Monday, May 02, 2011 11:26 AMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already chekedI did:root@server [/usr/local/src/gateway-1.5.0]# ./configure --prefix=/usr/local/kannel --with-mysql root@server [/usr/local/src/gateway-1.5.0]# make -W gwlib/dbpool.c (huge output - but no errors)root@server [/usr/local/src/gateway-1.5.0]# make install Maybe there is a conflict with my previous installation V1.4.3??I din't know how to remove previous version properly, so i run a find -name 'kannel' and delete them before install 1.5. Bad idea?and got : -------------------------------------------------------------------- /usr/bin/install -c -d /usr/local/kannel/share/man/man1/usr/bin/install -c utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1 wmlscript/wmlsdasm.1 /usr/local/kannel/share/man/man1/usr/bin/install -c -d /usr/local/kannel/share/man/man8/usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8 /usr/local/kannel/share/man/man8/usr/bin/install -c -d /usr/local/kannel/include/kannel/gwlib/usr/bin/install -c -m 644 ./gwlib/*.h /usr/local/kannel/include/kannel/gwlib /usr/bin/install -c -m 644 ./gwlib/*.def /usr/local/kannel/include/kannel/gwlib/usr/bin/install -c -d /usr/local/kannel/include/kannel/gw /usr/bin/install -c -m 644 ./gw/*.h /usr/local/kannel/include/kannel/gw /usr/bin/install -c -m 644 ./gw/*.def /usr/local/kannel/include/kannel/gw /usr/bin/install -c -d /usr/local/kannel/include/kannel/gw/smsc/usr/bin/install -c -m 644 ./gw/smsc/*.h /usr/local/kannel/include/kannel/gw/smsc /usr/bin/install -c -m 644 ./gw/smsc/*.def /usr/local/kannel/include/kannel/gw/smsc/usr/bin/install -c -d /usr/local/kannel/include/kannel/wap /usr/bin/install -c -m 644 ./wap/*.h /usr/local/kannel/include/kannel/wap/usr/bin/install -c -m 644 ./wap/*.def /usr/local/kannel/include/kannel/wap/usr/bin/install -c -m 644 gw-config.h /usr/local/kannel/include/kannel /usr/bin/install -c -d /usr/local/kannel/lib/kannel /usr/bin/install -c -m 644 libgwlib.a /usr/local/kannel/lib/kannel /usr/bin/install -c -m 644 libgw.a /usr/local/kannel/lib/kannel /usr/bin/install -c -m 644 libwap.a /usr/local/kannel/lib/kannel ------------------------------------------------------------------------- Original Message ----- From: "Nikos Balkanas" <nbalka...@gmail.com>To: "Πετσούκα Τάνια" <ta...@tessera.gr> Cc: <us...@vm1.kannel.org> Sent: Monday, May 02, 2011 11:12 AMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already chekedWhat about the make output? Make should be from the 1.5.0 sources.From what i can see from ldd this is a different built. One without mysql. Check from detailed bb logs kannel version and built date. You probably have mutiple bearerbox versions, and not using the one you think you are. Did you make install in 1.5.0?BR, Nikos----- Original Message ----- From: "Πετσούκα Τάνια" <ta...@tessera.gr>To: "Nikos Balkanas" <nbalka...@gmail.com> Cc: <us...@vm1.kannel.org> Sent: Monday, May 02, 2011 11:07 AMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already chekedΟ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 AMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already chekedNo 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 outputMost 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 AMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already chekedYes, ' #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 BalkanasTo: Πετσούκα Τάνια Cc: users@kannel.org Sent: Friday, April 29, 2011 10:38 PMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already chekedSorry 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 BalkanasTo: Πετσούκα Τάνια Cc: users@kannel.org Sent: Friday, April 29, 2011 4:34 PMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already chekedThat'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 HoxhaTo: Πετσούκα Τάνια Cc: users@kannel.org Sent: Friday, April 29, 2011 12:17 PMSubject: Re: storage type 'mysql' is not supported" - obvious reasons already chekedTry to install package like libmysql-devel Then..../configure --with-malloc=native --with-mysql-dir=/usr/include/mysql --with-mysql --prefix=/usr/local/kannel2011/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.56checking mysql reentrant libs... -rdynamic -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lmygccchecking 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-----------------------------------------------------