You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2015/03/18 11:06:38 UTC
[jira] [Resolved] (COUCHDB-2641) Fresh build of CouchDB 2.0
Developer Preview fails to start - "Could not open file ... nodes.couch"
[ https://issues.apache.org/jira/browse/COUCHDB-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Shorin resolved COUCHDB-2641.
---------------------------------------
Resolution: Fixed
Assignee: Alexander Shorin
Fixed. Please update developers-preview git clone and follow the build process instructions.
> 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] node1@127.0.0.1 <0.213.0> OAuth Params: []
> 2015-03-18 09:52:58.500 [error] node1@127.0.0.1 <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] node1@127.0.0.1 <0.203.0> open_result error {not_found,no_db_file} for nodes
> 2015-03-18 09:52:58.500 [debug] node1@127.0.0.1 <0.213.0> Minor error in HTTP request: {not_found,no_db_file}
> 2015-03-18 09:52:58.501 [debug] node1@127.0.0.1 <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] node1@127.0.0.1 <0.213.0> 127.0.0.1 - - PUT /nodes/node1@127.0.0.1 404
> 2015-03-18 09:52:58.501 [debug] node1@127.0.0.1 <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)
Re: [jira] [Resolved] (COUCHDB-2641) Fresh build of CouchDB 2.0
Developer Preview fails to start - "Could not open file ... nodes.couch"
Posted by madhuka udantha <ma...@gmail.com>.
Hi, Alexander
Thanks for the fix.
Yes, I was on 'developer-preview-2.0'[1] branch as it is in jira
[1] https://couchdb.apache.org/developer-preview/2.0/
On Wed, Mar 18, 2015 at 3:54 PM, Alexander Shorin <kx...@gmail.com> wrote:
> Yeap, now I understand your problem clear. I was thought you're on
> master branch, however. Now both should be fine (:
> --
> ,,,^..^,,,
>
>
> On Wed, Mar 18, 2015 at 1:09 PM, madhuka udantha
> <ma...@gmail.com> wrote:
> > Hi,
> >
> > I too noticed this issue 2days a go and it is noted in here[1].
> > to manually add fileand it work fine
> >
> > [1]
> >
> https://issues.apache.org/jira/browse/COUCHDB-2605?focusedCommentId=14362844
> >
> > On Wed, Mar 18, 2015 at 3:36 PM, Alexander Shorin (JIRA) <
> jira@apache.org>
> > wrote:
> >
> >>
> >> [
> >>
> https://issues.apache.org/jira/browse/COUCHDB-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> >> ]
> >>
> >> Alexander Shorin resolved COUCHDB-2641.
> >> ---------------------------------------
> >> Resolution: Fixed
> >> Assignee: Alexander Shorin
> >>
> >> Fixed. Please update developers-preview git clone and follow the build
> >> process instructions.
> >>
> >> > 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] node1@127.0.0.1 <0.213.0> OAuth
> Params:
> >> []
> >> > 2015-03-18 09:52:58.500 [error] node1@127.0.0.1 <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] node1@127.0.0.1 <0.203.0> open_result
> >> error {not_found,no_db_file} for nodes
> >> > 2015-03-18 09:52:58.500 [debug] node1@127.0.0.1 <0.213.0> Minor error
> >> in HTTP request: {not_found,no_db_file}
> >> > 2015-03-18 09:52:58.501 [debug] node1@127.0.0.1 <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] node1@127.0.0.1 <0.213.0> 127.0.0.1
> -
> >> - PUT /nodes/node1@127.0.0.1 404
> >> > 2015-03-18 09:52:58.501 [debug] node1@127.0.0.1 <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)
> >>
> >
> >
> >
> > --
> > Cheers,
> > Madhuka Udantha
> > http://madhukaudantha.blogspot.com
>
--
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com
Re: [jira] [Resolved] (COUCHDB-2641) Fresh build of CouchDB 2.0
Developer Preview fails to start - "Could not open file ... nodes.couch"
Posted by Alexander Shorin <kx...@gmail.com>.
Yeap, now I understand your problem clear. I was thought you're on
master branch, however. Now both should be fine (:
--
,,,^..^,,,
On Wed, Mar 18, 2015 at 1:09 PM, madhuka udantha
<ma...@gmail.com> wrote:
> Hi,
>
> I too noticed this issue 2days a go and it is noted in here[1].
> to manually add fileand it work fine
>
> [1]
> https://issues.apache.org/jira/browse/COUCHDB-2605?focusedCommentId=14362844
>
> On Wed, Mar 18, 2015 at 3:36 PM, Alexander Shorin (JIRA) <ji...@apache.org>
> wrote:
>
>>
>> [
>> https://issues.apache.org/jira/browse/COUCHDB-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>> ]
>>
>> Alexander Shorin resolved COUCHDB-2641.
>> ---------------------------------------
>> Resolution: Fixed
>> Assignee: Alexander Shorin
>>
>> Fixed. Please update developers-preview git clone and follow the build
>> process instructions.
>>
>> > 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] node1@127.0.0.1 <0.213.0> OAuth Params:
>> []
>> > 2015-03-18 09:52:58.500 [error] node1@127.0.0.1 <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] node1@127.0.0.1 <0.203.0> open_result
>> error {not_found,no_db_file} for nodes
>> > 2015-03-18 09:52:58.500 [debug] node1@127.0.0.1 <0.213.0> Minor error
>> in HTTP request: {not_found,no_db_file}
>> > 2015-03-18 09:52:58.501 [debug] node1@127.0.0.1 <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] node1@127.0.0.1 <0.213.0> 127.0.0.1 -
>> - PUT /nodes/node1@127.0.0.1 404
>> > 2015-03-18 09:52:58.501 [debug] node1@127.0.0.1 <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)
>>
>
>
>
> --
> Cheers,
> Madhuka Udantha
> http://madhukaudantha.blogspot.com
Re: [jira] [Resolved] (COUCHDB-2641) Fresh build of CouchDB 2.0
Developer Preview fails to start - "Could not open file ... nodes.couch"
Posted by madhuka udantha <ma...@gmail.com>.
Hi,
I too noticed this issue 2days a go and it is noted in here[1].
to manually add fileand it work fine
[1]
https://issues.apache.org/jira/browse/COUCHDB-2605?focusedCommentId=14362844
On Wed, Mar 18, 2015 at 3:36 PM, Alexander Shorin (JIRA) <ji...@apache.org>
wrote:
>
> [
> https://issues.apache.org/jira/browse/COUCHDB-2641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Alexander Shorin resolved COUCHDB-2641.
> ---------------------------------------
> Resolution: Fixed
> Assignee: Alexander Shorin
>
> Fixed. Please update developers-preview git clone and follow the build
> process instructions.
>
> > 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] node1@127.0.0.1 <0.213.0> OAuth Params:
> []
> > 2015-03-18 09:52:58.500 [error] node1@127.0.0.1 <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] node1@127.0.0.1 <0.203.0> open_result
> error {not_found,no_db_file} for nodes
> > 2015-03-18 09:52:58.500 [debug] node1@127.0.0.1 <0.213.0> Minor error
> in HTTP request: {not_found,no_db_file}
> > 2015-03-18 09:52:58.501 [debug] node1@127.0.0.1 <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] node1@127.0.0.1 <0.213.0> 127.0.0.1 -
> - PUT /nodes/node1@127.0.0.1 404
> > 2015-03-18 09:52:58.501 [debug] node1@127.0.0.1 <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)
>
--
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com