2012-09-25 15:54
浏览 521

MongoDB Windows服务一次又一次地停止工作

Can somebody pleas help me to figure out MongoDb Service corruption on windows 7. whenever I reinstalled the service and all using logs correct syntax etc it worked perfectly at that time.

When I restarted my sytem after each reinstall of mongodB service it get stopped working. Don't know what is the issue in service after system restart it stops working with following error in log file

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"

Everything all paths I configured Like below:

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

Service stops working only after system restart.

图片转代码服务由CSDN问答提供 功能建议

有人请求帮我弄清楚Windows 7上的MongoDb服务损坏。 每当我重新安装服务并且全部使用 记录正确的语法等,它在那时工作得很好。

当我在每次重新安装mongodB服务后重新启动系统时,它会停止工作。 系统重启后不知道服务中的问题是什么,它在日志文件中停止使用以下错误

 由于以下原因无法检查日志文件:boost :: filesystem:  :basic_directory_iterator构造函数:系统找不到指定的路径:“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 

服务停止 仅在系统重启后才能工作。

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • doulao3078 2013-03-01 18:12

    You have to make sure that:
    1. There is a folder c:\data\db.
    2. There was not an unexpected shutdown of your computer.

    I solved such a problem by deleting all from c:\data\db :)

    解决 无用
    打赏 举报

相关推荐 更多相似问题