Hrm, maybe you have a problem with the newlines being garbled? What's on
line 63?


On Fri, May 2, 2014 at 4:39 PM, MOSES KARIUKI <[email protected]> wrote:

> Hi,
>
> i have downloaded gateway 1.5.0. After ./configuring, making and make
> install with binding path, i get the above error.
>
> Below is my config.
> #
> # Sample configuration file for Kannel bearerbox on Debian.
> # See the documentation for explanations of fields.
> #
>
> # HTTP administration is disabled by default. Make sure you set the
> # password if you enable it.
>
> group = core
> admin-port = 13000
> admin-password =
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = ""
> #wapbox-port = 13002
> smsbox-port = 13001
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 0
> box-deny-ip = "*.*.*.*"
> box-allow-ip =
> #dlr-storage = pgsql
>
> #group = wapbox
> #bearerbox-host = localhost
> #log-file = "/var/log/kannel/wapbox.log"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13013
> global-sender = 13013
> smsbox-id = box1
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
>
> group = sendsms-user
> username =
> password =
> dlr-url = "
> http://localhost/kannel/dlr_status.php?id=%p&mask=%d&message_id=%F";
>
> group = sms-service
> keyword = default
> get-url = "
> http://localhost/kannel/receivesms.php?sender=%p&text=%a&receiverph=%P&smscid=%i
> "
> accept-x-kannel-headers = true
> concatenation = true
> catch-all = true
>
> #group = wapbox
> #bearerbox-host = localhost
> #log-file = "/var/log/kannel/wapbox.log"
>
> group = smsc
> smsc = smpp
> smsc-id =
> host =
> port = 0
> smsc-username =
> smsc-password =
> system-type = VMA
> transceiver-mode = false
> receive-port = 9000
> interface-version = 34
> #connect-allow-ip = 127.0.0.1
> #msg-id-type = 0x00
>
> group = pgsql-connection
> id = mydlr
> host = localhost
> port = 5432
> username =
> password =
> database = postgres
> max-connections = 1
>
> group = dlr-db
> id = mydlr
> table = tbl_dlr
> field-smsc = smsc
> field-timestamp = _timstamp
> field-destination = destination
> field-source = source
> field-service = _service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc_id
>
>
> On Fri, May 2, 2014 at 10:30 PM, Alejandro Guerrieri <
> [email protected]> wrote:
>
>> I would start by sharing the configuration with the list... you're
>> obviously doing something wrong (e.g. putting a "keyword" config entry on
>> the [smsc] group).
>>
>>
>> On Fri, May 2, 2014 at 4:26 PM, MOSES KARIUKI <[email protected]>wrote:
>>
>>> Hi All,
>>>
>>> Below is the error I am getting after running :
>>> /usr/local/sbin/bearerbox -v 0 /etc/kannel/kannel.conf
>>> 2014-05-02 19:21:14 [8296] [0] INFO: Debug_lvl = 0, log_file = <none>,
>>> log_lvl = 0
>>> 2014-05-02 19:21:14 [8296] [0] ERROR: Group 'smsc' may not contain field
>>> 'keyword'.
>>> 2014-05-02 19:21:14 [8296] [0] ERROR: Error found on line 63 of file
>>> `/etc/kannel/kannel.conf'.
>>> 2014-05-02 19:21:14 [8296] [0] PANIC: Couldn't read configuration from
>>> `/etc/kannel/kannel.conf'.
>>> 2014-05-02 19:21:14 [8296] [0] PANIC:
>>> /usr/local/sbin/bearerbox(gw_panic+0x17b) [0x482d2b]
>>>
>>> please assist
>>>
>>
>>
>

Reply via email to