Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
11.  Run Levels and Boot Files (Tasks) Run Control Scripts Run Control Script Summaries The /sbin/rc2 Script  Previous   Contents   Next 
   
 

Hardware-related tasks:

  • Starts the Sun Fire 15000 key management daemon (sckmd), if appropriate

  • Starts the Sun Fire 880 Dynamic Reconfiguration daemon (sf880drd), if appropriate

  • Runs the flash PROM update script

  • Configures any graphic frame buffers or graphic accelerators

  • Runs the FCode interpreter daemon (efdaemon), if necessary

Transitions the following services between run-level changes:

  • Apache (tomcat)

  • Boot server (in.rarpd), (rpc.bootparamd), or (rpld)

  • DHCP (in.dhcpd)

  • Kerberos KDC (krb5kdc ) and Kerberos administration (kadmind)

  • Mobile IP (mipagent)

  • NFS server (nfsd), (mountd), (nfslogd)

  • Samba (smdb) and (nmdb)

  • Secure shell (sshd)

  • Solstice Enterprise Agents (dmispd) and (snmpXdmid)


Note - Many of the system services and applications that are started at run level 2 depend on what software is installed on the system.


The /sbin/rc3 Script

The /sbin/rc3 script runs the /etc/rc3.d scripts to perform the following tasks:

  • Starts the Apache server daemon (tomcat), if configured

  • Starts the DHCP daemon (in.dhcpd), if appropriate

  • Starts Kerberos KDC (krb5kdc) and Kerberos administration (kadmind) daemons, if configured

  • Starts Mobile IP daemon (mipagent), if configured

  • Starts the Samba daemons (smdb and nmdb), if configured

  • Starts the secure shell daemon (sshd), if appropriate

  • Starts the Solstice Enterprise Agents (dmispd and snmpXdmid)

  • Cleans up the /etc/dfs/sharetab file

  • Starts the NFS server daemons nfsd, mountd, and nfslogd, if appropriate

  • If the system is a boot server, starts the rarpd, rpc.bootparamd, and rpld daemons

The /sbin/rc5 and /sbin/rc6 Scripts

The /sbin/rc5 and /sbin/rc6 scripts run the /etc/rc0.d/K* scripts to perform the following tasks:

  • Kills all active processes

  • Unmounts the file systems

The /sbin/rcS Script

The /sbin/rcS script runs the /etc/rcS.d scripts to bring the system up to run level S. The following tasks are performed by these scripts:

  • Establishes a minimal network

  • Mounts /usr, if necessary

  • Sets the system name

  • Checks the root (/) and /usr file systems

  • Mounts pseudo file systems (/proc and /dev/fd)

  • Rebuilds the device entries for reconfiguration boots

  • Checks and mounts other file systems to be mounted in single-user level

 
 
 
  Previous   Contents   Next