amadmin: error Unable to create template

Create service templates:

Error 10: Cannot process requests:

Unable to create template.

-> this is the error message I receive for every registred service when running this request to amadmin:

<Requests>

<OrganizationRequests DN="dc=example,dc=com">

<CreateServiceTemplate>

<Service_Name>ExampleService</Service_Name>

</CreateServiceTemplate>

</OrganizationRequests>

</Requests>

Any ideas? I have AM7 in legacy mode.

[548 byte] By [BakSAj] at [2007-11-13]
# 1
did you register the service first?
AaronAnderon at 2007-7-5 > top of java,Web & Directory Servers,Directory Servers...
# 2
as I said, I registred the service first
BakSAj at 2007-7-5 > top of java,Web & Directory Servers,Directory Servers...
# 3
set debug.level=message if you haven't set soand add -v option to amadmin commandYou should be able to get more info from debug logs in /var/opt/SUNWam/debug
ericow at 2007-7-5 > top of java,Web & Directory Servers,Directory Servers...
# 4

even with debug.level=message im not able to see anything interesting in debug logs.. but i found some missing objects errors in DS access log:

[20/Mar/2006:11:58:26 +0100] conn=4402 op=139 msgId=152 - SRCH base="ou=default,ou=organizationconfig,ou=1.0,ou=sunidentityrepositoryservice,o u=services,dc=ami,dc=cz" scope=0 filter="(|(objectClass=*)(objectClass=ldapsubentry))" attrs="ou sunserviceschema sunpluginschema sunkeyvalue sunxmlkeyvalue objectClass sunsmspriority sunserviceid labeledUri modifyTimestamp" authzid="dn:cn=dsameuser,ou=DSAME Users,dc=ami,dc=cz"

[20/Mar/2006:11:58:26 +0100] conn=4402 op=139 msgId=152 - RESULT err=32 tag=101 nentries=0 etime=0

[20/Mar/2006:11:58:26 +0100] conn=4402 op=140 msgId=153 - SRCH base="ou=default,ou=organizationconfig,ou=1.0,ou=sunidentityrepositoryservice,o u=services,dc=ami,dc=cz" scope=1 filter="(&(objectClass=top)(ou=*))" attrs="ou" authzid="dn:cn=dsameuser,ou=DSAME Users,dc=ami,dc=cz"

[20/Mar/2006:11:58:26 +0100] conn=4402 op=140 msgId=153 - RESULT err=32 tag=101 nentries=0 etime=0

[20/Mar/2006:11:58:27 +0100] conn=4402 op=150 msgId=163 - SRCH base="ou=default,ou=organizationconfig,ou=1.0,ou=iplanetampolicyconfigservice,o u=services,o=sunamhiddenrealmdelegationservicepermissions,ou=services,dc=ami,dc= cz" scope=0 filter="(|(objectClass=*)(objectClass=ldapsubentry))" attrs="ou sunserviceschema sunpluginschema sunkeyvalue sunxmlkeyvalue objectClass sunsmspriority sunserviceid labeledUri modifyTimestamp" authzid="dn:cn=dsameuser,ou=DSAME Users,dc=ami,dc=cz"

[20/Mar/2006:11:58:27 +0100] conn=4402 op=150 msgId=163 - RESULT err=32 tag=101 nentries=0 etime=0

BakSAj at 2007-7-5 > top of java,Web & Directory Servers,Directory Servers...