Skip to content

Instantly share code, notes, and snippets.

@dahjelle
Created January 30, 2015 12:48
Show Gist options
  • Save dahjelle/19f3c3b8aec6d7d4b115 to your computer and use it in GitHub Desktop.
Save dahjelle/19f3c3b8aec6d7d4b115 to your computer and use it in GitHub Desktop.
CouchDB 1.6.1 "Verify Installation" Error on CentOS 7
$ cat /var/log/couchdb/couch.log
[Fri, 30 Jan 2015 12:47:35 GMT] [info] [<0.31.0>] Apache CouchDB has started on http://127.0.0.1:5984/
[Fri, 30 Jan 2015 12:47:41 GMT] [info] [<0.110.0>] 192.168.1.145 - - DELETE /test_suite_db/ 200
[Fri, 30 Jan 2015 12:47:41 GMT] [info] [<0.110.0>] 192.168.1.145 - - PUT /test_suite_db/ 201
[Fri, 30 Jan 2015 12:47:41 GMT] [info] [<0.110.0>] 192.168.1.145 - - PUT /test_suite_db/abd79b2753f1a4148bbc4c98d602e591 201
[Fri, 30 Jan 2015 12:47:41 GMT] [info] [<0.110.0>] 192.168.1.145 - - PUT /test_suite_db/abd79b2753f1a4148bbc4c98d602e591 201
[Fri, 30 Jan 2015 12:47:41 GMT] [info] [<0.110.0>] 192.168.1.145 - - DELETE /test_suite_db/abd79b2753f1a4148bbc4c98d602e591?rev=2-c5242a69558bf0c24dda59b585d1a52b 200
[Fri, 30 Jan 2015 12:47:41 GMT] [info] [<0.110.0>] 192.168.1.145 - - GET /test_suite_db/undefined 404
[Fri, 30 Jan 2015 12:47:41 GMT] [info] [<0.110.0>] 192.168.1.145 - - PUT /test_suite_db/abd79b2753f1a4148bbc4c98d602e342 201
[Fri, 30 Jan 2015 12:47:41 GMT] [info] [<0.110.0>] 192.168.1.145 - - PUT /test_suite_db/abd79b2753f1a4148bbc4c98d602d98c 201
[Fri, 30 Jan 2015 12:47:42 GMT] [info] [<0.110.0>] 192.168.1.145 - - PUT /test_suite_db/abd79b2753f1a4148bbc4c98d602d113 201
[Fri, 30 Jan 2015 12:47:42 GMT] [error] [<0.171.0>] Could not open file /var/lib/couchdb/.test_suite_db_design/mrview/48733ad165ec5f98ed55d12658b570d8.view: no such file or directory
[Fri, 30 Jan 2015 12:47:42 GMT] [error] [<0.171.0>] Failed to open view file '/var/lib/couchdb/.test_suite_db_design/mrview/48733ad165ec5f98ed55d12658b570d8.view': no such file or directory
[Fri, 30 Jan 2015 12:47:42 GMT] [error] [<0.110.0>] Uncaught error in HTTP request: {error,
{badmatch,
{error,enoent}}}
[Fri, 30 Jan 2015 12:47:42 GMT] [info] [<0.110.0>] Stacktrace: [{couch_index_server,get_index,4,
[{file,"src/couch_index_server.erl"},
{line,51}]},
{couch_mrview_util,get_view,4,
[{file,"src/couch_mrview_util.erl"},
{line,40}]},
{couch_mrview,query_view,6,
[{file,"src/couch_mrview.erl"},{line,75}]},
{couch_httpd,etag_maybe,2,
[{file,"couch_httpd.erl"},{line,610}]},
{couch_mrview_http,design_doc_view,5,
[{file,"src/couch_mrview_http.erl"},
{line,188}]},
{couch_httpd_db,do_db_req,2,
[{file,"couch_httpd_db.erl"},{line,234}]},
{couch_httpd,handle_request_int,5,
[{file,"couch_httpd.erl"},{line,318}]},
{mochiweb_http,headers,5,
[{file,"src/mochiweb_http.erl"},
{line,94}]}]
[Fri, 30 Jan 2015 12:47:42 GMT] [info] [<0.110.0>] 192.168.1.145 - - POST /test_suite_db/_temp_view 500
[Fri, 30 Jan 2015 12:47:42 GMT] [error] [<0.110.0>] httpd 500 error response:
{"error":"badmatch","reason":"{error,enoent}"}
@dahjelle
Copy link
Author

This is a fresh minimal install of CentOS 7, and CouchDB 1.6.1 installed directly via yum.

@dahjelle
Copy link
Author

Another debug test:

$ echo '[]' | couchjs /usr/share/couchdb/server/main.js
["error","unknown_command","unknown command 'undefined'"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment