Couchbase Server issues on OS X El Capitan


#1

Hi,

My Couchbase Server crashes after I upgraded OS X to El Capitan. Tried reinstalling the server (4.0.0-4047) but it still crashes on startup.

Searching through the issues db suggests that it may be related to libstdc++ library. Has anyone experienced similar issue or is it related to my installation?

Thanks,

=erl_crash_dump:0.3
Thu Oct  1 14:08:10 2015
Slogan: Kernel pid terminated (application_controller) ({application_start_failure,ns_server,{{shutdown,{failed_to_start_child,ns_server_nodes_sup,{shutdown,{failed_to_start_child,wait_for_couchdb_node,{abn
System version: Erlang R16B03-1 (erts-5.10.4.0.0.1) [source-62b74b5] [64-bit] [smp:8:8] [async-threads:16] [kernel-poll:true]
Compiled: Wed Jul  8 23:30:53 2015

    =========================CRASH REPORT=========================
  crasher:
    initial call: application_master:init/4
    pid: <0.38.0>
    registered_name: []
    exception exit: {{shutdown,
                      {failed_to_start_child,cb_couch_sup,
                       {shutdown,
                        {failed_to_start_child,couch_app,
                         {'EXIT',
                          {{badmatch,
                            {error,
                             {shutdown,
                              {failed_to_start_child,
                               couch_secondary_services,
                               {shutdown,
                                {failed_to_start_child,
                                 spatial_view_manager_dev,
                                 {mapreduce_nif_not_loaded,
                                  [{erlang,nif_error,
                                    [mapreduce_nif_not_loaded],
                                    []},
                                   {mapreduce,set_timeout,1,
                                    [{file,
                                      "/Users/jenkins/jenkins/workspace/sherlock-unix/couchdb/src/mapreduce/mapreduce.erl"},
                                     {line,85}]},

Map Reduce Views failing when key provided
#2

I also upgraded to El Capitan, and cannot start Couchbase anymore.


#3

Same here, also updated to El Capitan…

Web console doesn’t work… It’s not even listen to port 8091.

Using Couchbase 4 RC0


Couchbase Server 4.0 issue
#4

Hi folks, Just a FYI, OS X El Capitan was release very recently September 30th we have not tested on the platform yet. Till we test and certify OS X El Capitan it is not a supported platform for Couchbase.
Thanks!


#5

Same issue. I downgraded to the 3.1.0 and it works.


#6

For reference, this issue is being tracked in our Jira under MB-16435


#7

So basically the problem is the new System Integrity Protection in El Capitan.

One workaround is to disable SIP - from my limited testing this does appear to get 4.0 RC0 working correctly. See Apple’s System Integrity Protection Guide for details on how to do this - but be aware it globally disables SIP on the whole system.


#8

There is now a developer preview build of 4.0 for El Capitan available on the downloads page.

Note El Capitan isn’t yet a supported version of OS X, but please try the developer preview build and see how that works for you.


#9

I downloaded the “El Capitan” version. It seems to be running but requests fail.

CSEAL-M429701:Couchbase andrewrosenberg$ curl localhost:8091
curl: (7) Failed to connect to localhost port 8091: Connection refused