Hello,

there is a nice and easy to follow CouchDB Wiki article on how to install the 
latest CouchDB version manually: 
http://wiki.apache.org/couchdb/Getting_started_with_Amazon_EC2

I've followed these steps and it seems like no error occurred during the 
installation.

When first running CouchDB it says that is has started but then the process 
seems to be stopped. I have the stop the command (ctrl + z) to get out.
The second start returns an error (see below).

I've tried versions 0.10, 0.10.1 and 0.11 on Ubuntu 9.04 (EC2 instance). For 
sure there is Ubuntu 9.10 which come with 0.10 but this is no option at the 
moment.

Any idea on how to solve this error?

Best regards,
Bernd


# first start: sudo -i -u couchdb couchdb

Apache CouchDB 0.10.1 (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.1.0>] Apache CouchDB has started on http://127.0.0.1:5984/

# second start: sudo -i -u couchdb 

Apache CouchDB 0.10.1 (LogLevel=info) is starting.
Failure to start Mochiweb: eaddrinuse
[error] [<0.59.0>] {error_report,<0.22.0>,
              {<0.59.0>,crash_report,
               [[{pid,<0.59.0>},
                 {registered_name,couch_httpd},
                 {error_info,{exit,eaddrinuse,
                                   [{gen_server,init_it,6},
                                    {proc_lib,init_p_do_apply,3}]}},
                 {initial_call,{mochiweb_socket_server,init,['Argument__1']}},
                 {ancestors,[couch_secondary_services,couch_server_sup,
                             <0.1.0>]},
                 {messages,[]},
                 {links,[<0.51.0>]},
                 {dictionary,[]},
                 {trap_exit,true},
                 {status,running},
                 {heap_size,987},
                 {stack_size,23},
                 {reductions,456}],
                []]}}
[error] [<0.51.0>] {error_report,<0.22.0>,
              {<0.51.0>,supervisor_report,
               [{supervisor,{local,couch_secondary_services}},
                {errorContext,start_error},
                {reason,eaddrinuse},
                {offender,[{pid,undefined},
                           {name,httpd},
                           {mfa,{couch_httpd,start_link,[]}},
                           {restart_type,permanent},
                           {shutdown,brutal_kill},
                           {child_type,worker}]}]}}
[error] [<0.43.0>] {error_report,<0.22.0>,
    {<0.43.0>,supervisor_report,
     [{supervisor,{local,couch_server_sup}},
      {errorContext,start_error},
      {reason,shutdown},
      {offender,
          [{pid,undefined},
           {name,couch_secondary_services},
           {mfa,{couch_server_sup,start_secondary_services,[]}},
           {restart_type,permanent},
           {shutdown,infinity},
           {child_type,supervisor}]}]}}
{"init terminating in 
do_boot",{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1},{erl_eval,do_apply,5},{erl_eval,exprs,5},{init,start_it,1},{init,start_em,1}]}}

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

Reply via email to