错误:子进程失败,以错误号 1 退出,mongodb [英] ERROR: child process failed, exited with error number 1,mongodb

查看:48
本文介绍了错误:子进程失败,以错误号 1 退出,mongodb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 mongodb 从 2.4 更新到 2.6.在命令行 mongodb 以 mongod 开头但是作为

I update mongodb from 2.4 to 2.6. At command line mongodb starts as mongod but as

sudo service mongod  start

有错误

ERROR: child process failed, exited with error number 1

怎么了?我有centos 6.7

What is wrong?I have centos 6.7

推荐答案

以防万一日志设置正确,您可能还需要确保 pid 文件路径不是目录而是文件的完整路径

Just in case the log settings are correct, you may also want to make sure that you pid file path is not a directory but the full path to a file

这篇关于错误:子进程失败,以错误号 1 退出,mongodb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