Aug 14, 2012

CentOS /etc/xinetd.conf

Question: What is the meaning of "status 0" and "status 1" in /var/log/message?

- status 0 means "success"
- status 1 means "failure"

The log file:
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"
--   Best Regards,  Nguyen Hung Vu [aka: NVH] ( in Vietnamese: Nguyễn Vũ Hưng )  vuhung16plus{remove} , YIM: vuhung16 , Skype:  vuhung16plus, twitter: vuhung, MSN: vuhung16.  Nguyễn Vũ Hưng's blog on Free and Open Source:  Học tiếng Nhật:  Vietnamese LibreOffice:  Mozilla & Firefox tiếng Việt:    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: