免责声明:该文章是我个人的学习记录,仅供个人记录使用,记录的内容经过验证,在记录时是可用的,但不保证永久可用。
centos7安装Mongodb后启动报错,根据提示查看,错误信息如下:
[root@controller ~]# systemctl status mongod.service
● mongod.service - High-performance, schema-free document-oriented database
Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2020-06-22 11:05:09 CST; 1min 10s ago
Process: 200429 ExecStart=/usr/bin/mongod $OPTIONS run (code=exited, status=1/FAILURE)
Main PID: 192308 (code=exited, status=0/SUCCESS)
Jun 22 11:05:09 controller systemd[1]: Starting High-performance, schema-free document-oriented database...
Jun 22 11:05:09 controller mongod[200429]: about to fork child process, waiting until server is ready for con
Jun 22 11:05:09 controller mongod[200429]: forked process: 200436
Jun 22 11:05:09 controller mongod[200429]: ERROR: child process fail