Technical article 127997

What are the error codes from `brand` or `scoadmin license manager`?

OpenServer 6UnixWare 7

Written · Last revised

Problem

What do the error codes from `brand` indicate?

Solution

Use the exit codes below to translate the brand errors:

ERR_NONE   	 0	 No error - success
ERR_WRONGMD5	-1	 Incorrect MD5 sum passed
ERR_NOFILE 	-2	 Nodelock file doesn't exist
ERR_NOMEM  	-3	 Storage allocation failure
ERR_NOPARENT	-4	 Bundled license has no parent
ERR_NOMATCH	-5	 Specified license doesnt exist
ERR_NOLICS 	-6	 No licenses to work with
ERR_NODFLTDB	-7	 No default license db was found
ERR_NOSERNO	-8	 No such serial number
ERR_NOITER 	-9	 Cant be used during iteration
ERR_CORRUPT	-10	 Nodelock file is corrupt
ERR_CANTREAD	-11	 Can't read nodelock file - perms?
ERR_CANTSAVE	-12	 Cant open data for writing
ERR_CANTBACKUP	-13	 Couldn't backup data file
ERR_CANTLOCK	-14	 Couldn't get file lock
ERR_EMPTY  	-15	 Nodelock file is empty
ERR_EXPIRED	-16	 License has expired
ERR_INACTIVE	-17	 License hasnt started yet
ERR_MANY   	-18	 Many licenses satisfy criteria
ERR_DUPLICATE	-19	 License already exists
ERR_REGISTERED	-20	 License already registered
ERR_NOOS   	-21	 Nodelock file doesnt have OS lic
ERR_TOOMANYOSES	-22	 Multiple OS licenses exist
ERR_VERIFYFAIL	-23	 Nodelock sanity checks failed
ERR_DUPNODELOCK	-24	 Nodelock file has handle already
ERR_INVHANDLE	-25	 Invalid nodelock file handle
ERR_DUPLICHANDLE   -26	 License already has handle
ERR_INVLICHANDLE   -27	 Invalid license handle
ERR_DUPDEFHANDLE   -28	 Defaults handle already exists
ERR_BADPRODID	-29	 Bad product ID specified
ERR_BADVER 	-30	 Bad version string
ERR_BADSERNO	-31	 Bad serial number specified
ERR_BADTYPE	-32	 Bad license type specified
ERR_BADDATE	-33	 Bad date specified
ERR_BADCODE	-34	 Bad license code provided
ERR_BADTHIRD	-35	 Bad third line specified
ERR_BADVALUE	-36	 Bad parameter value
ERR_BADFLAG	-37	 Bad license flag specified
ERR_BADANNOTINT	-38	 Invalid annotation integer
ERR_BADANNOTSTR	-39	 Invalid annotation string
ERR_BADDESC	-40	 Invalid license description
ERR_BADBITSTRING   -41	 Bad bitstring handle passed
ERR_BADFLAGSTRING  -42	 Bad flagstring handle passed
ERR_BADDURATION	-43	 Bad duration specified
ERR_UNSUPTYPE	-44	 Unsupported lic type found
ERR_CHECKEDOUT	-45	 License has handle checked out
ERR_NOTVERIFIED	-46	 Nodelock file not verified
ERR_NOTSET 	-47	 Attribute not set
ERR_NOTCONTAINER   -48	 License not a container license
ERR_NOTINT 	-49	 Cant be expressed as an integer
ERR_IFORFAILURE	-50	 Internal Gradient failure
ERR_DEPMISSING_H   -51	 Dependent 'h' license missing
ERR_DEPMISSING_L   -52	 Dependent 'l' license missing
ERR_DEPMISSING_R   -53	 Dependent 'r' license missing
ERR_DEPMISSING_K   -54	 Dangling registration license
ERR_DURCHECK	-55	 Duration license already used
ERR_NOTSUPPORTED   -56	 API call not supported yet
ERR_ALREADYSET	-57	 OID already set `
The 'Dependent license missing' errors 51-53, indicate that the license being added is missing a dependency license.  For example:
An upgrade license without the previous version license.  Upgrade licenses are only valid when accompanied by the license they are upgrading from.
A renewal license without the previous timed license (which may have expired). Renewal license depend on the previous license.  Expired licenses should not be removed.

From the Xinuos technical article database, record 127997. Reproduced with permission. The original is at www.sco.com/ta/127997, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.