Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
NFS Services Administrator's Guide: HP-UX 11i version 2 > Chapter 8 Troubleshooting NFS Services

Normal System Startup

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

This section explains the system startup sequence and how the NFS, NIS, and NIS+ daemons are started up in a normal system boot.

  1. The /sbin/rc script sources all the files in the /etc/rc.config.d directory. The files in /etc/rc.config.d contain environment variables that control the startup and behavior of various processes.

  2. The /sbin/rc script runs the scripts in the directories /sbin/rc0.d, /sbin/rc1.d, /sbin/rc2.d, /sbin/rc3.d, and /sbin/rc4.d, in that order.

    The scripts in the /sbin/rcn.d directories are named SNNNscriptname, where NNN is a sequence number, and scriptname is the name of a startup script in the /sbin/init.d directory. Each of these scripts is actually a link to a startup script in /sbin/init.d. The /sbin/rc script runs them in order by sequence number. Following is a partial listing of the /sbin/rc2.d directory:

    lrwxr-xr-x   1 root ... S400nfs.core -> /sbin/init.d/nfs.core
    lrwxr-xr-x 1 root ... S406nisplus.server -> /sbin/init.d/nisplus.server
    lrwxr-xr-x 1 root ... S408nisplus.client -> /sbin/init.d/nisplus.client
    lrwxr-xr-x 1 root ... S410nis.server -> /sbin/init.d/nis.server
    lrwxr-xr-x 1 root ... S420nis.client -> /sbin/init.d/nis.client
    lrwxr-xr-x 1 root ... S430nfs.client -> /sbin/init.d/nfs.client

    All the startup scripts for the NFS services are started at run level 2 except the nfs.server script, which is started at run level 3. Table 8-2 “Startup Scripts for the NFS Services” shows the NFS, NIS, and NIS+ startup scripts, in the order they are run at system startup. It lists the processes that each script starts and the files and environment variables in /etc/rc.config.d that influence their behavior.

    All of the startup scripts start rpcbind if it is not already started, but only one rpcbind process should be running at once.

    Table 8-2 Startup Scripts for the NFS Services

    Startup
    script in /sbin/init.d

    Processes started

    Related file in /etc/rc.config.d

    Environment variable
     used

    nfs.core
    rpcbind(1M)

    none

    none

    nisplus.server
    rpcbind(1M)
    domainname(1)
    keyserv(1M)
    rpc.nisd(1M)
    rpc.nispasswdd(1M)
    namesvrs
    NISPLUS_SERVER
    NIS_DOMAIN
    KEYSERV_OPTIONS
    RPC_NISD_OPTIONS
    RPC_NISPASSWDD_OPTIONS
    nisplus.client
    rpcbind(1M)
    domainname(1)
    keyserv(1M)
    nis_cachemgr(1M)
    namesvrs
    NISPLUS_CLIENT
    NIS_DOMAIN
    KEYSERV_OPTIONS
    NIS_CACHEMGR_OPTIONS
    nis.server
    rpcbind(1M)
    domainname(1)
    ypserv(1M)
    ypxfrd(1M)
    yppasswdd(1M)
    ypupdated(1M)
    keyserv(1M)
    namesvrs
    NIS_MASTER_SERVER
    NIS_SLAVE_SERVER
    NIS_DOMAIN
    YPSERV_OPTIONS
    YPPASSWDD_OPTIONS
    KEYSERV_OPTIONS
    YPUPDATED_OPTIONS
    YPXFRD_OPTIONS
    nis.client
    rpcbind(1M)
    domainname(1)
    ypbind(1M)
    keyserv(1M)
    namesvrs
    NIS_CLIENT
    NIS_DOMAIN
    WAIT_FOR_NIS_SERVER
    MAX_NISCHECKS
    YPBIND_OPTIONS
    KEYSERV_OPTIONS
    YPSET_ADDR
    nfs.client
    rpcbind(1M)
    biod(1M)
    statd(1M)
    lockd(1M)
    automount(1M)
    mount(1M)
    swapon(1M)
    automountd(1M)
    nfsconf
    NFS_CLIENT
    NUM_NFSIOD
    STATD_OPTIONS
    LOCKD_OPTIONS
    AUTOFS
    AUTO_MASTER
    AUTOMOUNT_OPTIONS
    AUTOMOUNTD_OPTIONS
    nfs.server
    rpcbind(1M)
    exportfs(1M)
    mountd(1M)
    nfsd(1M)
    statd(1M)
    lockd(1M)
    pcnfsd(1M)
    swapon(1M)
    nfsconf
    NFS_SERVER
    NUM_NFSD
    STATD_OPTIONS
    LOCKD_OPTIONS
    START_MOUNTD
    MOUNTD_OPTIONS
    PCNFS_SERVER

     

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2004 Hewlett-Packard Development Company, L.P.