Sun Microsystems V40Z Server User Manual


 
198 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide May, 2004
Return Codes
TABLE H-54 lists the return codes for this command.
SP Reset Subcommand
Description: Restores selected settings of the SP to the default factory configuration.
The SP configuration files are stored in the directory /pstore. When you boot the
system, the SP copies these configuration files from /pstore to /etc whenever the
files are missing from /etc. Resetting the SP to its default configuration is
accomplished by deleting the configuration files in the directory /pstore. A reboot
of the SP is necessary for the SP reset to take effect.
By default, the SP reboots 60 seconds after the subcommand
sp reset to default-settings executes, unless you specify the --nowait
option, in which case the reboot occurs immediately.
Format
Command format:
sp reset to default-settings {-a | --all} {-c | --config}
{-n | --network} {-s | --ssh} {-u | --users} {-W | --nowait}
TABLE H-54 Return Codes for Subcommand sp reboot
Return Code ID Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting
options specified.
NWSE_RPCTimeout 2 Request was issued, but was not serviced by the
server. RPC procedure timed out and the request
may or may not have been serviced by the server.
NWSE_RPCNotConnected 3 Unable to connect to the RPC server.
NWSE_NoMemory 8 Insufficient memory.