critical impact:
rcmgr - not supported; use ch_rc (CrUn351)
Problem description
The rcmgr command exists on Tru64 UNIX but not on HP-UX.
However, a replacement exists in the ch_rc command on HP-UX.
On Tru64 UNIX, the rcmgr command gets, sets, and delete variables in
the system configuration files. On HP-UX, the ch_rc command provides
similar functionality.
The configuration files are different on the two platforms. Tru64
UNIX uses a hierarchy of three configuration files:
/etc/rc.config
/etc/rc.config.common
/etc/rc.config.site
They are shared by
all of the subsystems. HP-UX uses a directory of configuration files,
/etc/rc.config.d, and each file is for a specific subsystem. Identifiers
 rcmgr |
|
|
|
|
|
|
Old behavior
rcmgr get NUM_NFSD
rcmgr set NUM_NFSD 8
rcmgr delete NUM_NFSD
See also
Solution description
To access system configuration files on HP-UX, use the ch_rc command.
The get, set, and delete options of the rcmgr command correspond to
the -l, -a, and -r options of the ch_rc command.
If an application has any parameters in the Tru64 UNIX configuration
files, then on HP-UX it should put them in its own configuration file
in the /etc/rc.config.d directory. New behavior
# get
ch_rc -l -p NUM_NFSD
# set
ch_rc -a -p NUM_NFSD=8 /etc/rc.config.d/nfsconf
# delete
ch_rc -r -p NUM_NFSD
See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| CMD |
Make, Script |
any HP-UX 11i version |
critical |
unavailable |
|