0

我最近使用 Homebrew 安装了 CouchDB,并且在运行“couchdb”命令时遇到了以下错误。我在 OS 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 上遇到了这个问题。同样的错误,同样的安装方法。

谢谢大家!

4

2 回答 2

2

这个链接有你需要的一切。 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

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

于 2013-02-20T22:25:03.493 回答
0

抱歉,关于 Homebrew 问题我不能说,但你可以试试Jan Lehnardt制作的二进制包。目前,它应该可以成功处理 1.2.0 的更新 - 请关注邮件列表讨论以获取更多信息。

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

于 2013-02-18T05:56:25.980 回答