Hi,

Your problem is pretty clear from your logs. Kannel cannot connect to your smsc. Either you have the wrong settings, or you have a network problem. You should try connecting to it from the shell. It seems that your transmit port is wrong.

Meanwhile, it seems that your receive port is connected, and therefore you can receive stuff from the smsc. Eventually, once your receive connection is establisehed, kannel will stop trying to reconnect the transmit end (this is a known kannel bug). You should really try using transceiver mode if you can.

BR,
Nikos
----- Original Message ----- From: Lee Vidor
To: [email protected]
Sent: Friday, May 20, 2011 11:23 AM
Subject: I/O error or other error. Re-connecting.


Hi group,


Strange on really. The following is my current setup (from status page)


Kannel bearerbox version `svn-r4901'. Build `Apr 18 2011 02:30:03', compiler `4.1.2 20080704 (Red Hat 4.1.2-48)'. System Linux, release 2.6.18-194.32.1.el5, version #1 SMP Wed Jan 5 17:52:25 EST 2011, machine x86_64. Hostname 28793_1_570919, IP 127.0.1.1. Libxml version 2.6.26. Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008. Using native malloc.




About every hour I get the following message in my kannel log file:


2011-05-20 08:02:28 [4308] [6] ERROR: SMPP[ABCDE]: I/O error or other error. Re-connecting. 2011-05-20 08:02:28 [4308] [6] ERROR: SMPP[ABCDE]: Couldn't connect to SMS center (retrying in 10 seconds). 2011-05-20 08:02:28 [4308] [7] ERROR: SMPP[ABCDE]: I/O error or other error. Re-connecting. 2011-05-20 08:02:28 [4308] [7] ERROR: SMPP[ABCDE]: Couldn't connect to SMS center (retrying in 10 seconds).
2011-05-20 08:02:38 [4308] [6] DEBUG: Connecting to <123.123.123.123>
2011-05-20 08:02:38 [4308] [7] DEBUG: Connecting to <123.123.123.123>


Then after this i can no longer submit_sm but can receive deliver_sm for older messages fine.


When I then attempt to submit_sm I get the following:


2011-05-20 07:59:54 [553] [9] DEBUG: boxc_receiver: sms received
2011-05-20 07:59:54 [553] [9] DEBUG: send_msg: sending msg to boxc: <BOX1>
2011-05-20 07:59:54 [553] [8] DEBUG: clear_old_concat_parts called
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 vs 0x9016470)
2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 vs 0x9016470)
2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: time to sleep 30.00 secs.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: gwlist_len = 1
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 vs 0x9016470)
2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: handling message (0x9016470 vs 0x9016470)
2011-05-20 07:59:54 [553] [8] DEBUG: Routing failed, re-queued.
2011-05-20 07:59:54 [553] [8] DEBUG: sms_router: time to sleep 30.00 secs.
2011-05-20 07:59:58 [553] [6] DEBUG: SMPP[ABCDE]: Sending enquire link:




If I then restart, all is okay.




Current config:


group = core
dlr-storage = pgsql
admin-port = 13000
admin-password = password
status-password = password
admin-allow-ip = ''
smsbox-port = 13001
log-level = 0
log-file = "/tmp/kannelclient.log"
box-allow-ip = "127.0.0.1"


group = pgsql-connection
id = mydlr
host = localhost
username = postgres
password = password
database = dlr
max-connections =20


group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


group = smsbox
smsbox-id = BOX1
bearerbox-host = 127.0.0.1
sendsms-port = 13013
log-file = "tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"


group = sendsms-user
username = user
password = password


group = smsc
smsc = smpp
smsc-id = ABCDE
host = 123.123.123.123
port = 7774
receive-port = 7775
smsc-username = username
smsc-password = password
address-range = ""
system-type= ""
enquire-link-interval = 30
dest-addr-npi = 1
dest-addr-ton = 1




group = smsbox-route
smsc-id = ABCDE
smsbox-id = BOX1






Has anyone seen this issue before ?


Regards,


Lee

Reply via email to