Hi,

Your posted logs from smsbox indicate a problem with your bearerbox. Could you 
please post the relevant bearerbox logs at maximum verbosity (0) from ~10:20:28?

BR,
nikos
  ----- Original Message ----- 
  From: martin jombe 
  To: [email protected] 
  Sent: Wednesday, April 22, 2009 12:27 AM
  Subject: help : Error reading from fd 24 -- Queued for later delivery



  Hello ,
  I am new user of kannel and i am facing this problem:
  I have installed and cofigured kannel to send message to a smpp server
  but it seems that the massage is not sent to the server

  1) this is the message sent for testing purpose
  url = 
"http://192.168.2.4:13013/cgi-bin/sendsms?username=tester&password=foobar&to=0123456&text=Hello";;

  2) this is my kannel conf

  group = core
  admin-port = 13000
  smsbox-port = 13001
  admin-password = bar
  #status-password = foo
  #admin-deny-ip = ""
  admin-allow-ip = "x.x.x.x"
  #log-file = "/tmp/kannel.log"
  #log-level = 0
  #box-deny-ip = "*.*.*.*"
  box-allow-ip = "127.0.0.1"
  #unified-prefix = "+358,00358,0;+,00"
  access-log = "/tmp/access.log"
  #store-file = "kannel.store"
  #ssl-server-cert-file = "cert.pem"
  #ssl-server-key-file = "key.pem"
  #ssl-certkey-file = "mycertandprivkeyfile.pem"


  group = smsc
  smsc = smpp
  host = 192.168.2.145
  port = 1960
  receive-port =1969
  smsc-username = "martin"
  smsc-password = "jombe"
  system-type = "VMA"
  address-range = ""


  group = smsbox
  bearerbox-host = 192.168.2.4
  sendsms-port = 13013
  global-sender = 13013
  sendsms-chars = "0123456789 +-"
  log-file = "/tmp/smsbox.log"
  log-level = 0
  access-log = "/tmp/access.log"

  group = sendsms-user
  username ="tester"
  password ="foobar"
  #user-deny-ip = ""
  user-allow-ip = "*.*.*.*"

  3) result of my http sending method :
   HTTP/1.1 202 Accepted
  3: Queued for later delivery

  4) and the output of kannel log

  Sending enquire link:
  2009-04-21 10:20:12 [27207] [7] DEBUG: SMPP PDU 0x8105e00 dump:
  2009-04-21 10:20:12 [27207] [7] DEBUG:   type_name: enquire_link
  2009-04-21 10:20:12 [27207] [7] DEBUG:   command_id: 21 = 0x00000015
  2009-04-21 10:20:12 [27207] [7] DEBUG:   command_status: 0 = 0x00000000
  2009-04-21 10:20:12 [27207] [7] DEBUG:   sequence_number: 14 = 0x0000000e
  2009-04-21 10:20:12 [27207] [7] DEBUG: SMPP PDU dump ends.

  2009-04-21 10:20:28 [27265] [2] DEBUG: HTTP: Creating HTTPClient for 
`192.168.2.145'.
  2009-04-21 10:20:28 [27265] [2] DEBUG: HTTP: Created HTTPClient area 
0x80e9780.
  2009-04-21 10:20:28 [27265] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <192.168.2.145>
  2009-04-21 10:20:28 [27265] [3] INFO: sendsms used by <tester>
  2009-04-21 10:20:28 [27265] [3] INFO: sendsms sender:<tester:13013> 
(192.168.2.145) to:<0123456> msg:<Hello>
  2009-04-21 10:20:28 [27265] [3] DEBUG: Stored UUID 
200de45e-1952-47e9-8991-889de338242e
  2009-04-21 10:20:28 [27265] [3] DEBUG: message length 5, sending 1 messages
  2009-04-21 10:20:28 [27265] [3] DEBUG: Status: 202 Answer: <Sent.>
  2009-04-21 10:20:28 [27265] [3] DEBUG: Delayed reply - wait for bearerbox
  2009-04-21 10:20:28 [27207] [9] DEBUG: boxc_receiver: sms received
  2009-04-21 10:20:28 [27207] [9] DEBUG: send_msg: sending msg to box: 
<192.168.2.4>
  2009-04-21 10:20:28 [27207] [8] DEBUG: sms_router: handling message 
(0x8105f00 vs 0x8105f00)
  2009-04-21 10:20:28 [27207] [8] DEBUG: sms_router: handling message 
(0x8105f00 vs 0x8105f00)
  2009-04-21 10:20:28 [27207] [8] DEBUG: sms_router: time to sleep 30.00 secs.
  2009-04-21 10:20:28 [27265] [0] DEBUG: Got ACK (3) of 
200de45e-1952-47e9-8991-889de338242e
  2009-04-21 10:20:28 [27265] [0] DEBUG: HTTP: Resetting HTTPClient for 
`192.168.2.145'.
  2009-04-21 10:20:28 [27265] [1] ERROR: Error reading from fd 24:
  2009-04-21 10:20:28 [27265] [1] ERROR: System error 54: Connection reset by 
peer
  2009-04-21 10:20:28 [27265] [1] DEBUG: HTTP: Destroying HTTPClient area 
0x80e9780.
  2009-04-21 10:20:28 [27265] [1] DEBUG: HTTP: Destroying HTTPClient for 
`192.168.2.145'.

  any help
  regards


  Martin JM


  Martin JM




------------------------------------------------------------------------------
  Souhaitez vous  « κtre au bureau sans y κtre » ? Oui je le veux ! 

Reply via email to