首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

couchDB起步报错

2013-11-03 
couchDB启动报错Erlang R14B04 (erts-5.8.5) [source] [smp:4:4] [rq:4] [async-threads:4]Eshell V5.8.5(

couchDB启动报错
Erlang R14B04 (erts-5.8.5) [source] [smp:4:4] [rq:4] [async-threads:4]Eshell V5.8.5 (abort with ^G)1> Apache CouchDB 1.4.0 (LogLevel=info) is starting.Failure to start Mochiweb: eaddrinuse[error] [<0.133.0>] {error_report,<0.35.0>, {<0.133.0>,crash_report, [[{initial_call, {mochiweb_socket_server,init,['Argument__1']}}, {pid,<0.133.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.36.0>]}, {messages,[]}, {links,[<0.102.0>]}, {dictionary,[]}, {trap_exit,true}, {status,running}, {heap_size,987}, {stack_size,24}, {reductions,458}], []]}}{"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}},[{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.dumpinit terminating in do_boot ()Abnormal termination

?

表示很费解,搞了好一会儿才发现报错信息原来在上面。。。Failure to start Mochiweb: eaddrinuse

?

之后在wiki(传送门)找到了错误信息.

?

原来是需要更改端口,因为是windows装的,就没有config.ini

在 default.ini中找到了端口配置。

通过 在cmd中使用netstat -ano查看现在正在使用的端口,就随便写了一个端口号,5985(原来是5984)

?

成功运行!

?

但是我记得我没有开过这个端口的,是为什么导致这个端口被占用

之后根据进程ID找到应用,才发现是couchDB的服务,原来在安装好了之后就已经自动的启动了couchDB的服务,不需要再次去启动。。。

?

?

?to be continue....

?

热点排行