Setup Common Appliance Platform' with the error messages:Failed to stop cap-workflow-engine.service: Transport endpoint is not connected See system logs and 'systemctl status cap-workflow-engine.service' for details.VMware Cloud Foundation 9.1.x
The workflow.db file serves as the local state database for the Common Appliance Platform (CAP) workflow engine, recording the execution context and status of active lifecycle tasks. The failure occurs because this database file becomes corrupted, locked by a stale process, or enters an inconsistent transactional state.
To fix the issue:
vcf account and then switch to root account with 'su' command.mv /storage/lifecycle/capengine/workflow.db /root/workflow.db/storage/lifecycle/capengine/