Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Problem installing binary on debian

8 replies [Last post]
  • Login or register to post comments
Fri, 10/08/2010 - 21:43
martian
Offline
Joined: 10/08/2010
Groups: None

Hello,

I am trying to install the membase binary on a ubuntu machine (64 bit) by typing:
sudo dpkg -i membase-server_1.6.0beta4_x86_64.deb.deb

Error messages:
Unpacking membase-server (from membase-server_1.6.0beta4_x86_64.deb.deb) ...
groupadd: invalid option -- r

dpkg: error processing membase-server_1.6.0beta4_x86_64.deb.deb (--install):
subprocess pre-installation script returned error exit status 1

Please help if you can. Thank you.

Top
  • Login or register to post comments
Sat, 10/09/2010 - 04:02
elektron99
Offline
Joined: 09/08/2010
Groups: None

Hi,
You should create manually group and user befrore install binary:
groupadd northscale
useradd -g northscale -d /opt/NorthScale -s /bin/bash -c "NorthScale system user" northscale

A.

Top
  • Login or register to post comments
Sat, 10/09/2010 - 06:25
martian
Offline
Joined: 10/08/2010
Groups: None

Hello Elektron,

The NorthScale server has been started.
Thanks very much!

Top
  • Login or register to post comments
Sat, 10/09/2010 - 13:57
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Martian, glad you got it worked out. Can you give me the specifics of the Ubuntu version you trying to install on?

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
  • Login or register to post comments
Sat, 10/09/2010 - 20:51
martian
Offline
Joined: 10/08/2010
Groups: None

Sure, Perry:

I am using Alestic's 64-bit Ubuntu 8.04 (Hardy Heron) image on AWS (ami-005db969)

Top
  • Login or register to post comments
Sat, 10/09/2010 - 20:55
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

Thanks Martian, that's perfect. You might want to upgrade your image to the 9.x series or 10.x. We've done much more testing on those OS'es than the 8.x series but things should still work as expected.

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
  • Login or register to post comments
Thu, 02/17/2011 - 06:22
Art
Offline
Joined: 02/17/2011
Groups: None

Cannot install from binary on Ubuntu 8.04 (32 bit).


root@4495:~# groupadd northscale
root@4495:~# useradd -g northscale -d /opt/NorthScale -s /bin/bash -c "NorthScale system user" northscale
root@4495:~#
root@4495:~# dpkg -i membase-server-community_x86_1.6.5.deb
(Reading database ... 47237 files and directories currently installed.)
Unpacking membase-server (from membase-server-community_x86_1.6.5.deb) ...
groupadd: invalid option -- 'r'
Usage: groupadd [options] GROUP


Options:
  -f, --force                   force exit with success status if the specified
                                group already exists
  -g, --gid GID                 use GID for the new group
  -h, --help                    display this help message and exit
  -K, --key KEY=VALUE           overrides /etc/login.defs defaults
  -o, --non-unique              allow create group with duplicate
                                (non-unique) GID


dpkg: error processing membase-server-community_x86_1.6.5.deb (--install):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 membase-server-community_x86_1.6.5.deb
 

Top
  • Login or register to post comments
Thu, 02/17/2011 - 09:24
serpigo
Offline
Joined: 02/11/2011
Groups: None

 I'm getting this error as well. It's a problem with the preinstall script in the debian package.

 
 
 17 case "$1" in
 18     install|upgrade)
 19     getent group membase >/dev/null || groupadd -r membase || exit 1
 20     getent passwd membase >/dev/null || \
 21     useradd -r -g membase -d /opt/membase -s /bin/bash \
 22            -c "Membase system user" membase || exit 1
 23        exit 0
 24     ;;
 25 
 groupadd is getting called with a -r. This flag is available only in RedHat. This shouldn't be in the debian package. A workaround is to add the group and user (membase/membase) manually. 

 

Top
  • Login or register to post comments
Fri, 02/18/2011 - 04:56
Art
Offline
Joined: 02/17/2011
Groups: None

Ok! It work!


thank you very much!

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