Hi,

You shouldn't have 2 smsbox groups. Merge with the second (#WAP PUSH) into a 
single one. Try posting the same logs (with the error) but with logelevel 0. 
Right now, as it stands, we cannot tell to which connection socket 23 refers to.

BR,
Nikos
  ----- Original Message ----- 
  From: Francisco Arias 
  To: [email protected] 
  Sent: Tuesday, May 05, 2009 12:53 AM
  Subject: help


  Hi,

  my problem is I can not send or receive sms this is the error 2009-05-04 
16:21:28 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:21:28 [4709] [1] ERROR: System error 104: Connection reset by 
peer, this is the logs.

  bearerbox.log

  2009-05-04 16:05:54 [4689] [0] INFO: Added logfile `/var/log/kannel/bearerbox.
  log' with level `1'.
  2009-05-04 16:05:54 [4689] [0] INFO: Started access logfile 
`/var/log/kannel/newaccess.log'.
  2009-05-04 16:05:54 [4689] [0] INFO: SSL not supported, no SSL initialization 
done.
  2009-05-04 16:05:54 [4689] [0] INFO: HTTP: Opening server at port 13000.
  2009-05-04 16:05:54 [4689] [0] INFO: BOXC: 'smsbox-max-pending' not set, 
using default (100).
  2009-05-04 16:05:54 [4689] [0] INFO: Set SMS resend frequency to 60 seconds.
  2009-05-04 16:05:54 [4689] [0] INFO: SMS resend retry set to unlimited.
  2009-05-04 16:05:54 [4689] [0] INFO: DLR rerouting for smsc id <Huawei> 
disabled.
  2009-05-04 16:05:54 [4689] [0] INFO: ----------------------------------------
  2009-05-04 16:05:54 [4689] [0] INFO: Kannel bearerbox II version 1.4.1 
starting
  2009-05-04 16:05:54 [4689] [0] INFO: MAIN: Start-up done, entering mainloop
  2009-05-04 16:06:17 [4689] [5] INFO: Client connected from <127.0.0.1>
  2009-05-04 16:06:21 [4689] [8] INFO: Connection closed by the box <127.0.0.1>
  2009-05-04 16:06:24 [4689] [5] INFO: Client connected from <127.0.0.1>


  smsbox.log 

  2009-05-04 16:06:17 [4699] [0] INFO: Added logfile 
`/var/log/kannel/smsbox.log' with level `1'.
  2009-05-04 16:06:17 [4699] [0] INFO: HTTP: Opening server at port 13100.
  2009-05-04 16:06:17 [4699] [0] INFO: Set up send sms service at port 13100
  2009-05-04 16:06:17 [4699] [0] INFO: Connected to bearerbox at localhost port 
13001.
  2009-05-04 16:06:21 [4699] [0] ERROR: SIGINT received, aborting program...
  2009-05-04 16:06:21 [4699] [0] INFO: Received (and handled?) 0 requests in 4 
seconds (0.00 per second)
  2009-05-04 16:06:21 [4699] [0] INFO: Kannel smsbox terminating.
  2009-05-04 16:06:24 [4709] [0] INFO: Added logfile 
`/var/log/kannel/smsbox.log' with level `1'.
  2009-05-04 16:06:24 [4709] [0] INFO: HTTP: Opening server at port 13100.
  2009-05-04 16:06:24 [4709] [0] INFO: Set up send sms service at port 13100
  2009-05-04 16:06:24 [4709] [0] INFO: Connected to bearerbox at localhost port 
13001.
  2009-05-04 16:07:07 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:07:07 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:07:07 [4709] [1] ERROR: System error 104: Connection reset by 
peer
  2009-05-04 16:09:04 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:09:04 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:09:04 [4709] [1] ERROR: System error 104: Connection reset by 
peer
  2009-05-04 16:17:03 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:17:03 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:17:03 [4709] [1] ERROR: System error 104: Connection reset by 
peer
  2009-05-04 16:17:13 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:17:13 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:17:13 [4709] [1] ERROR: System error 104: Connection reset by 
