Couchbase 2.0 on gentoo
Is there any way to get run couchbase server 2.0 on gentoo? I've tried to build from source and install from rpm package, but both failed. Are there any instructions or even ebuild?
Thanks. Your ebuild installed successfully, but erlang server crashes at start. Here is crashdump: http://ompldr.org/vaHVhYQ/erl_crash.dump.03-21-2013-22:08:25.6236
Which version of Erlang do you have on your system?
This ebuild uses deb package. So as I understand it comes with built-in erlang and uses it (located in /opt/couchbase/ folder). I have no installed erlang in system and it crashed. Then I've installed erlang v15.2.2 (gentoo versioning), but nothing change (also changed symlinks to system erlang). It still crashes at start. Also tried new enterprise version 2.0.1 - same result.
Probably this post will help https://groups.google.com/d/msg/couchbase/o73H2BRZl1o/qqfjr8e5dbIJ
I create symlinks:
/usr/lib64/libssl.so.0.9.8 -> /usr/lib64/libssl.so
/usr/lib64/libcrypto.so.0.9.8 -> /usr/lib64/libcrypto.so
All works!
I had installed only openssl version 1.0.1c. I've installed 0.9.8y (now I have both installed). I didn't create any symlinks and installed new community version 2.0.1 (thanks to mrtime's ebuilds). And now it really works. So I think it just needs 0.9.8 version of openssl installed (mrtime's ebuild require >=0.9.8e, so 1.0.0 satisfies this)
So couchbase devs can add those ebuilds to download page.
Many thanks for help!
these links are invalid
is there any other ebuilds?
Here: https://bitbucket.org/SkeLLLa/gentoo-couchbase-ebuilds/
If something not works (emerge) try to remove this line:
<dev-libs/openssl-1.0.0
If you have only >=dev-libs/openssl-1.0.0 you need to install dev-libs/openssl-0.9.8.
If something not works (emerge) try to remove this line:
<dev-libs/openssl-1.0.0
If you have only >=dev-libs/openssl-1.0.0 you need to install dev-libs/openssl-0.9.8.
it works!
thanks a lot
Is it possible to get a rebuild that is pure source compile and not binary ?
Thx
you can find source tarball on this page http://www.couchbase.com/download
I've tried to build it, but haven't find out correct erlang version needed to be merged to get couchbase working.
thank you, i have a question. so i have a cluster of 10 nodes and my goal is for all my web servers to use that cluster for sessions. what i did first was to setup corosync with a floating ip between the cluster of couch base servers. the issue was when the node with the floating ip failed, tons of our web servers in the a farm would stall.
to solve the issue i made each of our web servers a couch base server and put all into a cluster which solved the problem. our load balancer would send connections around between 24 web heads and the session was never lost.
the issue now is that the web heads are overloading due to all the couchdb/memcache load.
question is if i setup a couchbase cluster independent from the web servers and only install moxi on the web servers, how would i configure that moxi server to be aware of all couhcbase servers for redundency and load balancing.
the goal is to have no central point of failure for the web servers to go down. i searched the web hot to point the moxi to all couhcbase servers but i cant figure it out. can you poossibly give me a exmaple config how to setup a standalone moxi server to connect to all couhcbase servers the same way as if they are local to the couchbase server?
where can i get the source for moxi-server 1.8 ?
i figured how to configure it as a standalone moxi on each web head in two ways:
1) connect to all couhcbase servers on port 8091 like this.. url=http://couhcbase2:8091/..,http://couchbase2:8091/..
2) connect to all couchbase servers on port 11211 like this 11211=couchbase1:11211,couchbase2:11211,...
both methods work but if one of the listed couchbase servers goes down, random requests fail when connecting to the standalone moxi instance..
My goal is to have no single point of failure. Any help is greatly appreciated.
(already tried NFS for sessions sharing but obviously couldn't scale =))
My couchbase server 2.0.0 ebuilds
http://static.astrazip.net/couchbase/couchbase-server-enterprise.tar.gz
http://static.astrazip.net/couchbase/couchbase-server-community.tar.gz