Error when add admin CentraSite using CentraSiteCommand.sh

Hello guys,

i’m using CentraSite 10.11

I got some trouble when creating admin user using CentraSiteCommand.sh

after i add domain configuration for ldap i need admin account for that domain, so i create admin account using CentraSiteCommand.sh but error

Any idea for this problem ?

Here’s the log :

2021-12-17 18:10:19,477    10931 [main]ERROR administration.adminuser.CreateAdminUserCommand [] - java.lang.SecurityException: access not granted for user LDAPDOMAIN\LDAPMIN
2021-12-17 18:10:19,486    10940 [main]ERROR administration.cli.CentrasiteCommand [] - CS Admin user ldapmin not created
com.softwareag.centrasite.administration.exception.CommandException: CS Admin user ldapmin not created
        at com.softwareag.centrasite.administration.adminuser.CreateAdminUserCommand.execute(CreateAdminUserCommand.java:83) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.cli.CentrasiteCommand.executeCommand(CentrasiteCommand.java:101) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.cli.CentrasiteCommand.main(CentrasiteCommand.java:60) [CentraSiteCommand.jar:?]
Caused by: java.lang.SecurityException: access not granted for user LDAPDOMAIN\LDAPMIN
        at com.softwareag.centrasite.administration.adminuser.AdminUserCreator.isAccessGranted(AdminUserCreator.java:178) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.adminuser.AdminUserCreator.createAdminUser(AdminUserCreator.java:115) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.adminuser.CreateAdminUserCommand.execute(CreateAdminUserCommand.java:74) ~[CentraSiteCommand.jar:?]
        ... 2 more
Caused by: com.softwareag.tamino.db.api.accessor.TXQueryException: Authorization failed. Invalid userId and password!
        at com.softwareag.tamino.db.api.accessor.TStreamAccessorImpl.xquery(TStreamAccessorImpl.java:1232) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.xquery(TXMLObjectAccessorImpl.java:265) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.centrasite.administration.adminuser.AdminUserCreator.isAccessGranted(AdminUserCreator.java:160) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.adminuser.AdminUserCreator.createAdminUser(AdminUserCreator.java:115) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.adminuser.CreateAdminUserCommand.execute(CreateAdminUserCommand.java:74) ~[CentraSiteCommand.jar:?]
        ... 2 more
Caused by: com.softwareag.tamino.db.api.invocation.TInvocationRetryHandlerException: Retry after invoke failed.
        at com.softwareag.tamino.db.api.invocation.TAbstractInvocation.retryAfterInvoke(TAbstractInvocation.java:488) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.invocation.TAbstractInvocation.doTemplateInvoke(TAbstractInvocation.java:375) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.invocation.TAbstractInvocation.invoke(TAbstractInvocation.java:133) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.accessor.TAbstractAccessor.invoke(TAbstractAccessor.java:281) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.accessor.TStreamAccessorImpl.xquery(TStreamAccessorImpl.java:1230) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.xquery(TXMLObjectAccessorImpl.java:265) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.centrasite.administration.adminuser.AdminUserCreator.isAccessGranted(AdminUserCreator.java:160) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.adminuser.AdminUserCreator.createAdminUser(AdminUserCreator.java:115) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.adminuser.CreateAdminUserCommand.execute(CreateAdminUserCommand.java:74) ~[CentraSiteCommand.jar:?]
        ... 2 more
Caused by: com.softwareag.tamino.db.api.invocation.TAuthorizationException: Authorization failed. Invalid userId and password!
        at com.softwareag.tamino.db.api.invocation.http.THTTPInvocation.verifyAuthorizationResult(THTTPInvocation.java:545) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.invocation.http.THTTPInvocation.doInvokeReal(THTTPInvocation.java:207) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.invocation.http.THTTPInvocation.doInvoke(THTTPInvocation.java:140) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.invocation.TAbstractInvocation.doTemplateInvoke(TAbstractInvocation.java:369) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.invocation.TAbstractInvocation.invoke(TAbstractInvocation.java:133) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.accessor.TAbstractAccessor.invoke(TAbstractAccessor.java:281) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.accessor.TStreamAccessorImpl.xquery(TStreamAccessorImpl.java:1230) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.tamino.db.api.accessor.TXMLObjectAccessorImpl.xquery(TXMLObjectAccessorImpl.java:265) ~[TaminoAPI4J.jar:9.0.0.0000-0144]
        at com.softwareag.centrasite.administration.adminuser.AdminUserCreator.isAccessGranted(AdminUserCreator.java:160) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.adminuser.AdminUserCreator.createAdminUser(AdminUserCreator.java:115) ~[CentraSiteCommand.jar:?]
        at com.softwareag.centrasite.administration.adminuser.CreateAdminUserCommand.execute(CreateAdminUserCommand.java:74) ~[CentraSiteCommand.jar:?]
        ... 2 more
^C
[administrator@ISCCRWebMetHods137190 log]$

Thanks,
Dimas

Hi Dimas,
Are you still facing this issue?

No, this issue has fixed

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.