peer
  2009-05-04 16:17:48 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:17:48 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:17:48 [4709] [1] ERROR: System error 104: Connection reset by 
peer
  2009-05-04 16:17:51 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:17:51 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:17:51 [4709] [1] ERROR: System error 104: Connection reset by 
peer
  2009-05-04 16:20:44 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:20:44 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:20:44 [4709] [1] ERROR: System error 104: Connection reset by 
peer
  2009-05-04 16:21:08 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:21:28 [4709] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <127.0.0.1>
  2009-05-04 16:21:28 [4709] [1] ERROR: Error reading from fd 23:
  2009-05-04 16:21:28 [4709] [1] ERROR: System error 104: Connection reset by 
peer

  this is the file configuration

  #
  group = core
  admin-port = 13000
  smsbox-port = 13001
  admin-password = hebreos922
  admin-deny-ip = "*.*.*.*"
  admin-allow-ip = "127.0.0.1;190.*.*.*"
  log-file = "/var/log/kannel/bearerbox.log"
  log-level = 1
  access-log = "/var/log/kannel/newaccess.log"
  box-deny-ip = "*.*.*.*"
  box-allow-ip = "127.0.0.1"

  group = smsbox
  bearerbox-host = localhost
  sendsms-port = 13013
  log-file = "/var/log/kannel/newsmsbox.log"
  log-level = 1
  access-log = "/var/log/kannel/newsmsaccess.log"
  reply-couldnotfetch = "El mensaje no pudo ser procesado. Lo sentimos"
  #global-sender = 123456

  group = smsc
  smsc-id = Huawei
  smsc = smpp
  host = xxx.xx.xxx.xx
  port = 5020
  smsc-username = "SMPP"
  smsc-password = 2227
  system-type = "VMA"
  transceiver-mode = true
  address-range = ""

  # SEND-SMS USERS

  group = sendsms-user
  username = tester
  password = foobar
  forced-smsc = Huawei
  #user-deny-ip = ""
  #user-allow-ip = ""

  # this sender is for Kannel relay testing (http_smsc)

  group = sendsms-user
  username = kannel
  password = rL4y
  user-deny-ip = "*.*.*.*"
  user-allow-ip = "127.0.0.1"
  forced-smsc = Huawei

  group = sendsms-user
  username = rod
  password = arias
  forced-smsc = Huawei

  # SERVICES

  max-messages = 1
  group = sms-service
  keyword = nop
  text = "You asked nothing and I did it!"
  max-messages = 1

  group = sms-service
  keyword = foo
  keyword-regex= "o*"
  text = "Gracias por participar en nuestro Mensaje millonario TIGO"
  max-messages = 1
  get-url = http://localhost/~rtriana/9107.php?from=%p&to=%P&text=%a
  allowed-receiver-prefix = 9107

  group = sms-service
  keyword = relay
  get-url = 
"http://localhost:13013/cgi-bin/sendsms?user=tester&pass=foobar&from=3005212140&to=%P&text=%r";
  max-messages = 0

  group = sms-service
  keyword = ETB
  get-url = 
http://localhost:13013/cgi-bin/sendsms?user=etb&pass=eTb2005CM&from=SMS%20ETB&to=%P%text=%r
  max-messages = 0

  # there should be default always
  group = sms-service
  keyword = default
  text = "La palabra clave que enviaste no es correcta. Por favor verificala. 
Mas info *300."
  max-messages = 1

  #WAP PUSH
  group = smsbox
  bearerbox-host = localhost
  sendsms-url = /sendsms
  sendota-url= /sendota
  log-file = "/var/log/kannel/smsbox.log"
  log-level = 1
  sendsms-port = 13100

  Thanks for you help.

  -- 
  Francisco R. Arias D.
  9-22 Web + Mobile Ltda.
  Movil: 3002805486
  • help Francisco Arias
    • Re: help Nikos Balkanas
    • help Sujith Venugopal // Viva

Reply via email to