Exit Codes
zman returns exit codes in the range of 0-255. 0 indicates successful execution of the command; 1-
255 indicate an error in execution.
0 - Success.
Exit Codes for Parse Errors:
1 - An unknown parsing error has occurred.
2 - A mandatory argument is not specified.
3 - An unknown flag is specified
4 - A value is specified for a switch parameter.
5 - No value is specified for a flagged option.
6 - An unexpected additional argument is specified.
7 - An invalid value is specified.
8 - Unable to convert a value to the type expected.
9 - Unknown command.
10 - No options are entered when at least one is required. For example, to modify rights, you must
specify at least the Assign option or the Revoke option.
Exit Codes for General Errors:
11 - An unknown error has occurred.
12 - The feature is not available because one of the dependent zman jar files is missing.
13 - Authentication failed.
14 - An empty string is specified for username or password, or the specified password does not meet
the minimum length requirements.
15 - The ZENworks license has expired.
16 - Connection failure. The or the database device might be down.
17 - The ZENworks administrator does not have sufficient rights to perform this operation.
18 - Unable to read the certificate for establishing SSL communication.
19 - This command can be run only on a local host.
Exit Codes for General Object Related Errors:
21 - The object specified is not of the expected type. For example, a bundle is specified instead of a
device.
22 - The object could not be found.
23 - An object with the same name already exists in the specified folder.
24 - The object specified is in a different directory than the specified folder.
25 - A parent folder cannot be moved into its subfolder.
26 - The object is not renamable.
27 - The object is not deletable.
28 - Attempting to delete a non-empty folder.
29 - The object is already a member of the group.
30 - The object is not member of the group.
31 - The object is already assigned to the device or user.
32 - The object is not yet assigned to the device or user.
ZENworks Command Line Utilities
75
Need help?
Do you have a question about the ZENWORKS 10 CONFIGURATION MANAGEMENT SP3 - COMMAND LINE UTILITIES REFERENCE 10.3 30-03-2010 and is the answer not in the manual?