Invalid Administrator Credentials when Registering Second AdminUI

Document ID : KB000074559
Last Modified Date : 23/03/2018
Show Technical Document Details
Issue:
I have installed new R12.7 SP01 policy server. I am trying to register adminui and getting below error:
 
33203/140136251647744][Wed Mar 21 2018 10:54:03][SmObjStore.cpp:1025][INFO][sm-Server-00070] Object store journal thread started
[33203/140136251647744][Wed Mar 21 2018 10:54:03][SmObjStore.cpp:1026][INFO][sm-Server-00080] Journal commands refresh interval is 60 second(s)
[33203/140136251647744][Wed Mar 21 2018 10:54:03][SmObjStore.cpp:1027][INFO][sm-Server-00090] Server command synchronization delta is 51 second(s)
[33203/140136251647744][Wed Mar 21 2018 10:54:03][SmObjStore.cpp:1028][INFO][sm-Server-05250] Secondary cache failure timeout is 0 second(s)
[33203/140136871946048][Wed Mar 21 2018 10:54:03][Database.cpp:666][InitDB][INFO][sm-xpsxps-00120] Initializing XPS Version 12.7.0100.1437
[33203/140136871946048][Wed Mar 21 2018 10:54:03][XPSLDAP.cpp:806][CreateRoot][INFO][sm-xpsxps-01160] LDAP Provider Info String = Sun-Directory-Server/11.1.1.7.0 B2013.0109.2015
[33203/140136871946048][Wed Mar 21 2018 10:54:03][XPSIO.cpp:470][InitialLoad][INFO][sm-xpsxps-00560] Database Transactions are 0.
[33203/140136871946048][Wed Mar 21 2018 10:54:03][XPSIO.cpp:497][InitialLoad][INFO][sm-xpsxps-00300] 1 Parameter(s) loaded from Policy Store, 1 total.
[33203/140136871946048][Wed Mar 21 2018 10:54:03][XPSIO.cpp:502][InitialLoad][INFO][sm-xpsxps-00330] Caching Policy Data...
[33203/140136871946048][Wed Mar 21 2018 10:54:05][XPSIO.cpp:521][InitialLoad][INFO][sm-xpsxps-00310] 8612 object(s) loaded from the Policy Store.
[33203/140136871946048][Wed Mar 21 2018 10:54:05][XPSIO.cpp:585][SetPolicyStoreID][INFO][sm-xpsxps-00430] Policy Store ID is "61277ace-fa85-4844-a770-430153f21284".
[33203/140136871946048][Wed Mar 21 2018 10:54:05][XPSAudit.cpp:705][GetXPSAudit][INFO][sm-xpsxps-06870] XPS Auditing is enabled.
[33203/140136871946048][Wed Mar 21 2018 10:54:05][Database.cpp:723][InitDB][INFO][sm-xpsxps-03460] No validation warnings will be logged (controlled by CA.XPS::$LogValidationWarnings).
[33203/140136871946048][Wed Mar 21 2018 10:54:05][XPSIO.cpp:2089][MergeSmAndXPS][INFO][sm-xpsxps-00150] XPS Initialized. (3819, 0, 0)
[33203/140136871946048][Wed Mar 21 2018 10:54:05][XPS.cpp:907][Init][INFO][sm-xpsxps-00150] XPS Initialized.
[33203/140136871946048][Wed Mar 21 2018 10:54:06][FedInterface.cpp:696][PostInitialize][INFO][sm-xobfed-02577] Successfully loaded smobjadapter.
[33203/140136871946048][Wed Mar 21 2018 10:54:06][XPSRegClient.cpp:638][XPSRegClient][FATAL][sm-xpsxps-04670] Invalid administrator credentials.
[33203/140136871946048][Wed Mar 21 2018 10:54:06][XPS.cpp:719][Shutdown][INFO][sm-xpsxps-00160] Shutting down XPS...
[33203/140136871946048][Wed Mar 21 2018 10:54:06][XPS.cpp:732][Shutdown][INFO][sm-xpsxps-00170] Shutting down XPS housekeeping...
[33203/140136871946048][Wed Mar 21 2018 10:54:06][XPS.cpp:739][Shutdown][INFO][sm-xpsxps-00160] Shutting down XPS...
[33203/140136871946048][Wed Mar 21 2018 10:54:06][XPS.cpp:756][Shutdown][INFO][sm-xpsxps-00210] Releasing SiteMinder object store connection to XPS...
[33203/140136871946048][Wed Mar 21 2018 10:54:06][XPS.cpp:797][Shutdown][INFO][sm-xpsxps-00180] Releasing XPS configuration cache...
[33203/140136871946048][Wed Mar 21 2018 10:54:06][XPS.cpp:800][Shutdown][INFO][sm-xpsxps-00240] XPS Shutdown Complete.
Cause:
During the first AdminUI registration against a policy server the -adminui-setup argument must be used with the XPSRegClient command.  The username:password provided needs to match an existing SM administrator's credentials.  When registering additional AdminUI instances, the -adminui argument is used with XPSRegClient (omit the -setup).  Instead of providing existing credentials this time, the command will be creating a one-time use account in the policy store using the credentials you provide in the XPSRegClient command, so you need to pick a unique value for the username.  You must use these newly created credentials the first time you log into the new AdminUI instance to complete the registration.   
Resolution:
Use -adminui rather than -adminui-setup with the XPSRegClient command when registering additional AdminUI instances with a policy server.  
Additional Information:
In a multi-policy server environment, make sure each policy server is using the same encryption key, otherwise it may be impossible to register and/or log into AdminUI instances.