Skip to main content

OneCLI common return codes

This section describes OneCLI common return codes.

Table 1. OneCLI common return codes
Return codesDescription
0Success.
1Generic failure.
3Invalid application.
4Invalid command.
5Invalid parameter.
6File does not exist.
7Invalid file.
8Failed to create directory.
9Failed to open file.
10Failed to read file.
11Failed to write file.
12Authentication failed.
13Connection failed.
14Ping failed.
15Upload failed.
16Download failed.
17Internal error.
18Time-out.
19Failed to get BMC account through KCS.
20Users are running on an IBM system. Do not use proxy tool in onecli extract path when set the executable binary of legacy ToolsCenter path in global.config.
21LAN-over-USB device is disabled on BMC side. Enable it manually.
22The BMC default internal IP conflicts with external machine. Correct the problem, and try again.
23Failed to restart host system.
24Failed to restart BMC.
25Function is not supported on target system.
26LAN-over-USB device is not detected, make sure RNDIS is correctly installed.
27BMC internal error.
28No applicable hardware component found.
29SMM internal error
30Failed due to current command requires administrator permission. Switch to administrator user then try again.
31Failed due to current command requires root permission. Switch to root user then try again.
32Users are running on an older system. Make sure legacy ToolsCenter path is set correctly to the executable binary of legacy ToolsCenter in global.config.
33No available LAN-over-USB device or host IPv4 IP. Ensure the device exists and the IPV4 protocol setting of the device is enabled.
34Failed to update due to ESXI internal error.
35CMM internal error.
36Failed to verify the certificate/fingerprint for the connection(s) specified.
37Manually quit OneCLI.
38Invalid file folder.
39Failed to encrypt/decrypt.
40Failed to find the matching credential.
41Failed to find the matching tool package for remote machine.
42Remote operation not support this remote machine.
43Could not find credential file.
44The path behind the --remoteos option does not exist.
45Attended or unattended mode conflict.
46Passphrase error.
47Interrupted by user.
48Encrypted file is not exist.
49Encrypted file is invalid.
50Failed to connect KCS. If the system is in Enterprise Strict Mode, users should change the mode, enable ipmi-over-lan and enable ipmi-over-kcs, then try this case again.
51Unable to access IPMI service with a password over 20 characters according to IPMI standard.
52There is no RESTful service for the target server.
53Check the format of input for connection parameter. For credential encrypt user, can't find crypt.json.
54The password provided for this account must be changed before access is granted.
55BMC CIM Over HTTPS is disabled.
56Invalid BMC/CMM/SMM address.
57Check BMU requirement failed.
58One or more tasks failed.
59One or more tasks skipped.
60Failed to get data from the Rest interface of BMC.
61Failed to get Redfish account on AMD 1S.
62Failed to setup filesystem in Maintenance Mode OS.
63Unable to establish IPMI v2 / RMCP+ session, which may be caused by authentication failure or insufficient privilege level.
64Failed to enable SMM IPMI over LAN. Confirm whether the target system supports.
65Function not supported on target system. The Security Mode of target system is Enterprise Strict mode. Users should change the mode and try this case again.
66There is no CIM service for the target server.
67Function isn't supported when Power on password is enable.
68Unsupported interface to the target device.
69Interprocess conflict. The desired resource may be currently occupied by another process.