manually create this file smsbox.log in the directory state.
  -----Original Message-----
  From: Irfan Malik [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, August 05, 2008 3:04 PM
  To: 'Julius Morales Reolizo'; [email protected]
  Subject: RE: Newbie Error


  System error 2: No such file or directory



  Use full path of log files i.e. log-file = "/var/logs/smsbox.log"





  Regards,

  Irfan Malik




----------------------------------------------------------------------------
--

  From: Julius Morales Reolizo [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, August 05, 2008 10:51 AM
  To: [email protected]
  Subject: Newbie Error



  plz help me on this... i dont get it sometimes it works except to the
couldn't open logfile... i really don't get it i created all the .log files
by touch but couldn't open... and big question why does it happens to show
this error but before i killed and reconfigure, it shows this error... same
goes when i revert back it to the previous config... pls pls help me

  [EMAIL PROTECTED] gw]# ./smsbox -v 1 kannel.conf
  2008-08-05 05:51:37 [6871] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
  2008-08-05 05:51:37 [6871] [0] INFO: Starting to log to file
/logs/smsbox.log level 0
  2008-08-05 05:51:37 [6871] [0] ERROR: Couldn't open logfile
`/logs/smsbox.log'.
  2008-08-05 05:51:37 [6871] [0] ERROR: System error 2: No such file or
directory
  2008-08-05 05:51:37 [6871] [0] INFO: Logging accesses to
'/logs/access.log'.
  2008-08-05 05:51:37 [6871] [0] ERROR: Couldn't open logfile
`/logs/access.log'.
  2008-08-05 05:51:37 [6871] [0] ERROR: System error 2: No such file or
directory
  2008-08-05 05:51:37 [6871] [0] INFO: HTTP: Opening server at port 13013.
  2008-08-05 05:51:37 [6871] [0] INFO: Set up send sms service at port 13013
  2008-08-05 05:51:37 [6871] [0] ERROR: connect failed
  2008-08-05 05:51:37 [6871] [0] ERROR: System error 111: Connection refused
  2008-08-05 05:51:37 [6871] [0] ERROR: error connecting to server
`localhost' at port `1300
2'
  2008-08-05 05:51:37 [6871] [0] PANIC: Couldn't connect to the bearerbox.
  2008-08-05 05:51:37 [6871] [0] PANIC: ./smsbox(gw_panic+0xa3) [0x807f353]
  2008-08-05 05:51:37 [6871] [0] PANIC: ./smsbox(main+0xc9b) [0x8057377]
  2008-08-05 05:51:37 [6871] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xe0) [0x5d6ec0]
  2008-08-05 05:51:37 [6871] [0] PANIC: ./smsbox [0x80522e1]

  kannel.conf
  group = core
  admin-port = 13001
  smsbox-port = 13002
  admin-password = bar
  log-file = "/logs/kannel.log"
  log-level = 0
  access-log-clean = true
  #admin-deny-ip = "*.*.*.*"
  #admin-allow-ip = "127.0.0.1"
  #http-proxy-host = "127.0.0.1"
  #http-proxy-port = 8080
  #http-proxy-exceptions = "127.0.0.1"
  #http-proxy-username = "user"
  #http-proxy-password = "password"
  store-file = "kannel.store"

  group = smsbox
  bearerbox-host = localhost
  #smsbox-port-ssl = "yes"
  #box-deny-ip = "*.*.*.*"
  #box-allow-ip = "127.0.0.1"
  sendsms-port = 13013
  log-file = "/logs/smsbox.log"
  access-log = "/logs/access.log"
  #white-list = "http://127.0.0.1/white-list.txt";
  #black-list = "http://127.0.0.1/black-list.txt";

  group = smsc
  smsc = fake
  host = localhost
  port = 10000
  connect-allow-ip = 127.0.0.1


Reply via email to