Managing Network Daemons under AIX
In general, AIX uses the System Resource Controller to manage daemons, and the ones
related to networking are no exception. The startsrc and stopsrc commands
are used to manually start and stop server processes within the SRC. The
following commands illustrate the facility’s use with several common
TCP/IP daemons:
#stopsrc -g tcpipStop all TCP/IP-related daemons. #stopsrc -s namedStop the DNS name server. #startsrc -s inetdStart the master networking server. #startsrc -g nfsStart all NFS-related daemons.
As these commands illustrate, the -s and -g
options are used to specify the individual server or server group
(respectively) to which the command applies. As usual, the lssrc command may be used to display the
status of daemons controlled by the SRC, as in this command, which lists
the servers within the nfs group:
# lssrc -g nfs
Subsystem Group PID Status
biod nfs 344156 active
rpc.statd nfs 376926 active
rpc.lockd nfs 385120 active
nfsd nfs inoperative
rpc.mountd nfs inoperativeOn this system, the daemons related to accessing remote filesystems are running, while those related to providing remote access to local filesystems are not.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access