Re: [[email protected]: Re: [Fwd: new problem: DLR: storage type 'mysql' is not

James Coleman <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Mon, Dec 06, 2004 at 12:28:05PM +0800, ding dingding wrote:
> Dear Friends:
> 
>    I configure like belowq:   
>      ./configure --disable-ssl --with-mysql=/usr --enable-mysql 
> --with-dlr=mysql
>      
> but, kannel still say storage  : type 'mysql' is not supported! I m really 
> .. fyngeh :-7
>     Could you tell me which version kannel with which version mysql work 
> together well.
> I will try and I can go on my work!

use latest stable version of kannel 1.4.0, small configure bug to patch
 before configure with mysql will work.  info on the [email protected] list


One other thought.
What is in your config file?
Config settings for mysql or other dlr have changed with different versions of kannel
 so make sure your config file will work with your version of kannel.



e.g.  this config for kannel 1.4.0

group = core
...
dlr-storage = mysql

group = mysql-connection
id = mydlr
host = localhost
mysql-username = root
mysql-password = 
database = dlr

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = dest
field-service = service
field-url = url
field-mask = mask
field-status = status
field-source = source
field-boxc-id = boxc
#delete-dlrs = 1



>     
>    There is the last thing i have to do. I scaned the assess2.log and fund 
> the log information in the assess2.log (file) can do some help to me .    
> if i can not use any DLR (mysql-DLR), i have to use the file. But can you 
> two tell me, what the meaning of  [flags]; each Bit and value. 
>     for intance:
>        [flags:-1:0:-1:-1:-1]    what is  [flags:-?:?:-?:-?:-?]  
>              | |  |  |   |_____ ? 
>              | |  |  |________ ?            
>              | |  |__________ ?            
>              | |____________ ?                           
>              |_____________ ?               
>                           
> 
>             1=?
>             2=?
>             3=?
>             .=?
>             .=?
>             .=?
> 
>     




> >> 04-12-04 01:38:32 [11272] [0] INFO: Debug_lvl = -1, log_file = <none>,
> >> log_lvl = 0
> >> 2004-12-04 01:38:33 [11272] [0] PANIC: DLR: storage type 'mysql' is not
> >> supported!
> >> 2004-12-04 01:38:33 [11272] [0] PANIC: bearerbox(gw_panic+0x175)
> >> [0x80c7e12]
> >> 2004-12-04 01:38:33 [11272] [0] PANIC: bearerbox(dlr_init+0x1ee)
> >> [0x805c40d]
> >> 2004-12-04 01:38:33 [11272] [0] PANIC: bearerbox(main+0x18d) 
> [0x8051960]
> >> 2004-12-04 01:38:33 [11272] [0] PANIC:
> >> /lib/tls/libc.so.6(__libc_start_main+0xf8) [0xb7341748]
> >> 2004-12-04 01:38:33 [11272] [0] PANIC: bearerbox(read+0x51) [0x8050ae5]
> >>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.