[MB-3419] unable to install membase on the default Amazon VM Created: 07/Feb/11  Updated: 23/Jul/12  Resolved: 22/Dec/11

Status: Resolved
Project: Couchbase Server
Component/s: installer
Affects Version/s: 1.6.5.3
Fix Version/s: 1.8.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Sharon Barr (Inactive) Assignee: Steve Yen
Resolution: Fixed Votes: 0
Labels: 1.7.0-release-notes, 1.7.1-release-notes, 1.8.0-release-notes, 2.0-release-notes, readme
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
AMI id: ami-76f0061f
[ec2-user@ip-10-202-79-243 ~]$ uname --all
Linux ip-10-202-79-243 2.6.34.7-56.40.amzn1.i686 #1 SMP Fri Oct 22 18:48:33 UTC 2010 i686 i686 i386 GNU/Linux



rpm -i membase-server-enterprise_x86_1.6.5.rpm
error: Failed dependencies:
libcrypto.so.6 is needed by membase-server-1.6.5-1.i386
libssl.so.6 is needed by membase-server-1.6.5-1.i386


 Comments   
Comment by Sharon Barr (Inactive) [ 07/Feb/11 ]
Amazon default VM is some hybrid of REHL but not exactly that.

These errors are stemming from un-necessary erlang dependencies on openssl.

Installing with -nodeps solve this problem for now
sudo rpm -i membase-server-enterprise_x86_64_1.6.5.rpm --nodeps

Assigning to Alk to remove these dependencies.
Comment by Steve Yen [ 07/Feb/11 ]
Not sure if they can/should be removed?

We have some md5 & openssl mentions in the code (from a quick git grep). These are primarily from the old email alerting functionality that was in 1.0 (as a lower-level library which should still work), but was dropped on the march towards 1.6.
Comment by Aleksey Kondratenko [ 07/Feb/11 ]
I remember we had some issues with crypto on windows. Will have to recheck.

http://review.membase.org/4459
Comment by Farshid Ghods (Inactive) [ 10/May/11 ]
still facing the same issue


[2011-05-09 22:03:37,068] - [remote_util] [140735072689312] - ERROR - error: Failed dependencies:
[2011-05-09 22:03:37,068] - [remote_util] [140735072689312] - ERROR - libcrypto.so.6 is needed by membase-server-1.6.5.4r-1.i386
[2011-05-09 22:03:37,069] - [remote_util] [140735072689312] - ERROR - libssl.so.6 is needed by membase-server-1.6.5.4r-1.i386


I am using the basic amazon AMI which is the version developers and people will mostly try to do custom installation ( other than the right scale templates)
Comment by Steve Yen [ 16/May/11 ]
Hi Farshid,
Can you add the exact amazon AMI that you used, or ideally, more explicit steps on how you spun up that "default Amazon VM"?
Thanks
Comment by Steve Yen [ 16/May/11 ]
Nevermind -- I see it's ami-76f0061f
Comment by Steve Yen [ 16/May/11 ]
Using t1.micro, 613MB...

ami-76f0061f seems to be amazon's blessed linux distribution and seems to be a variant of Centos (unknown which one), but not exactly Centos.


[ec2-user@domU-12-31-39-07-A9-56 ~]$ yum list openssl
Loaded plugins: fastestmirror, security
Installed Packages
openssl.i686 1.0.0a-4.1.6.amzn1 installed
[ec2-user@domU-12-31-39-07-A9-56 ~]$ yum deplist openssl
Loaded plugins: fastestmirror, security
Finding dependencies:
package: openssl.i686 1.0.0a-4.1.6.amzn1
  dependency: libz.so.1
   provider: zlib.i386 1.2.3-24.6.amzn1
  dependency: libc.so.6(GLIBC_2.1.3)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: mktemp
   provider: mktemp.i386 3:1.5-23.2.2.7.amzn1
   provider: coreutils.i686 8.4-7.9.amzn1
  dependency: libc.so.6(GLIBC_2.4)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libresolv.so.2
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libcom_err.so.2
   provider: libcom_err.i386 1.41.12-2.7.amzn1
  dependency: /sbin/ldconfig
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: /bin/sh
   provider: bash.i686 4.1.2-2.6.amzn1
  dependency: libcrypto.so.10
   provider: openssl.i686 1.0.0a-4.1.6.amzn1
  dependency: libkrb5.so.3
   provider: krb5-libs.i386 1.8.1-6.10.amzn1
  dependency: libc.so.6(GLIBC_2.1)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: ca-certificates >= 2008-5
   provider: ca-certificates.noarch 2010.63-3.2.amzn1
  dependency: libkrb5.so.3(krb5_3_MIT)
   provider: krb5-libs.i386 1.8.1-6.10.amzn1
  dependency: libc.so.6(GLIBC_2.7)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libc.so.6(GLIBC_2.3.4)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libdl.so.2(GLIBC_2.1)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libk5crypto.so.3
   provider: krb5-libs.i386 1.8.1-6.10.amzn1
  dependency: libk5crypto.so.3(k5crypto_3_MIT)
   provider: krb5-libs.i386 1.8.1-6.10.amzn1
  dependency: rtld(GNU_HASH)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: config(openssl) = 1.0.0a-4.1.6.amzn1
   provider: openssl.i686 1.0.0a-4.1.6.amzn1
  dependency: libgssapi_krb5.so.2
   provider: krb5-libs.i386 1.8.1-6.10.amzn1
  dependency: libdl.so.2
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libc.so.6(GLIBC_2.3)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libdl.so.2(GLIBC_2.0)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libc.so.6
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libc.so.6(GLIBC_2.0)
   provider: glibc.i686 2.12-1.2.21.amzn1
  dependency: libssl.so.10
   provider: openssl.i686 1.0.0a-4.1.6.amzn1
Comment by Steve Yen [ 16/May/11 ]
http://review.membase.org/6301
http://review.membase.org/#change,6300
Comment by Farshid Ghods (Inactive) [ 17/May/11 ]
Integrated in github-ns-server #119 (See [http://qa.hq.northscale.net/job/github-ns-server/119/])
    MB-3419 - DONT_START_COUCH to avoid SSL dependency

Aliaksey Kandratsenka :
Files :
* membase-server.sh.in
Comment by Steve Yen [ 24/May/11 ]
Still hampered by wanting libcrypto/libsso.so.6 in membase-server-community_x86_basestar-329-g9eb837d.rpm
Comment by Steve Yen [ 24/Jun/11 ]
Here's a command that might work to get the correct libcrypto.so.6 and libssl.so.6 going. Run this before installing membase...

  sudo yum install openssl098e

This was tested with couchbase-server-2.0.0r
Comment by Farshid Ghods (Inactive) [ 22/Dec/11 ]
fixed in 1.8.0
Generated at Thu Jul 24 06:39:33 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.