I'm trying to install and run CouchDB 1.3.1 on an Amazon Linux EC2 instance following the guidelines listed here:
http://asaf.github.io/blog/2013/07/08/installing-couch-db-on-amazon-ami/ Which gets me all the way installed and running CouchDB. However, when I go to execute the test scripts the server locks up and becomes unresponsive. Examining the log files provides a little insight: [Wed, 04 Sep 2013 18:26:51 GMT] [info] [<0.108.0>] 209.177.232.194 - - GET / 200 [Wed, 04 Sep 2013 18:26:53 GMT] [info] [<0.107.0>] 209.177.232.194 - - DELETE /test_suite_db/ 200 [Wed, 04 Sep 2013 18:26:53 GMT] [info] [<0.107.0>] 209.177.232.194 - - PUT /test_suite_db/ 201 [Wed, 04 Sep 2013 18:26:54 GMT] [info] [<0.107.0>] 209.177.232.194 - - GET /_uuids?count=101 200 [Wed, 04 Sep 2013 18:26:54 GMT] [info] [<0.107.0>] 209.177.232.194 - - PUT /test_suite_db/9d8b3f03970d767daff7f40ffb030096 201 [Wed, 04 Sep 2013 18:26:54 GMT] [info] [<0.107.0>] 209.177.232.194 - - PUT /test_suite_db/9d8b3f03970d767daff7f40ffb030096 201 [Wed, 04 Sep 2013 18:26:54 GMT] [info] [<0.107.0>] 209.177.232.194 - - DELETE /test_suite_db/9d8b3f03970d767daff7f40ffb030096?rev=2-c5242a69558bf0c24dda59b585d1a52b 200 [Wed, 04 Sep 2013 18:26:55 GMT] [info] [<0.107.0>] 209.177.232.194 - - GET /test_suite_db/undefined 404 [Wed, 04 Sep 2013 18:26:55 GMT] [info] [<0.107.0>] 209.177.232.194 - - PUT /test_suite_db/9d8b3f03970d767daff7f40ffb02fea5 201 [Wed, 04 Sep 2013 18:26:55 GMT] [info] [<0.107.0>] 209.177.232.194 - - PUT /test_suite_db/9d8b3f03970d767daff7f40ffb02eeac 201 [Wed, 04 Sep 2013 18:26:55 GMT] [info] [<0.107.0>] 209.177.232.194 - - PUT /test_suite_db/9d8b3f03970d767daff7f40ffb02ea99 201 [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_mrview_http.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_mrview_util.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_mrview.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_mrview_index.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_index.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_index_updater.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_index_compactor.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [info] [<0.953.0>] Opening index for db: test_suite_db idx: b34aec5eb46f65948b91dec3b3c957c6 sig: "48733ad165ec5f98ed55d12658b570d8" [Wed, 04 Sep 2013 18:26:56 GMT] [info] [<0.958.0>] Starting index update for db: test_suite_db idx: b34aec5eb46f65948b91dec3b3c957c6 [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_mrview_updater.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_work_queue.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.20.0>] {error_report,<0.9.0>, {<0.20.0>,std_error, "File operation error: eacces. Target: ./couch_os_process.beam. Function: get_file. Process: code_server."}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.963.0>] OS Process Error <0.965.0> :: {os_process_error, {exit_status,127}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.963.0>] OS Process Error <0.969.0> :: {os_process_error, {exit_status,127}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.963.0>] OS Process Error <0.972.0> :: {os_process_error, {exit_status,127}} [Wed, 04 Sep 2013 18:26:56 GMT] [error] [<0.963.0>] OS Process Error <0.975.0> :: {os_process_error, {exit_status,127}} ...these os_process_error's continue indefinitely It seems like the issue stems from generating the view indices since I can add/remove/delete documents all day long, however, once I add a design view and try to access it the same thing happens. Obviously I started with Google and it seems like there is general consensus that this is a permission issue, however, I have no idea how to fix the problem. I've looked at all of the folders listed in Asaf's guide and all the permissions seem to be properly set to couch:couch. I'm honestly at a complete lost at this point, and any help would be greatly appreciated. Thanks!
