Troubleshooting
Problem
How do I resolve the error, "Failed to subscribe to topic pcmd"?
Symptom
Example error message:
Feb 01 16:09:50 2018 ERROR [main] pcmd - Failed to subscribe to topic pcmd due to: Durable consumer is in use for client: pcmd_hn1_1099 and subscriptionName: LogMgr
Feb 01 16:09:50 2018 ERROR [main] pcmd -
......
Cause
This issue happens when the pcmd service starts and connects to ActiveMQ. This is an ActiveMQ problem, not a PCMD problem.
Resolving The Problem
To resolve this issue, restarting ActiveMQ alone does not resolve the issue.
Resolution procedure:
1. If HA is enabled, change HA failover mode to manual
#pcmhatool failmode -m manual
2. Stop the ACTIVEMQ service and PCMD service
#pcmadmin service stop --service PCMD
#pcmadmin service stop --service ACTIVEMQ
3. Backup and then delete the below file
/opt/pcm/activemq/data/kahadb/db.data
4. Start the ACTIVEMQ service and PCMD service
#pcmadmin service start --service ACTIVEMQ
#pcmadmin service start --service PCMD
5. Check hpc service status
#pcmhatool check
6. Change HA failover mode back to auto (optional)
#pcmhatool failmode -m auto
Was this topic helpful?
Document Information
Modified date:
23 June 2018
UID
isg3T1026982