DPA application service failed to start with error: FATAL: password authentication failed for user "apollouser"

           

   Article Number:     515586                                   Article Version: 3     Article Type:    Break Fix 
   

 


Product:

 

Data Protection Advisor

 

Issue:

 

 

   

      After DPA completly re-installed and datastore successfully imported, Datastore service is running whereas Application service will stop after started.          
         
          Examining the server log (server.log) and datastore.log (datastore-yyyy-mm-dd_nnnnnn.log) the following error is seen:         
          server.log         
          2017-12-18 18:26:42,963 ERROR [com.emc.apollo.services.startup.ApolloUpBean] (ServerService Thread Pool -- 58) Apollo master failed to start           
            2017-12-18 18:26:42,963 ERROR [com.emc.apollo.services.startup.ApolloUpBean] (ServerService Thread Pool -- 58) Stopping the server           
            2017-12-18 18:26:50,111 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] (ServerService Thread Pool -- 68) IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: Could not create connection           
            FATAL: password authentication failed for user "apollouser"
         
         
          datastore-yyyy-mm-dd_nnnnnn.log         
          2017-12-19 01:37:01.554 GMT 5856 5a386d3d.16e0 1 apollo:FATAL: password authentication failed for user "apollouser"           
            2017-12-19 01:37:01.554 GMT 5856 5a386d3d.16e0 2 apollo:DETAIL: Password does not match for user "apollouser".           
            Connection matched pg_hba.conf line 88: "host all apollouser 10.250.47.124/32 md5"
   

                                                             

 

 

Cause:

 

 

   

      The failure is caused by datastore password which introduced in DPA v6.3 and above version.          
          If the DPA App server and datastore are upgraded from v6.2.x to v6.3  or above version, there will be no option for you to set new datastore password during upgrade period, but for some reason, if the app server is re-installed after upgrade, app will require datastore password to connect to datastore.
     
          

                                                             

 

 

Resolution:

 

 

   

      The user will need to enter the correct datastore password on Application server via below command if there is already one:         
          dpa application dspassword         
         
          If the user does not know datastore password, below command can be run on Datastore server to reset it:         
          dpa datastore dspassword         
          Then run below command on Application server to enter the password:         
          dpa application dspassword         
         
          After inputting the datastore password, app service could be started successfully.