Return Codes

TABLE H-54lists the return codes for this command.

TABLE H-54Return 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.

 

 

 

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-settingsexecutes, unless you specify the --nowaitoption, 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}

198 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Page 220
Image 220
Sun Microsystems V20Z, V40z manual SP Reset Subcommand, Table H-54lists the return codes for this command