HTTP 503 error, service unavailable when trying to access CAPC

Document ID : KB000008183
Last Modified Date : 14/02/2018
Show Technical Document Details

After installing CAPM 3.2 on Redhat 7.3, you will see an HTTP 503 error, service unavailable when trying to access CAPC.


The following error is seems in DMService.log

ERROR | WrapperSimpleAppMain | 2017-09-20 11:00:01,788 | 

| Error: Initializing data source repository: nested exception is Connection refused 

ERROR | WrapperSimpleAppMain | 2017-09-20 11:00:01,925 | 

| Error refreshing attributes from database 

org.springframework.dao.DataAccessResourceFailureException: nested exception is Connection refused 


CAPM 3.2Redhat 7.3

Services starting out of order


To workaround this issue please restart services in the appropriate order

//Stop Services 

  1. systemctl stop caperfcenter_console 
  2. systemctl stop caperfcenter_devicemanager 
  3. systemctl stop caperfcenter_sso 
  4. systemctl stop caperfcenter_eventmanager 
  5. systemctl stop mysql 


//Start Services 

  1. systemctl start mysql 
  2. systemctl start caperfcenter_sso 
  3. systemctl start caperfcenter_devicemanager 
    • tail -f DMService.log for the following line: Started ServerConnector@59ad3ab7{HTTP/1.1,[http/1.1]}{} 
  4. Wait until you see Started ServerConnector@59ad3ab7{HTTP/1.1,[http/1.1]}{} 
  5. systemctl start caperfcenter_console 
  6. systemctl start caperfcenter_eventmanager 
Additional Information:

Issue could also be seen after a reboot of the system