ACC Utilities Reference Guide

ZMASTERD - Daemon Monitoring Feature
Stopping Daemons
Chapter 9 195
Stopping Daemons
Daemons that zmasterd is managing may be stopped by running
zmasterd stop. When daemons managed by zmasterd are stopped by
running zmasterd stop, the following actions occur:
1. zmasterd rereads the /opt/acc/cfg/zmasterd_list file if it exists.
2. If no zmasterd_list exists, zmasterd invokes zmon stop to stop the
ACC Mux subsystem and zmasterd stops all running daemons except
zmlog.
3. If the zmasterd_list exists, zmasterd finds all daemons that are listed
with stop statements. Zmasterd invokes zmon stop to shutdown the
ACC Mux subsystem gracefully. All other daemons listed with the
stop statements are terminated with kill -9.
4. Zmasterd continues to monitor daemons that are still running
(daemons that have no stop statements in the zmasterd_list).
NOTE If an application is using the X.25 subsystem with ACC and if the
zmasterd stop or zmasterd kill command is issued, an x25stop -K
command must be issued. The x25stop -K command should be issued
after doing the zmasterd stop/kill command. This is necessary
because the zmasterd stop/kill command deallocates the ZCOM data
structures and there is no way for the X.25 subsystem to know that the
data structures have been deleted. If the x25stop command is not given,
then all successive x25init commands may give error messages stating
that the x25tune command failed.