DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Administering TCP/IP

Logging troubleshooting information

Most of the server daemons started by /etc/inetd.conf accept a -d option forcing all sockets to be created with debugging turned on. With debugging on, activity is logged in /usr/adm/syslog. To enable logging:

  1. Edit /etc/inetd.conf to add the -d option to each daemon you want to log.

  2. Determine the process ID of inetd by entering the following command:

    cat /etc/inetd.pid

    The process ID of inetd appears.

  3. Send a message to inetd to force it to reread /etc/inetd.conf:

    kill -1 inetd_pid

    inetd_pid is the process ID from step 2.

If you enable logging for all server daemons, take care to monitor the size of /usr/adm/syslog, as it may grow quickly. To turn off logging, reedit inetd.conf to remove debug flags and kill -1 the inet daemon again.
Previous topic: Verifying correct routing behavior

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003