Eric: Thank you, that was definitively the problem. Removing the erlang/lib directory and redoing a 'make install' fixed it.

Thank you!

On 8/23/2010 2:36 PM, Eric Carlson wrote:
  If you installed from source in /usr/local before, you should look to
see what is in /usr/local/lib/couchdb/erlang/lib. Make install doesn't
remove older versions of the Erlang libraries, and some of the updates
have included newer versions of ibrowse and mochiweb (for example).
Erlang can become confused when multiple versions of libraries are
available. If this is the problem, the simplest solution is to 'sudo rm
-r' everything in /usr/local/lib/couchdb/erlang/lib and redo the 'sudo
make install'. Although mine is from trunk - so your couch-1.x.x
directory will likely have a different name - I believe that any 1.x.x
installation will leave the following after a fresh 'sudo make install':

/usr/local/lib/couchdb/erlang/lib$ ls -1
couch-1.1.0a987940
erlang-oauth
etap
ibrowse-1.5.2
mochiweb-7c2bc2

Hope that helps,
Eric

On 23/08/10 12:36, ericdes wrote:
I had installed from source before (in /usr/local) and I did it too
for the update (in /usr/local too).

Eric.

On 8/23/2010 12:06 AM, Randall Leeds wrote:
If you're going to run from within the tree, make sure you do `make
dev` first. It almost looks like it's trying to find a config file and
failing. It also look as though it's look for /usr/local/.....
installation.

Are you upgrading from stock ubuntu 0.9 couch or had you installed
from source before as well?

On Sun, Aug 22, 2010 at 13:56, ericdes<[email protected]>   wrote:
I'm starting a new thread about not being able to connect to the server
(after an update from 0.9 to 1.0.1) on my Ubuntu 9.04. I ran a
./utils/run
and found out that it CouchDB is crashing... Here's the report:

Apache CouchDB 1.0.1 (LogLevel=info) is starting.

=CRASH REPORT==== 23-Aug-2010::02:21:37 ===
   crasher:
     pid:<0.78.0>
     registered_name: couch_log
     exception exit: {{badmatch,
                          {'EXIT',
                              {{badmatch,{error,enoent}},
                               [{couch_log,init,1},
                                {gen_event,server_add_handler,4},
                                {gen_event,handle_msg,5},
                                {proc_lib,init_p_do_apply,3}]}}},
                      [{couch_event_sup,init,1},
                       {gen_server,init_it,6},
                       {proc_lib,init_p_do_apply,3}]}
       in function  gen_server:init_it/6
     initial call: couch_event_sup:init/1
     ancestors: [couch_primary_services,couch_server_sup,<0.31.0>]
     messages: []
     links: [<0.77.0>,<0.5.0>]
     dictionary: []
     trap_exit: false
     status: running
     heap_size: 377
     stack_size: 23
     reductions: 122
   neighbours:

=SUPERVISOR REPORT==== 23-Aug-2010::02:21:37 ===
      Supervisor: {local,couch_primary_services}
      Context:    start_error
      Reason:     {{badmatch,{'EXIT',{{badmatch,{error,enoent}},
                                      [{couch_log,init,1},
                                       {gen_event,server_
      Offender:   [{pid,undefined},
                   {name,couch_log},
                   {mfa,{couch_log,start_link,[]}},
                   {restart_type,permanent},
                   {shutdown,brutal_kill},
                   {child_type,worker}]


=SUPERVISOR REPORT==== 23-Aug-2010::02:21:37 ===
      Supervisor: {local,couch_server_sup}
      Context:    start_error
      Reason:     shutdown
      Offender:   [{pid,undefined},
                   {name,couch_primary_services},
                   {mfa,{couch_server_sup,start_primary_services,[]}},
                   {restart_type,permanent},
                   {shutdown,infinity},
                   {child_type,supervisor}]


=CRASH REPORT==== 23-Aug-2010::02:21:37 ===
   crasher:
     pid:<0.30.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.29.0>]
     messages: [{'EXIT',<0.31.0>,normal}]
     links: [<0.29.0>,<0.6.0>]
     dictionary: []
     trap_exit: true
     status: running
     heap_size: 610
     stack_size: 23
     reductions: 101
   neighbours:

=INFO REPORT==== 23-Aug-2010::02:21:37 ===
     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





Reply via email to