centos7 mongodb无法启动

 mobiledu2502858253 发布于 2022-10-25 09:05

安装mongodb成功后,可以成功启动。

因为一开始对mongodb不了解,造成账号密码设置有误,忘记账号密码

根据网络上的方法,关闭mongodb,并使用auth=false的方式启动

但,关闭mongodb后,就无法正常启动了

下面给出报错信息

[xxx@localhost mongodb]$ ./bin/mongod --dbpath=./db --logpath=./log 
--logappend  --port=28017 --fork --repair

about to fork child process, waiting until server is ready for connections.
forked process: 5458
ERROR: child process failed, exited with error number 1

找不到解决方法?求!

或者可以有彻底清除mongodb,重新安装一遍也可以。 我之前清除 好像清除不干净,重新安装之后依然无法正常启动

先谢谢各位了!

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有