Mario Splivalo schrieb:
> 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'.

you obviously have a "grouped" block, which has NO 'group = xy' identifier.

Keep in mind: Kannel needs this structure:

group = xy1
...

...
group = xy2

group = xy3
...

which means: each NEW LINE, is interpreted as "group boundary", and we expect to
have a group identifier insight.

Most likely you have something like this:

group = xy1
a = b

c = d
e = f

and you "think" the newline doesn't hurt, but it does. ;) use '# comment' rather
to make it more readable ;)

Stipe

-- 
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to