bearerbox not starting with Eric T68

2003-02-13 Thread Navjot Singh
Hi List,

+ After little pains here and there, I have been able to install and 
configure Kannel 1.2.1 on Linux 7.2. 

+ The bearerbox and smsbox are also starting with fake/test smsc.

+ I have set the ericsson as my gsm modem and added the follwing lines in 
sms-bearer.conf file -- 
group = modems
id = ericsson_t68
name = Ericsson T68i
detect-string = T68
init-string = AT+CNMI=3,3
keepalive-cmd = AT+CBC;+CSQ
broken = true
speed = 9600


My Problem
+ When i run ./bearerbox -v 0 sms-bearer.conf , it dies with

PANIC: gwlib/list.c:287: list_lock: Assertion `list != NULL' failed. 

I have also tried patching bb_store.c with ^^if(filename == null )^^ lines 
as found on google , but still  :-(


If interested, The full output of the program is attached. Any Help is 
appreciated.

-navjot






2003-02-13 14:49:04 [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0
2003-02-13 14:49:04 [0] DEBUG: Loading include file `mysql.conf' (on line 18 of file 
sms-bearer.conf).
2003-02-13 14:49:04 [0] DEBUG: Loading include file `smsbox.conf' (on line 19 of file 
sms-bearer.conf).
2003-02-13 14:49:04 [0] WARNING: DLR: using default 'internal' for storage type.
2003-02-13 14:49:04 [0] DEBUG: Kannel bearerbox version `1.2.1'.
System Linux, release 2.4.19, version #4 Tue Aug 27 11:27:47 IST 2002, machine i686.
Hostname isp.net4india.com, IP 202.71.129.149.
Libxml version 20503.
Using OpenSSL 0.9.6b [engine] 9 Jul 2001.
Using MySQL 4.0.1-alpha.
Using native malloc.

2003-02-13 14:49:04 [0] INFO: Added logfile `/usr/local/kan/logs/sms-bearer.log' with 
level `0'.
2003-02-13 14:49:04 [0] INFO: Started access logfile 
`/usr/local/kan/logs/bearer-access.log'.
2003-02-13 14:49:04 [0] DEBUG: HTTP: Opening server at port 13000.
2003-02-13 14:49:04 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2003-02-13 14:49:04 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2003-02-13 14:49:04 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2003-02-13 14:49:04 [0] INFO: 
2003-02-13 14:49:04 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2003-02-13 14:49:09 [0] INFO: MAIN: Start-up done, entering mainloop
2003-02-13 14:49:09 [0] INFO: All flow threads have died, killing core
2003-02-13 14:49:09 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate
2003-02-13 14:49:09 [3] DEBUG: HTTP: No clients with requests, quitting.
2003-02-13 14:49:09 [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates.
2003-02-13 14:49:09 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates.
2003-02-13 14:49:09 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2003-02-13 14:49:09 [0] DEBUG: final clean-up for SMSCConn
2003-02-13 14:49:09 [0] PANIC: gwlib/list.c:287: list_lock: Assertion `list != NULL' 
failed.


Re: bearerbox not starting with Eric T68

2003-02-13 Thread Navjot Singh
no one replied. so i am replying again ;-)

I added store-file param in my core configuration and now it works.
Wonder what it has to do with the error that i was getting. but it worked 
;-)

-navjot


Navjot Singh wrote:




Hi List,

+ After little pains here and there, I have been able to install and
configure Kannel 1.2.1 on Linux 7.2.

+ The bearerbox and smsbox are also starting with fake/test smsc.

+ I have set the ericsson as my gsm modem and added the follwing lines in
sms-bearer.conf file --
group = modems
id = ericsson_t68
name = Ericsson T68i
detect-string = T68
init-string = AT+CNMI=3,3
keepalive-cmd = AT+CBC;+CSQ
broken = true
speed = 9600


My Problem
+ When i run ./bearerbox -v 0 sms-bearer.conf , it dies with

PANIC: gwlib/list.c:287: list_lock: Assertion `list != NULL' failed.

I have also tried patching bb_store.c with ^^if(filename == null )^^ lines
as found on google , but still  :-(


If interested, The full output of the program is attached. Any Help is
appreciated.

-navjot