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:
-
Edit /etc/inetd.conf to add the -d option to each
daemon you want to log.
-
Determine the process ID of inetd by entering the
following command:
cat /etc/inetd.pid
The process ID of inetd appears.
-
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
© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007