Troubleshooting TCP/IP

Logging troubleshooting information

Most of the server daemons started by /etc/inetd.conf accept a -d option to force all sockets to be created with debugging turned on. Their activity is logged by default in /var/adm/log/osmlog. To enable logging:

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

  2. Force inetd to re-read /etc/inetd.conf by sending it a SIGHUP signal:

    kill -HUP `cat /etc/saf/inetd/_pid`

    or by stopping and restarting it:

    sacadm -k -p inetd
    sacadm -s -p inetd

If you enable logging for all server daemons, take care to monitor the size of logs such as /var/adm/syslog and /var/adm/log/osmlog, as the size of these files may grow quickly.

To turn off logging:

  1. Re-edit /etc/inetd.conf to remove the debug flags.

  2. Make inetd re-read /etc/inetd.conf as shown in step 2 above.

© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999