Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-3419

unable to install membase on the default Amazon VM

    Details

      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

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-3419=message:MB-3419

        Activity

        Hide
        sharon Sharon Barr (Inactive) added a comment -

        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.

        Show
        sharon Sharon Barr (Inactive) added a comment - 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.
        Hide
        steve Steve Yen added a comment -

        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.

        Show
        steve Steve Yen added a comment - 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.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        I remember we had some issues with crypto on windows. Will have to recheck.

        http://review.membase.org/4459

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - I remember we had some issues with crypto on windows. Will have to recheck. http://review.membase.org/4459
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        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)

        Show
        farshid Farshid Ghods (Inactive) added a comment - 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)
        Hide
        steve Steve Yen added a comment -

        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

        Show
        steve Steve Yen added a comment - 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
        Hide
        steve Steve Yen added a comment -

        Nevermind – I see it's ami-76f0061f

        Show
        steve Steve Yen added a comment - Nevermind – I see it's ami-76f0061f
        Hide
        steve Steve Yen added a comment -

        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

        Show
        steve Steve Yen added a comment - 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
        Show
        steve Steve Yen added a comment - http://review.membase.org/6301 http://review.membase.org/#change,6300
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        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
        Show
        farshid Farshid Ghods (Inactive) added a comment - 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
        Hide
        steve Steve Yen added a comment -

        Still hampered by wanting libcrypto/libsso.so.6 in membase-server-community_x86_basestar-329-g9eb837d.rpm

        Show
        steve Steve Yen added a comment - Still hampered by wanting libcrypto/libsso.so.6 in membase-server-community_x86_basestar-329-g9eb837d.rpm
        Hide
        steve Steve Yen added a comment -

        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

        Show
        steve Steve Yen added a comment - 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
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        fixed in 1.8.0

        Show
        farshid Farshid Ghods (Inactive) added a comment - fixed in 1.8.0

          People

          • Assignee:
            steve Steve Yen
            Reporter:
            sharon Sharon Barr (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes