I have downloaded and compiled kannel 1.4.3 from sources. Everything
built ok.
My configuration looks like this:
I have kannel.conf file in /usr/local/etc/kannel-new:
koka:/usr/local/kannel-1.4.3# less /usr/local/etc/kannel-new/kannel.conf
include = "/usr/local/etc/kannel-new/bearerbox.conf"
include = "/usr/local/etc/kannel-new/smsbox.conf"
koka:/usr/local/kannel-1.4.3#
Now, this is head of bearerbox.con:
koka:/usr/local/kannel-1.4.3# head /usr/local/etc/kannel-new/bearerbox.conf
group = core
admin-port = 14000
admin-password = aa
admin-deny-ip = "*.*.*.*
admin-allow-ip = "127.0.0.1"
log-file = "/tmp/kannel-log/bearerbox.log"
log-level = 1
access-log = /tmp/kannel-log/kannel/baccess.log"
When I want to start bearerbox i get an error that there is no 'core'
group defined:
koka:/usr/local/kannel-1.4.3# sbin/bearerbox
/usr/local/etc/kannel-new/kannel.conf
2010-03-24 18:43:59 [24031] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2010-03-24 18:43:59 [24031] [0] DEBUG: Loading include file
`/usr/local/etc/kannel-new/bearerbox.conf' (on line 1 of file
/usr/local/etc/kannel-new/kannel.conf).
2010-03-24 18:43:59 [24031] [0] ERROR: Group does not contain variable
'group'.
2010-03-24 18:43:59 [24031] [0] ERROR: Error found on line 20 of file
`/usr/local/etc/kannel-new/kannel.conf'.
2010-03-24 18:43:59 [24031] [0] PANIC: Couldn't read configuration from
`/usr/local/etc/kannel-new/kannel.conf'.
2010-03-24 18:43:59 [24031] [0] PANIC: sbin/bearerbox(gw_panic+0xbc)
[0x80d1d6c]
2010-03-24 18:43:59 [24031] [0] PANIC: sbin/bearerbox(main+0xf88)
[0x80557d8]
2010-03-24 18:43:59 [24031] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xe5) [0xb78a8455]
2010-03-24 18:43:59 [24031] [0] PANIC: sbin/bearerbox [0x8053d31]
koka:/usr/local/kannel-1.4.3#
I don't have 20 lines in kannel.conf! What am I doing wrong?
Mario