找回密码
 立即注册
CeraNetworksBGVM服务器主机交流IP归属甄别会员请立即修改密码
查看: 60|回复: 9

mongodb 无法启动 求助

[复制链接]

7

主题

154

回帖

463

积分

中级会员

积分
463
发表于 2021-12-2 19:22:17 | 显示全部楼层 |阅读模式
本帖最后由 okfans 于 2021-12-3 07:41 编辑

前面小弟碰到问题 服务器启动了, 发现 mongodb 无法启动  试过网上的方法都不行  求大佬出招

日志
{"t":{"$date":"2021-12-03T07:31:01.616+08:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.6","gitVersion":"72e66213c2c3eab37d9358d5e78ad7f5c1d0d0d7","openSSLVersion":"OpenSSL 1.0.1e-fips 11 Feb 2013","modules":[],"allocator":"tcmalloc","environment":{"distmod":"rhel70","distarch":"x86_64","target_arch":"x86_64"}}}}
{"t":{"$date":"2021-12-03T07:31:01.616+08:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"CentOS Linux release 7.9.2009 (Core)","version":"Kernel 4.9.215-36.el7.x86_64"}}}
{"t":{"$date":"2021-12-03T07:31:01.616+08:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"config":"/www/server/mongodb/config.conf","net":{"bindIp":"127.0.0.1","port":27017},"processManagement":{"fork":true,"pidFilePath":"/www/server/mongodb/log/configsvr.pid"},"security":{"authorization":"disabled","javascriptEnabled":false},"storage":{"dbPath":"/www/server/mongodb/data","directoryPerDB":true,"journal":{"enabled":true}},"systemLog":{"destination":"file","logAppend":true,"path":"/www/server/mongodb/log/config.log"}}}}
{"t":{"$date":"2021-12-03T07:31:01.616+08:00"},"s":"E",  "c":"NETWORK",  "id":23024,   "ctx":"initandlisten","msg":"Failed to unlink socket file","attr":{"path":"/tmp/mongodb-27017.sock","error":"Operation not permitted"}}
{"t":{"$date":"2021-12-03T07:31:01.616+08:00"},"s":"F",  "c":"-",        "id":23091,   "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":40486,"file":"src/mongo/transport/transport_layer_asio.cpp","line":919}}
{"t":{"$date":"2021-12-03T07:31:01.616+08:00"},"s":"F",  "c":"-",        "id":23092,   "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"}

搜索了一堆试过了
回复

使用道具 举报

52

主题

102

回帖

860

积分

高级会员

积分
860
发表于 2021-12-2 19:22:55 | 显示全部楼层
什么都看不到 mjj咋帮
回复

使用道具 举报

7

主题

154

回帖

463

积分

中级会员

积分
463
 楼主| 发表于 2021-12-2 19:27:49 | 显示全部楼层

啦啦 发表于 2021-12-2 19:22

什么都看不到 mjj咋帮

服务器非正常关闭  mongodb 无法启动  求助
回复

使用道具 举报

62

主题

424

回帖

1372

积分

金牌会员

积分
1372
发表于 2021-12-2 19:22:00 | 显示全部楼层
发下日志看看
回复

使用道具 举报

19

主题

130

回帖

741

积分

高级会员

积分
741
发表于 2021-12-2 19:28:25 | 显示全部楼层
我猜pid socket 类似没清除吧
回复

使用道具 举报

7

主题

154

回帖

463

积分

中级会员

积分
463
 楼主| 发表于 2021-12-2 19:37:03 | 显示全部楼层

sunny_SHEN 发表于 2021-12-2 19:37

我猜pid socket 类似没清除吧

好像有进程
回复

使用道具 举报

lewis2 该用户已被删除
发表于 2021-12-2 20:03:57 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

7

主题

154

回帖

463

积分

中级会员

积分
463
 楼主| 发表于 2021-12-2 19:37:00 | 显示全部楼层

lewis2 发表于 2021-12-2 20:07

https://blog.csdn.net/baidu_34331290/article/details/83544988
可以参考下。

参考了 还是无法启动
回复

使用道具 举报

7

主题

154

回帖

463

积分

中级会员

积分
463
 楼主| 发表于 2021-12-2 20:07:57 | 显示全部楼层

qshng 发表于 2021-12-2 19:28

发下日志看看

大佬帮忙看一下
回复

使用道具 举报

1

主题

26

回帖

77

积分

注册会员

积分
77
发表于 2021-12-2 20:19:56 | 显示全部楼层
本帖最后由 wgetrc 于 2021-12-3 08:30 编辑

/tmp/mongodb-27017.sock","error":"Operation not permitted"
rm /tmp/mongodb-27017.sock 或者
chown mongodb:mongodb /tmp/mongodb-27017.sock
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|HS2V主机综合交流论坛

GMT+8, 2024-5-1 17:46 , Processed in 0.156437 second(s), 9 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表