CLI Guide

Error Codes
An error code or a return code is an integer value which represents the status of a command that is run. Running any valid
racadm command generates an error code.
To view an error code, you need to run another command after completion of the original command as below:
echo$?for Linux operating system
echo %errorlevel%for Windows operating system
Error Code
Description
0 Success
1 Generic Failure
Example:
All iDRAC internal failures
Any read/write failures of iDRAC internal data
Failures due to unknown reasons
2
When an invalid or out of range value is specified for any argument.
When the length of an argument (filename/path) is larger than allowed.
3
When racadm command entered is incorrect/invalid.
When any command/option entered is not supported with the current interface/platform.
4 Syntax of the command is not correct, or invalid number of arguments are passed to the command.
5 When current iDRAC user does not have privileges to run the command.
6 When current iDRAC user does not have the required iDRAC license, or the existing license has expired.
7 When iDRAC does not have enough resources.
8 When iDRAC is running a similar job.
9 Failures (Write failures, invalid share details, mount failures, and so on) related to remote shares
(CIFS/NFS/FTP/TFTP/HTTP/HTTPS).
10 Failure to transfer data from/to local interface
11
When lockdown mode is enabled.
When dependent feature is disabled.
When dependent attributes are not configured/invalid.
12 Unable to connect to iDRAC remotely (remote racadm connect failures).
13 Issues related to IPMI failures.
14 Failure to transfer data from remote Interface.
15 Any session-related issues or state of the command.
16 Commands failing due to Invalid Keys/Signing Error.
17 Syntax of the command is correct but arguments that are passed to the command are not correct (Invalid
FQDD, Invalid Object Specified).
7
254 Error Codes