Unable to start APM Command Center Server after migrated it to another location

Document ID : KB000113648
Last Modified Date : 12/09/2018
Show Technical Document Details
Introduction:
The APM Command Center server(ACC) crashed because filesystem reached 100%
I have moved the entire ACC folder to another new filesystem but unable to start the process

In the apmccsrv.log I see the below exception related to the ActiveMQ.
...
ERROR 13241 [WrapperListener_start_runner] --- o.apache.activemq.broker.BrokerService   : Failed to start Apache ActiveMQ ([msg-broker, null], {})
 
java.lang.NullPointerException: null
               at org.apache.activemq.store.kahadb.disk.util.LinkedNode.isTailNode(LinkedNode.java:68)
               at org.apache.activemq.store.kahadb.disk.util.LinkedNode.getNext(LinkedNode.java:48)
               at org.apache.activemq.store.kahadb.disk.journal.Journal.getNextLocation(Journal.java:840)
               at org.apache.activemq.store.kahadb.MessageDatabase.getNextInitializedLocation(MessageDatabase.java:1041)
               at org.apache.activemq.store.kahadb.MessageDatabase.getRecoveryPosition(MessageDatabase.java:1033)
               at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:666)
               at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:464)
               at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:483)
               at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:297)
               at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:216)
               at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
               at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.doStart(KahaDBPersistenceAdapter.java:223)
               at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)
               at org.apache.activemq.broker.BrokerService.doStartPersistenceAdapter(BrokerService.java:674)
               at org.apache.activemq.broker.BrokerService.startPersistenceAdapter(BrokerService.java:658)
               at org.apache.activemq.broker.BrokerService.start(BrokerService.java:622)
               at com.ca.apm.acc.configserver.msg.BrokerServiceBean.start(BrokerServiceBean.java:395)
               at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)
               at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:50)
               at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)
               at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)
               at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112)
               at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:880)
               at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:144)
               at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
               at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
               at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
               at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
               at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
               at com.ca.apm.acc.configserver.Application.start(Application.java:215)
               at org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4284)
Question:
How can I fix the issue without losing the packages and bundles configurations?
 
Environment:
ACC 10.x
Answer:
1. Backup and delete the entire content of the activemq-data directory in ACC folder.
2. Start ACC server
 
Additional Information:
https://comm.support.ca.com/kb/_acc-command-center-server-stops-working-persistent-store-is-full/KB000109925