Sun OpenSSO Enterprise 8.0 Administration Reference

amadmin Error Codes

The following table describes the error codes generated by the amadmin command line tool to OpenSSO Enterprise’s debug file.

Table 9–5 amadmin error codes

Code 

Description/Probable Cause 

Action 

Too few arguments. 

Make sure that the mandatory arguments (--runasdn, --password, --passwordfile, --schema, --data, and --addattributes) and their values are supplied in the command line.

The input XML file was not found. 

Check the syntax and make sure that the input XML is valid. 

The user DN for the --runasdn value is missing.

Provide the user DN as the value for --runasdn.

The service name for the --deleteservice value is missing.

Provide the service name as the value for --deleteservice.

The password for the --password value is missing.

Provide the password as the value for --password.

The locale name was not provided. The locale will default to en_US. 

See the Online Help for a list of locales. 

Missing XML input file. 

Provide at least one input XML filename to process. 

One or more arguments are incorrect. 

Check that all arguments are valid. For a set of valid arguments, type amadmin --help.

Operation failed. 

When amadmin fails, it produces more precise error codes to indicate the specific error. Refer to those error codes to evaluate the problem.

10 

Cannot process requests. 

When amadmin fails, it produces more precise error codes to indicate the specific error. Refer to those error codes to evaluate the problem.

12 

Policy cannot be created. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

13 

Policy cannot be deleted. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

14 

Service cannot be deleted. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

15 

Cannot authenticate user. 

Make sure the user DN and password are correct. 

16 

Cannot parse the input XML file. 

Make sure that the XML is formatted correctly and adheres to the amAdmin.dtd .

17 

Cannot parse due to an application error or a parser initialization error. 

Make sure that the XML is formatted correctly and adheres to the amAdmin.dtd .

18 

Cannot parse because a parser with specified options cannot be built. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

19 

Cannot read the input XML file. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

20 

Cannot parse because the XML file is not a valid file. 

Check the syntax and make sure that the input XML is valid. 

21 

Cannot parse because the XML file is not a valid file. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

22 

XML file validation warnings for the file. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

23 

Cannot process the XML file. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

24 

Neither --data or --schema options are in the command.

Check that all arguments are valid. For a set of valid arguments, type amadmin --help.

25 

The XML file does not follow the correct DTD. 

Check the XML file for the DOCTYPE element.

26 

LDAP Authentication failed due to invalid DN, password, hostname, or portnumber. 

Make sure the user DN and password are correct. 

28 

Service Manager exception (SSO exception). 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

29 

Service Manager exception. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

30 

Schema file inputstream exception. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

31 

Policy Manager exception (SSO exception). 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

32 

Policy Manager exception. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

33 

More than one debug option is specified. 

Only one debug option should be specified. 

34 

Login failed. 

amadmin produces exception messages to indicate the specific error. Refer to those messages to evaluate the problem.

36 

Invalid attribute value. 

Check the level set for the LDAP search. It should be either SCOPE_SUB or SCOPE_ONE.

37 

Error in getting object type. 

Make sure that the DN in the XML file is value and contains the correct object type. 

38 

Invalid organization DN. 

Make sure that the DN in the XML file is valid and is an organization object. 

39 

Invalid role DN. 

Make sure that the DN in the XML file is valid and is a role object. 

40 

Invalid static group DN. 

Make sure that the DN in the XML file is valid and is a static group object. 

41 

Invalid people container DN. 

Make sure the DN in the XML file is valid and is a people container object. 

42 

Invalid organizational unit DN. 

Make sure that the DN in the XML file is valid and is a container object. 

43 

Invalid service host name. 

Make sure that the hostname for retrieving valid sessions is correct. 

44 

Subschema error. 

Subcschema is only supported for global and organization attributes. 

45 

Cannot locate service schema for service. 

Make sure that the sub schema in the XML file is valid. 

46 

The role template can be true only if the schema type is dynamic. 

Make sure that the role template in the XML file is valid. 

47 

Cannot add users to a filtered role. 

Made sure that the role DN in the XML file is not a filtered role. 

48 

Template does not exist. 

Make sure that the service template in the XML file is valid. 

49 

Cannot add users to a dynamic group. 

Made sure that the group DN in the XML file is not a dynamic group. 

50 

Policies can not be created in an organization that is a child organization of a container. 

Make sure that the organization in which the policy is to be created is not a child of a container. 

51 

The group container was not found. 

Create a group container for the parent organization or container. 

52 

Cannot remove a user from a filtered role. 

Make sure that the role DN in the XML file is not filtered role. 

53 

Cannot remove users from a dynamic group. 

Make sure that the group DN in the XML file is not a dynamic group. 

54 

The subschema string does not exist. 

Make sure that the subschema string exists in the XML file. 

     

59 

You are trying to add user to an organization or container. And default people container does not exists in an organization or container. 

Make sure the default people container exists. 

60 

Default URL prefix is not found following --defaultURLPrefix argument 

provide the default URL prefix accordingly. 

61 

Meta Alias is not found following --metaalias argument 

provide the Meta Alias accordingly. 

62 

Entity Name is not specified. 

provide the entity name. 

63 

File name for importing meta data is missing. 

provide the file name that contains meta data. 

64 

File name for storing exported meta data is missing. 

provide the file name for storing meta data. 

65 

Unable to get a handler to Meta attribute. Specified user name and password may be incorrect. 

ensure that user name and password are correct. 

66 

Missing resource bundle name when adding, viewing or deleting resource bundle that is store in directory server. 

provide the resource bundle name 

67 

Missing file name of file that contains the resource strings when adding resource bundle to directory server. 

Please provide a valid file name. 

68 

Failed to load liberty meta to Directory Server. 

Please check the meta data again before loading it again