Sat*_*ish 9 erlang port couchdb couchdb-futon ubuntu-10.04
我在ubuntu 10.04上配置并安装了couchdb 1.6.1.虽然配置和安装它说成功完成了.但是,当我启动couchdb时,它给了我错误.
什么时候开始..
Apache CouchDB 1.6.1 (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
**[info] [<0.32.0>] Apache CouchDB has started on http://127.0.0.1:5984/**
Run Code Online (Sandbox Code Playgroud)
再次开始时
Apache CouchDB 1.6.1 (LogLevel=info) is starting.
**Failure to start Mochiweb: eaddrinuse**
[error] [<0.127.0>] {error_report,<0.31.0>,
{<0.127.0>,crash_report,[[{initial_call,
{mochiweb_socket_server,init,['Argument__1']}},
{pid,<0.127.0>},
{registered_name,[]},
{error_info,
{exit,eaddrinuse,
[{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_secondary_services,couch_server_sup,
<0.32.0>]},
{messages,[]},
{links,[<0.95.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,24},
{reductions,467}],
[]]}}
{"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},{application_master,start_it_old,4}]}}}}}},[{couch,start,0},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Run Code Online (Sandbox Code Playgroud)
在local.ini中,我将端口更改为5983,并从127.0.0更改 为0.0.0.0. 没有任何帮助
当我运行sudo netstat -tulpn
我得到以下输出
tcp 0 0 127.0.0.1:5984 0.0.0.0:*LISTEN 21688/beam.smp
couchdb -s说Apache CouchDB没有运行.
提前致谢
小智 0
即使我也面临同样的问题。我已经做了..
sudo apt-get update
sudo apt-get install couchdb
Run Code Online (Sandbox Code Playgroud)
注意:我刚刚重新安装了 couchdb,现在它工作正常。在重新安装之前我做了以下配置。
安装 ICU 并使用locate查找icu-config命令:
locate icu-config
sudo apt-get install libicu-dev
Run Code Online (Sandbox Code Playgroud)
有关更多详细信息,请参阅下面的链接
https://wiki.apache.org/couchdb/Error_messages