有人可以请帮助我找出 Windows 7 上的 MongoDb 服务损坏。每当我重新安装服务并且所有使用日志正确的语法等时,它都可以完美运行。
当我在每次重新安装 mongodB 服务后重新启动我的系统时,它就会停止工作。不知道系统重新启动后服务中的问题是什么,它停止工作并在日志文件中出现以下错误
Unable to check for journal files due to: boost::filesystem::basic_directory_iterator constructor: The system cannot find the path specified: "f:\server\mongodb\mongodb-win32-i386-2.2.0\data\db\journal"
我配置的所有路径如下:
mongod.exe --install --config f:\server\mongodb\mongodb-win32-i386-2.2.0\conf\mongodb.conf --logpath f:\server\mongodb\mongodb-win32-i386-2.2.0\logs\mongodb.log
服务仅在系统重新启动后才停止工作。