incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Llewellyn <llew...@gmail.com>
Subject my 1.0 installation on ubuntu lucid fails to start
Date Sat, 17 Jul 2010 23:52:55 GMT
Have been trying to install 1.0 from source on ubuntu lucid.  Followed
instructions at http://wiki.apache.org/couchdb/Installing_on_Ubuntu and last
of external links 'install CouchDB 0.11 on Ubuntu 10.4 Lucid.'

If I do
$ sudo /etc/init.d/couchdb start
 * Starting database server couchdb
but
$curl http://127.0.0.1:5984/

[ OK ]
curl: (7) couldn't connect to host
and
$ps au | grep couchdb
couchdb  22849  0.0  0.0   4092   692 pts/4    S    19:43   0:00 /bin/sh -e
/usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a
/usr/local/etc/couchdb/local.ini -b -r 5 -p
/usr/local/var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb  22863  0.0  0.0   4092   360 pts/4    S    19:43   0:00 /bin/sh -e
/usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a
/usr/local/etc/couchdb/local.ini -b -r 5 -p
/usr/local/var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb  22864  1.2  0.0 257416 12428 pts/4    Sl   19:43   0:00
/usr/lib/erlang/erts-5.7.4/bin/beam.smp -Bd -K true -A 4 -- -root
/usr/lib/erlang -progname erl -- -home /var/lib/couchdb -- -noshell -noinput
-sasl errlog_type error -couch_ini /usr/local/etc/couchdb/default.ini
/usr/local/etc/couchdb/local.ini /usr/local/etc/couchdb/default.ini
/usr/local/etc/couchdb/local.ini -s couch -pidfile
/usr/local/var/run/couchdb/couchdb.pid -heart

if I then
$ sudo /etc/init.d/couchdb stop
 * Stopping database server couchdb
which stops above processes.

If I then try
$sudo -i -u couchdb couchdb
I get the following message.  Can anyone help me with it?

Apache CouchDB 1.0.0 (LogLevel=info) is starting.
[error] [<0.89.0>] {error_report,<0.32.0>,
    {<0.89.0>,crash_report,
     [[{initial_call,{couch_auth_cache,init,['Argument__1']}},
       {pid,<0.89.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {{badmatch,{not_found,no_db_file}},
                [{couch_auth_cache,ensure_users_db_exists,2},
                 {couch_auth_cache,open_auth_db,0},
                 {couch_auth_cache,init,1},
                 {gen_server,init_it,6},
                 {proc_lib,init_p_do_apply,3}]},
               [{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,[couch_secondary_services,couch_server_sup,<0.33.0>]},
       {messages,[]},
       {links,[<0.87.0>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,377},
       {stack_size,24},
       {reductions,151}],
      []]}}

=CRASH REPORT==== 17-Jul-2010::19:09:51 ===
  crasher:
    initial call: couch_auth_cache:init/1
    pid: <0.89.0>
    registered_name: []
    exception exit: {{badmatch,{not_found,no_db_file}},
                     [{couch_auth_cache,ensure_users_db_exists,2},
                      {couch_auth_cache,open_auth_db,0},
                      {couch_auth_cache,init,1},
                      {gen_server,init_it,6},
                      {proc_lib,init_p_do_apply,3}]}
      in function  gen_server:init_it/6
    ancestors: [couch_secondary_services,couch_server_sup,<0.33.0>]
    messages: []
    links: [<0.87.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 377
    stack_size: 24
    reductions: 151
  neighbours:
[error] [<0.87.0>] {error_report,<0.32.0>,
              {<0.87.0>,supervisor_report,
               [{supervisor,{local,couch_secondary_services}},
                {errorContext,start_error},
                {reason,{{badmatch,{not_found,no_db_file}},
                         [{couch_auth_cache,ensure_users_db_exists,2},
                          {couch_auth_cache,open_auth_db,0},
                          {couch_auth_cache,init,1},
                          {gen_server,init_it,6},
                          {proc_lib,init_p_do_apply,3}]}},
                {offender,[{pid,undefined},
                           {name,auth_cache},
                           {mfa,{couch_auth_cache,start_link,[]}},
                           {restart_type,permanent},
                           {shutdown,1000},
                           {child_type,worker}]}]}}

=SUPERVISOR REPORT==== 17-Jul-2010::19:09:51 ===
     Supervisor: {local,couch_secondary_services}
     Context:    start_error
     Reason:     {{badmatch,{not_found,no_db_file}},
                  [{couch_auth_cache,ensure_users_db_exists,2},
                   {couch_auth_cache,open_auth_db,0},
                   {couch_auth_cache,init,1},
                   {gen_server,init_it,6},
                   {proc_lib,init_p_do_apply,3}]}
     Offender:   [{pid,undefined},
                  {name,auth_cache},
                  {mfa,{couch_auth_cache,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,1000},
                  {child_type,worker}]

[error] [<0.79.0>] {error_report,<0.32.0>,
    {<0.79.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}]}]}}

=SUPERVISOR REPORT==== 17-Jul-2010::19:09:51 ===
     Supervisor: {local,couch_server_sup}
     Context:    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}]


=CRASH REPORT==== 17-Jul-2010::19:09:51 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.32.0>
    registered_name: []
    exception exit: {bad_return,
                        {{couch_app,start,
                             [normal,
                              ["/usr/local/etc/couchdb/default.ini",
                               "/usr/local/etc/couchdb/local.ini"]]},
                         {'EXIT',
                             {{badmatch,{error,shutdown}},
                              [{couch_server_sup,start_server,1},
                               {application_master,start_it_old,4}]}}}}
      in function  application_master:init/4
    ancestors: [<0.31.0>]
    messages: [{'EXIT',<0.33.0>,normal}]
    links: [<0.31.0>,<0.7.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 24
    reductions: 161
  neighbours:

=INFO REPORT==== 17-Jul-2010::19:09:51 ===
    application: couch
    exited: {bad_return,{{couch_app,start,
                                    [normal,
                                     ["/usr/local/etc/couchdb/default.ini",
                                      "/usr/local/etc/couchdb/local.ini"]]},
                         {'EXIT',{{badmatch,{error,shutdown}},
                                  [{couch_server_sup,start_server,1},
                                   {application_master,start_it_old,4}]}}}}
    type: temporary

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message