1. 查看mongo状态(未解决)
- 导致的原因,我修改了
/etc/mongod.conf
root@redis01:/var/log/mongodb# sudo systemctl status mongod
● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Sun 2022-05-01 10:06:59 CST; 10min ago
Docs: https://docs.mongodb.org/manual
Main PID: 24829 (code=dumped, signal=ABRT)
5月 01 10:06:58 redis01 systemd[1]: Started MongoDB Database Server.
5月 01 10:06:59 redis01 systemd[1]: mongod.service: Main process exited, code=dumped, status=6/ABRT
5月 01 10:06:59 redis01 systemd[1]: mongod.service: Failed with result 'core-dump'.