incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <nestor.urqu...@gmail.com>
Subject Re: OSX ./utils/run does work but simple couchdb command does not
Date Fri, 21 Oct 2011 18:32:05 GMT
Just in case someone else have problems upgrading couchdb to 1.1.1 in
OSX here are the detailed instructions I followed
http://thinkinginsoftware.blogspot.com/2011/10/upgrading-couchdb-in-osx.html

Thanks!
-Nestor

On Fri, Oct 21, 2011 at 9:49 AM, Nestor Urquiza
<nestor.urquiza@gmail.com> wrote:
> BTW there is clearly a mess with the installation in my OSX box
> because couchdb reported version is 1.1.1 event though when the server
> starts it says 1.3.0:
>
> $ couchdb -V
> couchdb - Apache CouchDB 1.1.0
>
> On Fri, Oct 21, 2011 at 9:31 AM, Nestor Urquiza
> <nestor.urquiza@gmail.com> wrote:
>> Thanks for this catch. Indeed I installed at some point 1.3.0 from git
>> and I was hoping a fresh install from the svn 1.1.1 would replace
>> existing 1.3.0.
>>
>> Could you help pointing out how to uninstall version 1.3.0? I believe
>> several folders/files will need to be deleted.
>>
>> Thanks again!
>> -Nestor
>>
>> On Fri, Oct 21, 2011 at 9:27 AM, Robert Newson <rnewson@apache.org> wrote:
>>>> Apache CouchDB 1.3.0a-7c989ec-git (LogLevel=info) is starting.
>>>
>>> 1.3.0a-7c989ec is not 1.1.1.
>>>
>>> B.
>>>
>>> On 21 October 2011 14:24, Nestor Urquiza <nestor.urquiza@gmail.com> wrote:
>>>> Hello,
>>>>
>>>> It all started after I upgraded to 1.1.1. I cannot longer start the
>>>> server issuing just 'couchdb' command as before.
>>>> $ couchdb
>>>>
>>>> =INFO REPORT==== 21-Oct-2011::09:18:58 ===
>>>>    alarm_handler: {set,{{disk_almost_full,"/"},[]}}
>>>>
>>>> =INFO REPORT==== 21-Oct-2011::09:18:58 ===
>>>>    alarm_handler: {set,{system_memory_high_watermark,[]}}
>>>> Apache CouchDB 1.3.0a-7c989ec-git (LogLevel=info) is starting.
>>>> [error] [<0.102.0>] {error_report,<0.30.0>,
>>>>                        {<0.102.0>,supervisor_report,
>>>>                         [{supervisor,{local,couch_secondary_services}},
>>>>                          {errorContext,start_error},
>>>>                          {reason,{already_started,<0.103.0>}},
>>>>                          {offender,
>>>>                              [{pid,undefined},
>>>>                               {name,db_update_notifier},
>>>>                               {mfargs,
>>>>                                   {couch_db_update_notifier_sup,start_link,
>>>>                                       []}},
>>>>                               {restart_type,permanent},
>>>>                               {shutdown,brutal_kill},
>>>>                               {child_type,worker}]}]}}
>>>>
>>>> =SUPERVISOR REPORT==== 21-Oct-2011::09:18:58 ===
>>>>     Supervisor: {local,couch_secondary_services}
>>>>     Context:    start_error
>>>>     Reason:     {already_started,<0.103.0>}
>>>>     Offender:   [{pid,undefined},
>>>>                  {name,db_update_notifier},
>>>>                  {mfargs,{couch_db_update_notifier_sup,start_link,[]}},
>>>>                  {restart_type,permanent},
>>>>                  {shutdown,brutal_kill},
>>>>                  {child_type,worker}]
>>>>
>>>> [error] [<0.89.0>] {error_report,<0.30.0>,
>>>>                       {<0.89.0>,supervisor_report,
>>>>                        [{supervisor,{local,couch_server_sup}},
>>>>                         {errorContext,start_error},
>>>>                         {reason,shutdown},
>>>>                         {offender,
>>>>                             [{pid,undefined},
>>>>                              {name,couch_secondary_services},
>>>>                              {mfargs,{couch_secondary_sup,start_link,[]}},
>>>>                              {restart_type,permanent},
>>>>                              {shutdown,infinity},
>>>>                              {child_type,supervisor}]}]}}
>>>>
>>>> =SUPERVISOR REPORT==== 21-Oct-2011::09:18:58 ===
>>>>     Supervisor: {local,couch_server_sup}
>>>>     Context:    start_error
>>>>     Reason:     shutdown
>>>>     Offender:   [{pid,undefined},
>>>>                  {name,couch_secondary_services},
>>>>                  {mfargs,{couch_secondary_sup,start_link,[]}},
>>>>                  {restart_type,permanent},
>>>>                  {shutdown,infinity},
>>>>                  {child_type,supervisor}]
>>>>
>>>>
>>>> =CRASH REPORT==== 21-Oct-2011::09:18:58 ===
>>>>  crasher:
>>>>    initial call: application_master:init/4
>>>>    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.7.0>]
>>>>    dictionary: []
>>>>    trap_exit: true
>>>>    status: running
>>>>    heap_size: 610
>>>>    stack_size: 24
>>>>    reductions: 146
>>>>  neighbours:
>>>>
>>>> =INFO REPORT==== 21-Oct-2011::09:18:58 ===
>>>>    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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I am forced to use ./utils/run:
>>>>
>>>> $ ./utils/run
>>>> Apache CouchDB 1.1.1a1186848 (LogLevel=info) is starting.
>>>> [info] [<0.97.0>] Attempting to start replication
>>>> `568f1ccc0ee091d4684c83ad31ac910b+continuous+create_target` (document
>>>> `by_clientId`).
>>>> Apache CouchDB has started. Time to relax.
>>>>
>>>> My installation is correct as far as I can tell:
>>>> $ openssl md5  /Users/nestor/Downloads/couchdb1.1.x/bin/couchdb
>>>> MD5(/Users/nestor/Downloads/couchdb1.1.x/bin/couchdb)=
>>>> 58329535cc8eb3d44f2325ba9bff0c9c
>>>> $ which couchdb
>>>> /usr/local/bin/couchdb
>>>> $ openssl md5  /usr/local/bin/couchdb
>>>> MD5(/usr/local/bin/couchdb)= 58329535cc8eb3d44f2325ba9bff0c9c
>>>>
>>>> Thanks,
>>>> -Nestor
>>>>
>>>
>>
>

Mime
View raw message