There was a change to the database scheme in the CVS version due to the introduction 
of a new DLR storage through the libSDB library. as a result of that, the dlr database 
group is now called dlr-db and not dlr-mysql

--
Oded Arbel
m-Wise mobile solutions

-----Original Message-----
From: Kari Asikainen [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 9:08 PM
To: [EMAIL PROTECTED]
Subject: problems configuring dlr with MySQL


Hello,

I was playing with delivery reports on my Kannel -installation (CVS
snapshot as of August 30) and when I was trying to get MySQL to work as
dlr-storage I got the following error when trying to fire up bearerbox:

2002-09-30 20:54:35 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl
= 0
2002-09-30 20:54:35 [0] ERROR: Group 'dlr-mysql' may not contain field
'field-url'.
2002-09-30 20:54:35 [0] ERROR: Error found on line 54 of file
`/etc/kannel.conf'.
2002-09-30 20:54:35 [0] PANIC: Couldn't read configuration from
`/etc/kannel.conf'

Any clues what might cause this?

My kannel.conf (on the relevant parts) looks like this:

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = xxx
#status-password = yyy
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/var/log/kannel/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "00358,0"
dlr-storage = internal
#access-log = "access.log"
#store-file = "kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

group = mysql-connection
id = dlr-db
host = localhost
mysql-username = nnn
mysql-password = mmm
database = dlr

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

# SMSC CONNECTIONS

#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000

...etc



Reply via email to