Dear All,
When i used the dlr-storage=mysql
bearer box give the following problem

2011-04-05 12:44:04 [6916] [3] PANIC: /lib/libpthread.so.0(+0x5cc9) 
[0x74ecc9]
2011-04-05 12:44:04 [6916] [3] PANIC: /lib/libc.so.6(clone+0x5e) 
[0xa5e6ae]
2011-04-05 12:44:04 [6921] [0] INFO: Added logfile 
`/var/log/kannel/bearerbox.lo           g' with level `0'.
2011-04-05 12:44:04 [6921] [0] INFO: Started access logfile 
`/var/log/kannel/acc           ess.log'.
2011-04-05 12:44:04 [6921] [0] INFO: HTTP: Opening server at port 13000.
2011-04-05 12:44:04 [6921] [0] ERROR: bind failed
2011-04-05 12:44:04 [6921] [0] ERROR: System error 98: Address already in 
use
2011-04-05 12:44:04 [6921] [0] DEBUG: Started thread 1 
(gw/bb_http.c:httpadmin_r           un)
2011-04-05 12:44:04 [6921] [1] DEBUG: Thread 1 
(gw/bb_http.c:httpadmin_run) maps            to pid 6921.
2011-04-05 12:44:04 [6921] [1] DEBUG: HTTP: No clients with requests, 
quitting.
2011-04-05 12:44:04 [6921] [1] DEBUG: Thread 1 
(gw/bb_http.c:httpadmin_run) term           inates.
2011-04-05 12:44:04 [6921] [0] DEBUG: starting smsbox connection module
2011-04-05 12:44:04 [6921] [0] INFO: BOXC: 'smsbox-max-pending' not set, 
using d           efault (100).
2011-04-05 12:44:04 [6921] [0] DEBUG: Started thread 2 
(gw/bb_boxc.c:sms_to_smsb           oxes)
2011-04-05 12:44:04 [6921] [2] DEBUG: Thread 2 
(gw/bb_boxc.c:sms_to_smsboxes) ma           ps to pid 6921.
2011-04-05 12:44:04 [6921] [0] DEBUG: Started thread 3 
(gw/bb_boxc.c:smsboxc_run           )
2011-04-05 12:44:04 [6921] [3] DEBUG: Thread 3 (gw/bb_boxc.c:smsboxc_run) 
maps t           o pid 6921.
2011-04-05 12:44:04 [6921] [3] ERROR: bind failed
2011-04-05 12:44:04 [6921] [3] ERROR: System error 98: Address already in 
use
2011-04-05 12:44:04 [6921] [0] INFO: Set SMS resend frequency to 60 
seconds.
2011-04-05 12:44:04 [6921] [3] PANIC: Could not open smsbox port 13001
2011-04-05 12:44:04 [6921] [0] INFO: SMS resend retry set to unlimited.
2011-04-05 12:44:04 [6921] [0] DEBUG: smsbox MO concatenated message 
handling en           abled
2011-04-05 12:44:04 [6921] [0] INFO: DLR rerouting for smsc id <(null)> 
disabled           .
2011-04-05 12:44:04 [6921] [3] PANIC: bearerbox(gw_panic+0xcd) [0x80d088d]
2011-04-05 12:44:04 [6921] [3] PANIC: bearerbox() [0x8058438]
2011-04-05 12:44:04 [6921] [0] INFO: Added logfile 
`/var/log/kannel/modem.log' w           ith level `0'.
2011-04-05 12:44:04 [6921] [3] PANIC: bearerbox() [0x80c70cd]
2011-04-05 12:44:04 [6921] [3] PANIC: /lib/libpthread.so.0(+0x5cc9) 
[0xbdfcc9]
2011-04-05 12:44:04 [6921] [3] PANIC: /lib/libc.so.6(clone+0x5e) 
[0xa916ae]

Yesterday i have again compiled installed kannel 1.4.3 with mysql support 
but still having the same problem, is this is the problem is code ??or 
somewhere i m lacking in my configuration. see below my modem setting..

group = mysql-connection
id = mydlr
host = localhost
username = root
password = root
port = 3306
database = dlr
max-connections = 1

#Data base properties
group = dlr-db
id = mydlr
table = storedlr
field-smsc = smsc
field-timestamp = timestamp
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxcid = boxcid
log-file = "/var/log/kannel/dlr-mysql.log"


group = core
admin-port = 13000
smsbox-port = 13001
box-allow-ip = "127.0.0.1"
admin-password = xx
#status-passwortd = xx
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#wapbox-port = 13002
wdp-interface-name = "*"
#log-file = "/tmp/kannel/bearerbox.log"
#access-log = "/tmp/kannel/access.log"
log-file = "/var/log/kannel/bearerbox.log"
access-log = "/var/log/kannel/access.log"
#log-level = 4
dlr-storage = mysql
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"

#group = wapbox
#bearerbox-host = localhost
#log-file = "/var/log/kannel/wapbox.log"

# Siemens Modem
group = smsc
smsc = at
modemtype = siemens_mc52i
device = /dev/ttyS0
speed = 9600
log-file = "/var/log/kannel/modem.log"

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
#log-level = 4
#log-file = "/tmp/kannel/smsbox.log"



group = sendsms-user
username = UTE
password = cattest

include = "/etc/kannel/modems.conf"
include = "/etc/kannel/dlr-mysql.conf"

Please suggest some possible solution. 
#
" Ce courriel et les documents qui lui sont joints peuvent contenir des 
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont 
pas destinés, nous vous signalons qu'il est strictement interdit de les 
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le 
contenu. Si ce message vous a été transmis par erreur, merci d'en informer 
l'expéditeur et de supprimer immédiatement de votre système informatique ce 
courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or 
proprietary information. If you are not the intended recipient, you are 
notified that any dissemination, copying of this e-mail and any attachments 
thereto or use of their contents by any means whatsoever is strictly 
prohibited. If you have received this e-mail in error, please advise the sender 
immediately and delete this e-mail and all attached documents from your 
computer system."
#

Reply via email to