小编Xeo*_*oss的帖子

MongoDB 今天突然停止工作(12.04)

一两个月前更新到 12.04 后,我通过 APT 安装了 MongoDB。从那时起,它一直运作良好。我没有对配置或任何东西进行任何更改 - 它只是开箱即用。

今天它没有启动,当我登录时,我的应用程序中突然出现“无法连接到列表中的任何服务器”错误,我检查并mongod没有运行。

ls -al /var/lib/mongodb
Run Code Online (Sandbox Code Playgroud)

显示没有*.lock文件。

$ /etc/init.d/mongodb start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mongodb start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mongodb
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.89" (uid=1000 pid=4284 comm="start mongodb ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" …
Run Code Online (Sandbox Code Playgroud)

12.04 mongodb

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

12.04 ×1

mongodb ×1