在尝试运行命令时
mongod --fork --logpath /var/log/mongodb.log
Run Code Online (Sandbox Code Playgroud)
在亚马逊ec2 32位实例(亚马逊Linux AMI版本2014.09)上,我遇到以下错误:
2015-02-18T18:14:09.007+0000
2015-02-18T18:14:09.007+0000 warning: 32-bit servers don't have journaling
enabled by default. Please use --journal if you want durability.
2015-02-18T18:14:09.007+0000
about to fork child process, waiting until server is ready for connections.
forked process: 17116
ERROR: child process failed, exited with error number 1
Run Code Online (Sandbox Code Playgroud)
我还注意到在此过程中没有创建日志文件.