Article ID: 67567
Article Type: Troubleshooting
Last Modified:
Performing a restore operation with the Stop MongoDB service check box selected fails to stop the MongoDB server automatically and remove existing data on a destination cluster.
When you perform a restore operation with the Stop MongoDB service check box selected, the MongoDB server fails to stop automatically and remove existing data on a destination cluster with the following error:
Error Code: [7:283] Description: Unable to stop MongoDB services and remove the existing data on destination cluster [inst]. Check MongoDB.log on client for further details. Verify the restore options and resubmit the restore job. Source: mongoclient, Process: MongoDB
CVMongoDBUtil.log 22647 5877 03/31 17:25:58 ### MongoDbIDA::MongoDbConnection::Connect(692) - Reusing existing connection to [mongoclient:27099] 22647 5877 03/31 17:25:58 ### MongoDbIDA::MongoDbConnection::RunCommand(750) - database:[admin], command:[{"shutdown":1, "force": true}], slaveOK:[true] 22647 5877 03/31 17:25:58 ### MongoDbIDA::MongoDbConnection::Impl::RunCommand(321) - [Run admin command failed, error message: [shutdown must run from localhost when running db without auth]]
The error occurs for the following reasons:
Manually shut down the MongoDB server, clean up the dbPath, and then resubmit the restore job.