操作系统X上的CouchDB失败



我最近使用Homebrew安装了CouchDB,在运行"CouchDB"命令时遇到以下错误。我在操作系统X 10.7.5:上

Apache CouchDB 1.2.1 (LogLevel=info) is starting.
{"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,274}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

我以前让couchdb运行得很好,但最近重新安装以尝试升级。我根本不知道如何诊断这个问题。

我已经尝试设置我的文件权限,但它们似乎很好,对这个问题没有任何影响。

我也试过从自制软件中卸载,然后用sudo port install couchdb重新安装。似乎什么都不管用。

我在Macbook Pro和iMac上遇到了这个问题。相同的错误,相同的安装方法。

谢谢大家!

此链接提供了您所需的一切。http://wiki.apache.org/couchdb/Installing_on_OSX

这条线似乎对你特别感兴趣:

brew remove --force openssl erlang couchdb icu4c spidermonkey nspr

然后

brew update
brew outdated
brew install erlang
brew install couchdb

如果所有其他操作都失败,请向下滚动以从源安装。

对不起,我不能说任何关于Homebrew的问题,但您可以尝试Jan Lehnardt制作的二进制包。目前,它应该能成功处理1.2.0的更新-请关注邮件列表讨论以了解更多信息。

注意,这个包现在有点实验性,但欢迎任何反馈!

最新更新