Hi everyone!
I'm running a Kannel 1.4.3 on a RedHat server. The bearerbox is running perfectly, except that it seems like it's omitting certain configuration parameters. Specifically store-type, store-location, sms-resend-freq and sms-resend-retry. I've been trying to figure out what is wrong in my config file, tried rewriting it changing the order of the parameters, etc... But no luck. Any comment or suggestion will be greatly appreciated!

Here goes the core configuration:
group = core
admin-port = 13000
admin-password = XXXXX
smsbox-port = 13001
store-type = file
store-file = /var/log/kannel/store.dat
log-file = /var/log/kannel/kannel.log
log-level = 2
access-log = /var/log/kannel/access.log
sms-resend-freq = 2
sms-resend-retry = 2

And here goes the start-up messages (in DEBUG so that we don't miss anything... ;) ).
Arrows have been placed to emphasize the log records of interest:

2013-07-05 08:09:25 [63821] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2013-07-05 08:09:25 [63821] [0] DEBUG: Loading include file `/etc/kannel/smsc/smsc2.conf' (on line 14 of file /etc/kannel/kannel.conf.resend.dszanto). 2013-07-05 08:09:25 [63821] [0] DEBUG: Loading include file `/etc/kannel/smsbox/smsbox1.conf' (on line 23 of file /etc/kannel/kannel.conf.resend.dszanto).

-----> 2013-07-05 08:09:25 [63821] [0] WARNING: DLR: using default 'internal' for storage type.

-----> 2013-07-05 08:09:25 [63821] [0] INFO: DLR using storage type: internal

2013-07-05 08:09:25 [63821] [0] DEBUG: Kannel bearerbox version `1.4.3'.
Build `Jul  5 2013 06:23:36', compiler `4.4.6 20120305 (Red Hat 4.4.6-4)'.
System Linux, release 2.6.32-279.el6.x86_64, version #1 SMP Wed Jun 13 18:24:36 EDT 2012, machine x86_64.
Hostname appserv1om, IP 172.18.136.132.
Libxml version 2.7.6.
Using native malloc.

2013-07-05 08:09:25 [63821] [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2013-07-05 08:09:25 [63821] [0] INFO: SSL not supported, no SSL initialization done.
2013-07-05 08:09:25 [63821] [0] INFO: HTTP: Opening server at port 13000.
2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2013-07-05 08:09:25 [63821] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 63821. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2013-07-05 08:09:25 [63821] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 63821.
2013-07-05 08:09:25 [63821] [0] DEBUG: starting smsbox connection module
2013-07-05 08:09:25 [63821] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2013-07-05 08:09:25 [63821] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 63821. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2013-07-05 08:09:25 [63821] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 63821.

-----> 2013-07-05 08:09:25 [63821] [0] INFO: Set SMS resend frequency to 60 seconds.

2013-07-05 08:09:25 [63821] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 63821.

-----> 2013-07-05 08:09:25 [63821] [0] INFO: SMS resend retry set to unlimited.

2013-07-05 08:09:25 [63821] [0] DEBUG: smsbox MO concatenated message handling enabled 2013-07-05 08:09:25 [63821] [0] INFO: DLR rerouting for smsc id <sim-21> disabled. 2013-07-05 08:09:25 [63821] [0] INFO: Added logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread) 2013-07-05 08:09:25 [63821] [6] DEBUG: Thread 6 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 63821. 2013-07-05 08:09:25 [63821] [6] INFO: Logging thread `6' to logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 7 (gw/smsc/smsc_smpp.c:io_thread) 2013-07-05 08:09:25 [63821] [0] INFO: DLR rerouting for smsc id <sim-21> disabled. 2013-07-05 08:09:25 [63821] [7] DEBUG: Thread 7 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 63821. 2013-07-05 08:09:25 [63821] [7] INFO: Logging thread `7' to logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] INFO: Added logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 8 (gw/smsc/smsc_smpp.c:io_thread) 2013-07-05 08:09:25 [63821] [8] DEBUG: Thread 8 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 63821. 2013-07-05 08:09:25 [63821] [8] INFO: Logging thread `8' to logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 9 (gw/smsc/smsc_smpp.c:io_thread) 2013-07-05 08:09:25 [63821] [9] DEBUG: Thread 9 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 63821. 2013-07-05 08:09:25 [63821] [9] INFO: Logging thread `9' to logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] INFO: DLR rerouting for smsc id <sim-21> disabled. 2013-07-05 08:09:25 [63821] [0] INFO: Added logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 10 (gw/smsc/smsc_smpp.c:io_thread) 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 11 (gw/smsc/smsc_smpp.c:io_thread) 2013-07-05 08:09:25 [63821] [10] DEBUG: Thread 10 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 63821. 2013-07-05 08:09:25 [63821] [11] DEBUG: Thread 11 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 63821. 2013-07-05 08:09:25 [63821] [10] INFO: Logging thread `10' to logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [11] INFO: Logging thread `11' to logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] INFO: DLR rerouting for smsc id <sim-21> disabled. 2013-07-05 08:09:25 [63821] [0] INFO: Added logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 12 (gw/smsc/smsc_smpp.c:io_thread) 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 13 (gw/smsc/smsc_smpp.c:io_thread) 2013-07-05 08:09:25 [63821] [12] DEBUG: Thread 12 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 63821. 2013-07-05 08:09:25 [63821] [13] DEBUG: Thread 13 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 63821. 2013-07-05 08:09:25 [63821] [12] INFO: Logging thread `12' to logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [13] INFO: Logging thread `13' to logfile `/var/log/kannel/smsc-sim2.log' with level `4'. 2013-07-05 08:09:25 [63821] [0] DEBUG: Started thread 14 (gw/bb_smscconn.c:sms_router) 2013-07-05 08:09:25 [63821] [0] INFO: ---------------------------------------- 2013-07-05 08:09:25 [63821] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2013-07-05 08:09:25 [63821] [0] INFO: MAIN: Start-up done, entering mainloop


Thanks !!!
David Szanto




Reply via email to