我的硬盘上有11gb空闲,所以我不知道为什么它说磁盘几乎已满。它正在运行,但现在已经停止工作了。我试图用它来运行ACRA。我在VMWare上运行Ubuntu 16.04。
sudo couchdb restart
[sudo] password for zjulia:
=INFO REPORT==== 20-Sep-2016::09:05:18 ===
alarm_handler: {set,{{disk_almost_full,"/media/zjulia/CDROM"},[]}}
=INFO REPORT==== 20-Sep-2016::09:05:18 ===
alarm_handler: {set,{{disk_almost_full,"/media/zjulia/Ubuntu"},[]}}
Apache CouchDB 1.6.0 (LogLevel=info) is starting.
{Failure to start Mochiweb: eaddrinuse
[error] [<0.113.0>] {error_report,<0.32.0>,
{<0.113.0>,crash_report,
[[{initial_call,
{mochiweb_socket_server,init,['Argument__1']}},
{pid,<0.113.0>},
{registered_name,[]},
{error_info,
{exit,eaddrinuse,
[{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,344}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,240}]}]}},
{ancestors,
[couch_secondary_services,couch_server_sup,<0.33.0>]},
{messages,[]},
{links,[<0.92.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,987},
{stack_size,27},
{reductions,641}],
[]]}}
"init terminating in do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"]]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,couch_secondary_services,{shutdown,{failed_to_start_child,httpd,eaddrinuse}}}}}},[{couch_server_sup,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,273}]}]}}}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()
答案 0 :(得分:1)
&#34;磁盘几乎已满#34;消息只是一个警告。实际问题似乎是,端口(默认为5984)已经在使用(&#34; eaddrinuse&#34;)。
作为解决方案,您可以更改/etc/couchdb/couch.ini中的CouchDB端口,或者查看哪个进程正在使用端口5984和lsof -i :5984
并将其终止。