incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanuden <sanu...@yahoo.com>
Subject Re: Installation Problems with CouchDB 1.3.1 on Amazon Linux EC2
Date Wed, 04 Sep 2013 21:20:13 GMT
So I ran the couchdb executable directly and I got this message:

{"init terminating in do_boot",{{badmatch,{error,{{app_would_not_start,asn1},{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]}}}},[{couch,start,0},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


I can provide the erl_crash.dump file, though it seems like it might not be exceptionally
helpful.




________________________________
 From: Dave Cottlehuber <dch@jsonified.com>
To: user@couchdb.apache.org; Sanuden <sanuden@yahoo.com> 
Sent: Wednesday, September 4, 2013 4:03 PM
Subject: Re: Installation Problems with CouchDB 1.3.1 on Amazon Linux EC2
 

Hi Sanuden,

How about trying the pre-packaged source release of 1.4.0
http://www.apache.org/dyn/closer.cgi?path=/couchdb/source/1.4.0/apache-couchdb-1.4.0.tar.gz
and working your way though the installation docs at
https://github.com/apache/couchdb/blob/1.4.0/INSTALL.Unix#L84 and
https://github.com/apache/couchdb/blob/1.4.0/INSTALL.Unix#L135  ?

Please reply back with anything you got stuck on.

We can definitely make the Secret Incantations easier to find… I'm
interested to know where the first place you looked was? Maybe we
should have a big "Install from source" link on the website, or
where-ever.

Anyway, if you *really* want to build from a git checkout, read this
thoroughly https://github.com/apache/couchdb/blob/1.4.0/DEVELOPERS but
I suspect you don't want that atm.

There's likely a full rpm-based install as well but I am not sure if
that is yet available for 1.4.0.

A+
Dave

On 4 September 2013 20:38, Sanuden <sanuden@yahoo.com> wrote:
> 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!
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message