Core dump when accessing via http

Carel Solomon <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

I am trying to get kannel up and running, but am running into some problems.
When I try to see the status of kannel, I just get a core dump. This is what
is happening:

Doing status request:

$ lynx -dump "http://localhost:14500/status.txt?password=bar"

Looking up localhost:14500
Making HTTP connection to localhost:14500
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access `http://localhost:14500/status.txt?password=bar'
Alert!: Unable to access document.

lynx: Can't access startfile


On the bearerbox side:

2004-08-20 16:22:05 [6] DEBUG: AT2[uk-voda1]: --> AT+CPMS?^M
2004-08-20 16:22:05 [6] DEBUG: AT2[uk-voda1]: <-- +CPMS:
"SM",0,20,"SM",0,20,"SM",0,20
2004-08-20 16:22:05 [6] DEBUG: AT2[uk-voda1]: <-- OK
2004-08-20 16:23:07 [6] DEBUG: AT2[uk-voda1]: --> AT+CPMS?^M
2004-08-20 16:23:07 [6] DEBUG: AT2[uk-voda1]: <-- +CPMS:
"SM",0,20,"SM",0,20,"SM",0,20
2004-08-20 16:23:07 [6] DEBUG: AT2[uk-voda1]: <-- OK
2004-08-20 16:23:19 [3] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
Segmentation fault

Config file:
group = core
admin-port = 14500
smsbox-port = 14501
admin-password = bar
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-file = "/opt/kannel/log/kannel.log"
access-log = "/opt/kannel/log/kannel-access.log"
log-level = 0
store-file = "/var/run/kannel/store"
dlr-storage = mysql
unified-prefix =
"00972,972;972,+972;0044,44;44,+44;0039,39;39,+39;0033,33;33,+33;00351,351;3
51,+351"


## SMSBox Configuration ###

group = smsbox
bearerbox-host = localhost
sendsms-port = 14503
log-file = "/opt/kannel/log/smsbox.log"
access-log = "/opt/kannel/log/smsbox-access.log"
log-level = 0

### SMS-Services Configuration ###

group = sms-service
keyword = default
url="http://localhost:80/kannel/mo?text=%a&from=%p&to=%P&time=%t&coding=%c&s
msc=%i&udh=%u"
max-messages=1
omit-empty = true

### SendSMS User Configuration ###

group = sendsms-user
username = ****
password = ****
max-messages = 4
concatenation = true

### MySQL Configuration ###

group = mysql-connection
id = dlr-db
host = localhost
mysql-username = ******
mysql-password = ******
database = SMSMON
group = dlr-db

id = dlr-db

table = DLR
field-smsc = smsc
field-timestamp = ts
field-source = source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status

### SMS Gateway Configuration ###

include = /opt/kannel/etc/modems.conf

group = smsc
smsc-id = uk-voda1
smsc = at2
allowed-smsc-id = uk-voda1
modemtype = siemens_tc35
device = /dev/ttyS1
validityperiod = 167
my-number = 447712531847
sim-buffering = true
sms-center = +447802000332

System:
- Mandrake 9.2
- Latest stable version of kannel (1.2.1)
- MySQL-Max 4.0.15 (used for logging delivery receipts)




Any advice would be greatly appreciated.

Thanks
carel
 

--
Carel Solomon                             iTouch UK
Sysadmin                                  Avalon House
msisdn: +44 777 3282 693                  57-63 Scrutton St
office: +44 207 613 6045                  London EC2A 4PF
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.