我已经在Windows 7 Pro笔记本电脑上安装了CouchDB(v2.2.0)。我已经安装到默认的C:\ CouchDB位置。安装不会报告任何错误。
但是,当我尝试导航到localhost:5984来验证我的安装时,我收到站点无法访问的错误。
我尝试卸载,重新启动和重新安装均无济于事。
我希望其他人也能遇到同样的情况并找到解决方案。我在长沙发数据库网站上找不到任何指导。接下来是我的ouch.log文件的摘录:
[信息] 2018-09-25T13:22:21.315000Z couchdb @ localhost <0.7.0> --------在节点beddb @ localhost上启动应用程序bed_log [info] 2018-09-25T13:22:21.334000Z couchdb @ localhost <0.7.0> --------应用folsom在节点beddb @ localhost上启动 [info] 2018-09-25T13:22:21.373000Zouchdb@localhost <0.7.0> --------在节点beddb @ localhost上启动应用程序bed_stats [info] 2018-09-25T13:22:21.373000Z couchdb @ localhost <0.7.0> --------应用khash在节点beddb @ localhost上启动 [info] 2018-09-25T13:22:21.389000Zouchdb@localhost <0.7.0> --------在节点beddb @ localhost上启动应用程序bed_event [info] 2018-09-25T13:22:21.405000Z couchdb @ localhost <0.7.0> --------在节点beddb @ localhost上启动应用程序ibrowse [info] 2018-09-25T13:22:21.405000Z couchdb @ localhost <0.7.0> --------在节点beddb @ localhost上启动了应用程序ioq [info] 2018-09-25T13:22:21.405000Z couchdb @ localhost <0.7.0> --------应用mochiweb在节点beddb @ localhost上启动 [info] 2018-09-25T13:22:21.420000Z couchdb @ localhost <0.198.0> -------- Apache CouchDB 2.1.2正在启动。
[信息] 2018-09-25T13:22:21.420000Z couchdb @ localhost <0.199.0> --------启动couch_sup [错误] 2018-09-25T13:22:21.420000Zouchdb@localhost <0.202.0> --------崩溃报告进程(<0.202.0>)退出0个邻居,原因如下:“指定的模块找不到。”在gen_server:init_it / 6(line:344)<= proc_lib:init_p_do_apply / 3(line:240); initial_call:{couch_drv,init,['Argument__1']},祖先:[couch_primary_services,couch_sup,<0.198.0>],消息:[],链接:[<0.201.0>],字典:[],trap_exit: false,状态:正在运行,heap_size:376,stack_size:27,缩减:125 [错误] 2018-09-25T13:22:21.420000Zouchdb@localhost <0.198.0> --------启动Apache CouchDB时出错:
{error,{shutdown,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child,collation_driver,"The specified module could not be found."}}}}}
[错误] 2018-09-25T13:22:21.436000Zouchdb@localhost <0.201.0> --------主管ouch_primary_services的子collation_driver在未定义的退出处以couch_drv:start_link()开始,原因为“指定的模块无法找到。”在上下文中start_error [错误] 2018-09-25T13:22:21.436000Zouchdb@localhost <0.199.0> --------主管ouch_sup在未定义的退出处以子状Sofa_primary_services以ouch_primary_sup:start_link()开头,原因为{shutdown,{ failed_to_start_child,collation_driver,“找不到指定的模块。”}}在上下文start_error中 [错误] 2018-09-25T13:22:21.436000Zouchdb@localhost <0.197.0> --------崩溃报告进程(<0.197.0>)退出,其邻居数为0,原因如下:{{shutdown, {failed_to_start_child,couch_primary_services,{关闭,{failed_to_start_child,collation_driver,“找不到指定的模块。”}}}},{couch_app,start,[normal,[]]}}在application_master:init / 4(line: 134)<= proc_lib:init_p_do_apply / 3(line:240); initial_call:{application_master,init,['Argument__1','Argument__2',...]},祖先:[<0.196.0>],消息:[{'EXIT',<0.198.0>,正常}],链接:[<0.196.0>,<0.7.0>],字典:[],trap_exit:true,状态:正在运行,heap_size:610,stack_size:27,缩减:139 [info] 2018-09-25T13:22:21.436000Zouchdb@localhost <0.7.0> --------应用长沙发因以下原因退出:{{shutdown,{failed_to_start_child,couch_primary_services,{shutdown,{failed_to_start_child, collation_driver,“找不到指定的模块。”}}}},{couch_app,启动,[普通,[]]}}
答案 0 :(得分:1)
我在Windows 8.1中遇到了ouchdb-2.2.0的类似错误,尝试了以下答案中提到的一些步骤后,我的工作开始了。
尽管它似乎与Mysql有关,但是我没有卸载mysql。我认为它无法正确解析Windows样式路径变量条目(具有空格)。
Windows could not start the Apache CouchDB service on Local Computer
CouchDB fails to start after applying Windows 10 Creators Update
答案 1 :(得分:0)
以下是我的问题的答案:
该问题似乎与MySQL 5.6安装有关。
我怀疑这两个应用程序之间存在冲突,因为一旦安装了ouchDB,我就会在MySQL服务中报告偶尔的错误。
我卸载了MySQL并重新安装了Sofa db,它现在运行没有问题。我将尝试再次安装MySQL,然后查看是否再次发生。
目前,此问题已解决。
答案 2 :(得分:0)
您只需要从PATH变量中删除MySQL条目即可。不需要卸载MSQL。