10.2. Stopping and restarting TCP/IP daemons

The subsystems started from rc.tcpip can be stopped using the stopsrc command and restarted using the startsrc command.

10.2.1. Stopping TCP/IP daemons using the /etc/tcp.clean command

The script /etc/tcp.clean can be used to stop TCP/IP daemons. It will stop the following daemons and remove the /etc/locks/lpd TCP/IP lock files:

  • ndpd-host

  • lpd

  • routed

  • gated

  • sendmail

  • inetd

  • named

  • timed

  • rwhod

  • iptrace

  • snmpd

  • rshd

  • rlogind

  • telnetd

  • syslogd

Note that the script /etc/tcp.clean does not stop the portmap and nfsd daemons. If you want to stop the portmap and the nfsd daemons, use the stopsrc -s portmap and the stopsrc -s nfsd commands. The execution bit of this /etc/tcp.clean file is not on by default. You will have to invoke ...

Get IBM eServer Certification Study Guide - pSeries AIX System Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.