【发布时间】:2015-07-25 20:38:01
【问题描述】:
我已经在 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/**
重新开始时
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 ()
在 local.ini 中我改变了 端口到 5983,ip 从 127.0.0.1 到 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 没有运行。
提前致谢
【问题讨论】:
-
curl
http://localhost:5984/有什么回应吗? -
您好 Akshat 感谢您的回复,它没有给我任何回应...我想正在等待连接 couchdb -s 说 Apache CouchDB 没有运行。
-
您可以使用 htop 等实用程序手动终止 couchdb。只需安装它。在终端上键入 htop。按 F4 搜索 couchdb 并按 F9+enter 杀死它。看看有没有帮助。
-
couchdb -d将关闭 CouchDB 后台进程。 -
@dethtron5000 感谢您的回复.. couchdb -d 说 Apache CouchDB 没有运行。
标签: erlang couchdb port ubuntu-10.04 couchdb-futon