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
Installing and Administering NFS Services with 10.20 ACE and HWE: HP 9000 Networking > Chapter 7 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 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 ... 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 7-1 “Startup Scripts for the NFS Services” shows the NFS 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 portmap if it is not already started, but only one portmap process should be running at once.

    Table 7-1 Startup Scripts for the NFS Services

    Startup
    script in /sbin/init.d

    Processes started

    Related file in /etc/rc.config.d

    Environment variables
    used

    nfs.core
    portmap(1M)

    none

    none

    nis.server
    portmap(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
    portmap(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
    portmap(1M)
    biod(1M)
    statd(1M)
    lockd(1M)
    automount(1M)
    automountd(1M)
    mount(1M)
    swapon(1M)
    nfsconf
    NFS_CLIENT
    NUM_NFSIOD
    STATD_OPTIONS
    LOCKD_OPTIONS
    AUTOMOUNT
    AUTO_MASTER
    AUTOMOUNT_OPTIONS
    AUTOMOUNTD_OPTIONS
    nfs.server
    portmap(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
© 1998 Hewlett-Packard Development Company, L.P.