Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Couchbase 2.0 on gentoo

16 replies [Last post]
  • Login or register to post comments
Wed, 03/20/2013 - 15:05
SkeLLLa
Offline
Joined: 06/22/2012
Groups: None

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?

Top
  • Login or register to post comments
Thu, 03/21/2013 - 09:02
mrtime
Offline
Joined: 03/21/2013
Groups: None

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

Top
  • Login or register to post comments
Thu, 03/21/2013 - 13:14
SkeLLLa
Offline
Joined: 06/22/2012
Groups: None

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

Top
  • Login or register to post comments
Fri, 03/22/2013 - 00:51
tgrall
Offline
Joined: 09/05/2012
Groups: None

Which version of Erlang do you have on your system?

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Fri, 03/22/2013 - 04:25
SkeLLLa
Offline
Joined: 06/22/2012
Groups: None

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.

Top
  • Login or register to post comments
Fri, 03/22/2013 - 02:50
avsej
avsej's picture
Offline
Joined: 06/15/2011
Groups: None

Probably this post will help https://groups.google.com/d/msg/couchbase/o73H2BRZl1o/qqfjr8e5dbIJ

__________________

Find me on FreeNode IRC in #libcouchbase channel

Top
  • Login or register to post comments
Fri, 04/12/2013 - 07:51
s_korobeiko
Offline
Joined: 04/12/2013
Groups: None

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!

Top
  • Login or register to post comments
Fri, 04/12/2013 - 11:42
SkeLLLa
Offline
Joined: 06/22/2012
Groups: None

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!

Top
  • Login or register to post comments
Mon, 05/06/2013 - 23:59
dongyi
Offline
Joined: 05/06/2013
Groups: None

these links are invalid

is there any other ebuilds?

Top
  • Login or register to post comments
Tue, 05/07/2013 - 14:00
SkeLLLa
Offline
Joined: 06/22/2012
Groups: None

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.

Top
  • Login or register to post comments
Tue, 05/07/2013 - 20:15
dongyi
Offline
Joined: 05/06/2013
Groups: None

SkeLLLa wrote:
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.

it works!

thanks a lot

Top
  • Login or register to post comments
Mon, 06/03/2013 - 03:42
bobbymc
Offline
Joined: 06/03/2013
Groups: None

Is it possible to get a rebuild that is pure source compile and not binary ?

Thx

Top
  • Login or register to post comments
Mon, 06/03/2013 - 03:44
avsej
avsej's picture
Offline
Joined: 06/15/2011
Groups: None

you can find source tarball on this page http://www.couchbase.com/download

__________________

Find me on FreeNode IRC in #libcouchbase channel

Top
  • Login or register to post comments
Mon, 06/03/2013 - 05:13
SkeLLLa
Offline
Joined: 06/22/2012
Groups: None

I've tried to build it, but haven't find out correct erlang version needed to be merged to get couchbase working.

Top
  • Login or register to post comments
Mon, 06/03/2013 - 18:09
bobbymc
Offline
Joined: 06/03/2013
Groups: None

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?

Top
  • Login or register to post comments
Mon, 06/03/2013 - 20:04
bobbymc
Offline
Joined: 06/03/2013
Groups: None

where can i get the source for moxi-server 1.8 ?

Top
  • Login or register to post comments
Tue, 06/04/2013 - 05:09
bobbymc
Offline
Joined: 06/03/2013
Groups: None

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 =))

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker