Error when starting pbm agent : Exit: setup pbm collections: ensure lock index on pbmLockOp

Hello Community

I have an error when starting an pbm agent v2.6.0 on RHEL8 that says :

"Nov 18 16:32:23 hostname16 pbm-agent[30439]: 2024/11/18 16:32:23 Exit: setup pbm collections: ensure lock index on pbmLockOp: (DuplicateKey) Index build failed: 9a03f1be>
Nov 18 16:32:23 hostname16 systemd[1]: pbm-agent.service: Main process exited, code=exited, status=1/FAILURE
Nov 18 16:32:23 hostname16 systemd[1]: pbm-agent.service: Failed with result ‘exit-code’.
"
Couldn’t find any reference to the problem. This agent is on a 5 nodes replica set, all agents on other nodes are fine.

Thanks for the assist,

Hi, it looks like you have a leftover lock from a previous failed operation I assume. Check inside admin database the pbmLockOp collection and remove any documents there before retrying.

1 Like