HP Virtual Connect Enterprise Manager 6.1 User Guide

CLI exit and error codes
The CLI returns a numeric value that either indicates success or a particular error or failure. The CLI also
displays an associated error message (through stdout). A zero numerical returned value indicates success.
Some returned value greater than zero indicates an error or failure. The following list shows all possible exit
and error codes and messages that might be returned by the VCEM CLI.
VCEM CLI syntax error codes/messages
Error messageCode
ERROR–Invalid command line syntax1
ERROR–Invalid command line option2
ERROR–Argument not allowed for this option3
ERROR–Only one required argument allowed for this option4
ERROR–Missing a required argument for this option5
ERROR–Missing operational option6
ERROR–Missing command line option(s)7
ERROR–Invalid command line argument8
ERROR–Duplicate options not allowed9
ERROR–Option not allowed10
VCEM CLI User Authorization and Login error codes/messages
Error MessageCode
ERROR–Could not locate VCEM SOAP Service15
ERROR–Could not login to VCEM
- SIM must be running
- VCEM must be installed
- User must be in OS Administrator group
- User must be valid SIM user
- User must have adequate VCEM authorization
16
CLI exit and error codes 91