我已經在ubuntu 10.04上配置並安裝了couchdb 1.6.1。雖然配置和安裝它說成功完成。但是當我啓動couchdb時,它給了我錯誤。Couchdb未啓動。 - 未能啓動Mochiweb:eaddrinuse
當第一次啓動..
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/**
當local.ini再次
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()
開始我改變了 港5983也從127.0 IP地址爲0.0.0.0 .0.1 沒有幫助
當我執行sudo netstat的-tulpn
我獲得以下輸出
TCP 0 0 127.0.0.1:5984 0.0.0.0:* LISTEN 21688/beam.smp
CouchDB的-s說Apache CouchDB未運行。
在此先感謝
確實捲曲'http:// localhost:5984 /'給你任何迴應? –
你好Akshat感謝回覆,它不給我任何迴應...我想等待連接couchdb -s說Apache CouchDB沒有運行。 – Satish
您可以使用htop等實用工具手動殺死couchdb。只需安裝它。在終端上鍵入htop。按F4搜索couchdb和F9 +輸入殺死它。看看它是否有幫助。 –