Install from sources on Fedora
Hi
I am trying to deploy a couchbase server on my local Fedora 17 x64 machine (Dual Core, 4G RAM).
I almost successfully built the couchbase server (no error observed - I had to set up erlang path during the build) but as soon as I try to start the server, it fails:
Here is the output
Eshell V5.8.4 (abort with ^G)
1> {error_logger,{{2013,2,1},{21,34,36}},supervisor_report,[{supervisor,{local,cb_couch_sup}},{errorContext,start_error},{reason,{'EXIT',{undef,[{couch_app,start,[fake,[]]},{supervisor,do_start_child,2},{supervisor,start_children,3},{supervisor,init_children,2},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}}},{offender,[{pid,undefined},{name,couch_app},{mfargs,{couch_app,start,[fake,[]]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2013,2,1},{21,34,36}},supervisor_report,[{supervisor,{local,ns_server_cluster_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,cb_couch_sup},{mfargs,{cb_couch_sup,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,supervisor}]}]}
{error_logger,{{2013,2,1},{21,34,36}},std_info,[{application,ns_server},{exited,{shutdown,{ns_server,start,[normal,[]]}}},{type,temporary}]}
{"init terminating in do_boot",{{badmatch,{error,{shutdown,{ns_server,start,[normal,[]]}}}},[{init,start_it,1},{init,start_em,1}]}}
Erlang has closed
/usr/local/lib/erlang/lib/os_mon-2.2.6/priv/bin/memsup: Erlang has closed.
Crash dump was written to: erl_crash.dump.02-01-2013-21:34:33.1694
init terminating in do_boot ()
I can provide dump content but I have really no idea of what this issue can be
Thanks for any help
Best Regards
Hi and thanks for the answer.
Interestingly I followed the link but the cbcollect_info tool complained on missing files like runtime.ini.
Btw I shared my dump using pcohen as "Company name"
A few more details: I started with the rpm but as it was complaining about missing libssl.so.6 and libcrypto.so.6, I switched on the source/compile mode. The rpm mode worked as a charm under a Centos (just needed to install a dedicated OpenSSL version 9.8e or something like that).
Under Fedora the build was not difficult (a few missing libs but was straightforward until the start failed)- BTW I did the same under FreeBSD and went exactly to the same issue on the same machine.
As I had no idea, I installed the rpm telling installer to ignore missing dependencies and creating fake symlinks with the expected missing libs version. In that case it was better and started partially because I saw error messages like moxi was run as root - but I had not much time to investigate on this part.
Tell me if you have correct access to the dump or if you need more details
Thanks again for your support
Best Regards
Hello,
Not sure to understand what is your final status here?
- have you finally got Couchbase to work on your environment?
- are you still stucked?
For the Fedora build from sources, the best document to follow will obviously be this one:
http://www.couchbase.com/wiki/display/couchbase/Build+Couchbase+Server+2...
Regards
Hi sorry
I might have been unclear.
I am still stuck but did not have much time to look at it since last week end.
Thanks for the link, I will try to reproduce all the steps because I tried to rely heavily on existing packages in the distribution and there might be some issues. I will try to have a look
Thanks again for this information
Best Regards
Hi
Some news
I followed (partially) the recommended page on how to install couchbase on Centos.
I figured that the problem was mainly related to Erlang so I kept all the other dependencies under my package manager responsibility (main Fedora repo).
I just rebuilt and deployed the Erlang part and rebuilt the source using this new Erlang installation and it worked fine.
I did not yet intensively tested it but I was able to create cluster and buckets and add (through the web interface) some docs.
To sum up, so far for my Fedora 17 & 18 versions, I was able to build couchbase from sources with all repositories versions dependencies except the erlang one that I had to rebuild following the http://www.couchbase.com/wiki/display/couchbase/Build+Couchbase+Server+2... page.
Thank you very much for your help.
Note: I also tried on BSD (sorry it is currently a kind of illness on my side to make stuffs work on BSD but I tried). Again I simply regenerated the Erlang part and rebuilt the whole couchbase sources. Not many difficulties except for sigar where I need some tweeks around UTMP (SIGAR_NO_UTMP and SIGAR_WITH_UTMPX).
This time it started well except I got some errors that seem related to Moxi. I was able to create a cluster but failed to insert some keys. It was a bit late and expect to look a bit deeper this evening. But maybe I should open another topic on that to avoid some mess unless you think BSD is out of scope of the support.
I'm having this exact problem on opensuse 12.2. I tried compiling the suggested version of erlang as pcohen mentioned, but I am still getting this error.
Hello,
It will be great to have the dump. To share it, you can follow the steps documented here
http://www.couchbase.com/wiki/display/couchbase/Working+with+the+Couchba...
Have you tried to install the RPM?
Regards
Tug
@tgrall