Answer:
- status 0 means "success"
- status 1 means "failure"
The log file:
/var/log/messages
Aug 13 23:09:38 servername xinetd[2909]: EXIT: smtp status=1 pid=32191 duration=1(sec)
Aug 13 23:09:38 servername xinetd[2909]: EXIT: smtp status=0 pid=32191 duration=1(sec)
Configuragion file: /etc/xinetd.conf
log_type = SYSLOG daemon info
log_on_failure = HOST
log_on_success = PID HOST DURATION EXIT
EXIT — Logs the exit status or termination signal of the service (log_on_success).
cf. "man xinetd.conf"
cf. http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-tcpwrappers-xinetd-config.html
-- Best Regards, Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng ) vuhung16plus{remove}@gmail.dot.com , YIM: vuhung16 , Skype: vuhung16plus, twitter: vuhung, MSN: vuhung16. http://www.facebook.com/nguyenvuhung Nguyễn Vũ Hưng's blog on Free and Open Source: http://nguyenvuhungvietnam.wordpress.com/ Học tiếng Nhật: http://hoc-tiengnhat.blogspot.com/ Vietnamese LibreOffice: http://libo-vi.blogspot.com/ Mozilla & Firefox tiếng Việt: http://mozilla-vi.blogspot.com/ Disclaimer: When posted to social networking groups include, but not limited Linux Users' Groups, Free and Open Sources forums, mailing lists, the above is my personal opinion and is *not* the opinion of my employer(s), associations and/or groups I join.
No comments:
Post a Comment