couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: Error launching couchdb after building from sources
Date Wed, 12 Oct 2011 17:31:30 GMT
On Wed, Oct 12, 2011 at 9:39 AM, Arnaud Bailly <arnaud.oqube@gmail.com> wrote:
> Actually, here is a bit more information:
>  - Xubuntu 11.04
>  - $ erl
> Erlang R13B03 (erts-5.7.4) [source] [64-bit] [smp:4:4] [rq:4]
> [async-threads:0] [hipe] [kernel-poll:false]
>
> I installed mozjs, erlang, icu from apt-get. Got compilation without errors,
> of course.
>
> Thanks
> Arnaud
>
> On Wed, Oct 12, 2011 at 4:37 PM, Arnaud Bailly <arnaud.oqube@gmail.com>wrote:
>
>> Hello,
>> After building couchdb from sources, I try to launch it and got the
>> following error:
>>
>> Apache CouchDB 1.3.0a-28f80ae-git (LogLevel=info) is starting.
>>
>> =CRASH REPORT==== 12-Oct-2011::16:36:21 ===
>>   crasher:
>>     initial call: couch_drv:init/1
>>     pid: <0.87.0>
>>     registered_name: []
>>     exception exit: "Driver compiled with incorrect version of
>> erl_driver.h"
>>       in function  gen_server:init_it/6
>>     ancestors: [couch_primary_services,couch_server_sup,<0.33.0>]
>>     messages: []
>>     links: [<0.86.0>]
>>     dictionary: []
>>     trap_exit: false
>>     status: running
>>     heap_size: 610
>>     stack_size: 24
>>     reductions: 126
>>   neighbours:
>>
>> =SUPERVISOR REPORT==== 12-Oct-2011::16:36:21 ===
>>      Supervisor: {local,couch_primary_services}
>>      Context:    start_error
>>      Reason:     "Driver compiled with incorrect version of erl_driver.h"
>>      Offender:   [{pid,undefined},
>>                   {name,collation_driver},
>>                   {mfa,{couch_drv,start_link,[]}},
>>                   {restart_type,permanent},
>>                   {shutdown,infinity},
>>                   {child_type,supervisor}]
>>
>>
>> =SUPERVISOR REPORT==== 12-Oct-2011::16:36:21 ===
>>      Supervisor: {local,couch_server_sup}
>>      Context:    start_error
>>      Reason:     shutdown
>>      Offender:   [{pid,undefined},
>>                   {name,couch_primary_services},
>>                   {mfa,{couch_primary_sup,start_link,[]}},
>>                   {restart_type,permanent},
>>                   {shutdown,infinity},
>>                   {child_type,supervisor}]
>>
>>
>> =CRASH REPORT==== 12-Oct-2011::16:36:21 ===
>>   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: 610
>>     stack_size: 24
>>     reductions: 146
>>   neighbours:
>>
>> =INFO REPORT==== 12-Oct-2011::16:36:21 ===
>>     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
>>
>>
>> What am I doing wrong ?
>>
>> Thanks
>> Arnaud Bailly
>>
>

It looks like you've compiled on one version of Erlang and are trying
to run it with different version. Did you copy the build output
between machines maybe?

Mime
View raw message