Mike Harris wrote:
/usr/local/sbin/bearerbox -- /etc/kannel/kannel.conf.cvs
2005-10-20 17:47:42 [3936] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2005-10-20 17:47:42 [3936] [0] DEBUG: Loading include file
`/etc/kannel/modems.conf' (on line 17 of file /etc/kannel/kannel.conf.cvs).
2005-10-20 17:47:42 [3936] [0] ERROR: Group 'mysql-connection' may not
contain field 'mysql-username'.
2005-10-20 17:47:42 [3936] [0] ERROR: Error found on line 164 of file
`/etc/kannel/kannel.conf.cvs'.
2005-10-20 17:47:42 [3936] [0] PANIC: Couldn't read configuration from
`/etc/kannel/kannel.conf.cvs'.
2005-10-20 17:47:42 [3936] [0] PANIC:
/usr/local/sbin/bearerbox(gw_panic+0x174) [0x80cee60]
2005-10-20 17:47:42 [3936] [0] PANIC: /usr/local/sbin/bearerbox(main+0x17d)
[0x8058b78]
2005-10-20 17:47:42 [3936] [0] PANIC:
/lib/tls/libc.so.6(__libc_start_main+0xd3) [0x4ade23]
2005-10-20 17:47:42 [3936] [0] PANIC: /usr/local/sbin/bearerbox [0x8057e59]
#
# MySQL connection
group = mysql-connection
id = mydlr
host = localhost
mysql-username = xxx
mysql-password = xxx
database = xxx
max-connections = 1
# MySQL config
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-source = source
field-boxc-id = boxc
What am I doing wrong here? Help!
as this has been obviously taken from the example config file, patched it to
reflect the changes, commited to cvs:
2005-10-21 Stipe Tolj <[EMAIL PROTECTED]>
* doc/examples/dlr-mysql.conf: fixed the naming change from change set
2005-09-21, where the 'mysql-connection' group changed to use 'username'
and 'password' as login credentials instead of the mysql prefixes.
Thanks to Mike Harris <[EMAIL PROTECTED]> who pointed this out.
[Msg-Id: <[EMAIL PROTECTED]>]
Stipe
mailto:stolj_{at}_wapme-group.de
-------------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany
phone: +49.211.74845.0
fax: +49.211.74845.299
mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------