Kannel version 1.4.1 running on Debian Sarge.

My kannel.conf

group = core
admin-port = 13000
admin-password = Zh8T7hxDtcSQ
status-password = Zh8T7hxDtcSQ
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "zzzz.zzzz.zzzz.zzzz;127.0.0.1"
#wapbox-port = 13002
#wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1
access-log = "/var/log/kannel/access.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "zzzz.zzzz.zzzz.zzzz;127.0.0.1"
smsbox-port = 13001
dlr-storage = internal

group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

group = smsc
smsc = smpp
smsc-id = vodacom
host = x.x.x.x
port = yyyy
smsc-username = "******"
smsc-password = "******"
system-type = ""
address-range = ""
throughput = 10
allowed-prefix = "2782;082"
denied-prefix = "*"
log-file = "/var/log/vodacom.log"
log-level = 0
reconnect-delay = 5

Upon trying to bind to our upstream smsc, the vodacom.log fills with this:

2007-08-23 08:26:43 [16367] [6] ERROR: bind to local port 0 failed
2007-08-23 08:26:43 [16367] [6] ERROR: System error 99: Cannot assign
requested address
2007-08-23 08:26:43 [16367] [6] ERROR: error connecting to server `x.x.x.x'
at port `yyyy'
2007-08-23 08:26:43 [16367] [6] ERROR: SMPP[vodacom]: Couldn't connect to
server.
2007-08-23 08:26:43 [16367] [6] ERROR: SMPP[vodacom]: Couldn't connect to
SMS center (retrying in 5 seconds).
2007-08-23 08:26:48 [16367] [6] ERROR: bind to local port 0 failed
2007-08-23 08:26:48 [16367] [6] ERROR: System error 99: Cannot assign
requested address
2007-08-23 08:26:48 [16367] [6] ERROR: error connecting to server `x.x.x.x'
at port `yyyy'
2007-08-23 08:26:48 [16367] [6] ERROR: SMPP[vodacom]: Couldn't connect to
server.
2007-08-23 08:26:48 [16367] [6] ERROR: SMPP[vodacom]: Couldn't connect to
SMS center (retrying in 5 seconds).

Bearerbox.log:

2007-08-23 08:26:33 [16356] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `1'.
2007-08-23 08:26:33 [16356] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2007-08-23 08:26:33 [16356] [0] INFO: HTTP: Opening server at port 13000.
2007-08-23 08:26:33 [16356] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2007-08-23 08:26:33 [16356] [0] INFO: Set SMS resend frequency to 60
seconds.
2007-08-23 08:26:33 [16356] [0] INFO: SMS resend retry set to unlimited.
2007-08-23 08:26:33 [16356] [0] INFO: Set throughput to 10.000 for smsc id
<vodacom>
2007-08-23 08:26:33 [16356] [0] INFO: DLR rerouting for smsc id <vodacom>
disabled.
2007-08-23 08:26:33 [16356] [0] INFO: Added logfile
`/var/log/kannel/vodacom.log' with level `0'.
2007-08-23 08:26:33 [16356] [0] INFO:
----------------------------------------
2007-08-23 08:26:33 [16356] [0] INFO: Kannel bearerbox II version 1.4.1starting
2007-08-23 08:26:33 [16356] [6] INFO: Logging thread `6' to logfile
`/var/log/kannel/vodacom.log' with level `0'.
2007-08-23 08:26:33 [16356] [0] INFO: MAIN: Start-up done, entering mainloop
2007-08-23 08:26:40 [16356] [0] WARNING: Killing signal or HTTP admin
command received, shutting down...
2007-08-23 08:26:41 [16356] [0] INFO: All flow threads have died, killing
core
2007-08-23 08:26:41 [16356] [0] INFO: Total WDP messages: received 0, sent 0
2007-08-23 08:26:41 [16356] [0] INFO: Total SMS messages: received 0, sent 0
2007-08-23 08:26:43 [16367] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `1'.
2007-08-23 08:26:43 [16367] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2007-08-23 08:26:43 [16367] [0] INFO: HTTP: Opening server at port 13000.
2007-08-23 08:26:43 [16367] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2007-08-23 08:26:43 [16367] [0] INFO: Set SMS resend frequency to 60
seconds.
2007-08-23 08:26:43 [16367] [0] INFO: SMS resend retry set to unlimited.
2007-08-23 08:26:43 [16367] [0] INFO: Set throughput to 10.000 for smsc id
<vodacom>
2007-08-23 08:26:43 [16367] [0] INFO: DLR rerouting for smsc id <vodacom>
disabled.
2007-08-23 08:26:43 [16367] [0] INFO: Added logfile
`/var/log/kannel/vodacom.log' with level `0'.
2007-08-23 08:26:43 [16367] [0] INFO:
----------------------------------------
2007-08-23 08:26:43 [16367] [0] INFO: Kannel bearerbox II version 1.4.1starting
2007-08-23 08:26:43 [16367] [0] INFO: MAIN: Start-up done, entering mainloop
2007-08-23 08:26:43 [16367] [6] INFO: Logging thread `6' to logfile
`/var/log/kannel/russel-vodacom.log' with level `0'.

access.log:

2007-08-23 08:26:41 Log ends
2007-08-23 08:26:43 Log begins

I have confirmed with our provider that the system-type may be empty and
that there are no firewalling issues here. My question is what is trying to
'bind to local port 0' and is it what's preventing me from successfully
connecting to the SMSC?

Thanks in advance,
Nick van der Merwe

Reply via email to