How to configure xinetd applications to write to the system log

Unanswered Question
Nov 24th, 2009


Based on configuration, if inetd file has been upgraded to xinetd, then how to configure xinetd file to write to the system log, there is no such directory for /etc/rc2.d/S72inetsvc. One more thing, xferlog file /etc/ftpd/ftpaccess:,also doesn't existed. Please help me in order to intergrate the syslog file to capture the events in CSMARS

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Maxim Zimovets Wed, 11/25/2009 - 22:02


First of all you can find all necessary information if you type man xinted and man xinted.conf.

All xinted settings are usually located in file /etc/xinted.conf. You can look through this file and, I hope, will find default section. It will look similar following:

     log_type = FILE /var/log/servicelog
log_on_success = PID
log_on_failure = HOST RECORD
only_from =
only_from =
instances = 10
disabled = rstatd
Instead of log_type = FILE .... you can type log_type=SYSLOG syslog_facility [syslog_level] and setup necessary syslog_facility and syslog_level.

Hope this help.
With best regards.


This Discussion