[ 
https://issues.apache.org/jira/browse/COUCHDB-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367148#comment-14367148
 ] 

Glynn Bird commented on COUCHDB-2641:
-------------------------------------

That fixes it thanks.

> Fresh build of CouchDB 2.0 Developer Preview fails to start - "Could not open 
> file ... nodes.couch"
> ---------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-2641
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2641
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Glynn Bird
>            Assignee: Alexander Shorin
>
> After building CouchDB 2.0 Developer Preview from scratch today and starting 
> with:
> dev/run 
> or 
> dev/run -n 1
> The cluster failed to start. The log files says:
> {Code}
> Headers: 
> [{'Accept-Encoding',"identity"},{'Content-Length',"2"},{'Host',"127.0.0.1:15986"}]
> 2015-03-18 09:52:58.497 [debug] [email protected] <0.213.0> OAuth Params: []
> 2015-03-18 09:52:58.500 [error] [email protected] <0.372.0> Could not open file 
> /Users/glynnb/projects/couchdb/dev/lib/node1/data/nodes.couch: no such file 
> or directory
> 2015-03-18 09:52:58.500 [info] [email protected] <0.203.0> open_result error 
> {not_found,no_db_file} for nodes
> 2015-03-18 09:52:58.500 [debug] [email protected] <0.213.0> Minor error in HTTP 
> request: {not_found,no_db_file}
> 2015-03-18 09:52:58.501 [debug] [email protected] <0.213.0> Stacktrace: 
> [{couch_httpd_db,do_db_req,2,[{file,"src/couch_httpd_db.erl"},{line,248}]},{couch_httpd,handle_request_int,5,[{file,"src/couch_httpd.erl"},{line,301}]},{mochiweb_http,headers,5,[{file,"src/mochiweb_http.erl"},{line,93}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]
> 2015-03-18 09:52:58.501 [notice] [email protected] <0.213.0> 127.0.0.1 - - PUT 
> /nodes/[email protected] 404
> 2015-03-18 09:52:58.501 [debug] [email protected] <0.213.0> httpd 404 error 
> response:
>  {"error":"not_found","reason":"no_db_file"}
> {Code}
> I fixed it by making symlink to "dev/lib/node1/data/_nodes.couch" called 
> "nodes.couch". i.e _nodes.couch exists but nodes.couch does not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to