Hi team,
While restoring mongo db we facing bellow issue.
MongoDB: 4.4.18 version
PBM-agent : V 2.3.0
[root@drp00-mongodb01-test ec2-user]# pbm restore 2024-11-12T05:50:46Z --mongodb-uri="mongodb://admin:wzweda-123@drp00-mongodb01-test.dev.wzwedacloud.info:27017,drp00-mongodb02-test.dev.wzwedacloud.info:27017,drp00-mongodb03-test.dev.wzwedacloud.info:27017/?replicaSet=rs1" -w
Starting restore 2024-11-14T04:56:40.152000314Z from ‘2024-11-12T05:50:46Z’…Error: node.drp00-mongodb02-test.dev.wzwedacloud.info:27017 failed: 1731560201:check mongod binary: run: exec: “mongod”: executable file not found in $PATH. stderr:
- Restore on replicaset “rs1” in state: error: node.drp00-mongodb02-test.dev…info:27017 failed: 1731560201:check mongod binary: run: exec: “mongod”: executable file not found in $PATH. stderr:
`
PBM agent logs
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.dev.info:27017] got command restore [name: 2024-11-14T07:46:09.847573555Z, snapshot: 2024-11-12T05:50:46Z] <ts: 1731570369>
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.dev.info:27017] got command restore [name: 2024-11-14T07:46:09.847573555Z, snapshot: 2024-11-12T05:50:46Z] <ts: 1731570369>
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.devwzweda.info:27017] got epoch {1731416608 73}
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.devwzweda.info:27017] got epoch {1731416608 73}
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] backup: 2024-11-12T05:50:46Z
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] backup: 2024-11-12T05:50:46Z
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] recovery started
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] recovery started
2024-11-14T07:46:11Z E [rs1/drp00-mongodb02-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] restore: check mongod binary: run: exec: "mongod": executable file not found in $PATH. stderr:
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] moving to state starting
2024-11-14T07:46:11Z I [rs1/drp00-mongodb02-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] waiting for cluster
2024-11-14T07:46:16Z E [rs1/drp00-mongodb03-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] restore: move to running state: wait for cluster: cluster failed: 1731570370:check mongod binary: run: exec: "mongod": executable file not found in $PATH. stderr:
2024-11-14T07:46:16Z E [rs1/drp00-mongodb02-test.dev.wzweda.info:27017] [restore/2024-11-14T07:46:09.847573555Z] restore: move to running state: wait for cluster: cluster failed: 1731570370:check mongod binary: run: exec: "mongod": executable file not found in $PATH. stderr:
[root@drp00-mongodb01-test ec2-user]#