Home Forums HDP on Linux – Installation Missing dependencies when installing in CentOS 6.2

This topic contains 13 replies, has 6 voices, and was last updated by  Sasha J 1 year, 10 months ago.

  • Creator
    Topic
  • #5912

    Wile Lee
    Member

    Can HDP installed in CentOS 6.2?

    After run this command

    # yum install hmc

    I got this error message:

    Loaded plugins: fastestmirror, refresh-packagekit, security
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.nac.net
    * epel: mirror.symnds.com
    * extras: centos.mirror.choopa.net
    * passenger: mirror.hmdc.harvard.edu
    * rpmforge: mirror.teklinks.com
    * updates: mirror.symnds.com
    Setting up Install Process
    Resolving Dependencies
    –> Running transaction check
    —> Package hmc.noarch 0:1.0.0-1.el5 will be installed
    –> Processing Dependency: puppet = 2.7.9 for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: php >= 5 for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: mod_ssl for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: rubygems for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: ruby-devel for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: mod_passenger for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: pdsh for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: php-pdo for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: httpd-devel for package: hmc-1.0.0-1.el5.noarch
    –> Processing Dependency: /usr/bin/php for package: hmc-1.0.0-1.el5.noarch
    –> Running transaction check
    —> Package httpd-devel.x86_64 0:2.2.15-15.el6.centos.1 will be installed
    –> Processing Dependency: httpd = 2.2.15-15.el6.centos.1 for package: httpd-devel-2.2.15-15.el6.centos.1.x86_64
    –> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.15-15.el6.centos.1.x86_64
    –> Processing Dependency: apr-devel for package: httpd-devel-2.2.15-15.el6.centos.1.x86_64
    —> Package mod_passenger.x86_64 1:3.0.12-1.el6 will be installed
    –> Processing Dependency: rubygem-passenger-native-libs = 1:3.0.12-1.el6 for package: 1:mod_passenger-3.0.12-1.el6.x86_64
    —> Package mod_ssl.x86_64 1:2.2.15-15.el6.centos.1 will be installed
    —> Package pdsh.x86_64 0:2.27-1.el5.rf will be installed
    –> Processing Dependency: libhistory.so.5()(64bit) for package: pdsh-2.27-1.el5.rf.x86_64
    –> Processing Dependency: libgenders.so.0()(64bit) for package: pdsh-2.27-1.el5.rf.x86_64
    –> Processing Dependency: libreadline.so.5()(64bit) for package: pdsh-2.27-1.el5.rf.x86_64
    —> Package php.x86_64 0:5.3.3-3.el6_2.8 will be installed
    —> Package php-cli.x86_64 0:5.3.3-3.el6_2.8 will be installed
    —> Package php-pdo.x86_64 0:5.3.3-3.el6_2.8 will be installed
    —> Package puppet.noarch 0:2.7.9-2 will be installed
    –> Processing Dependency: ruby(abi) = 1.8 for package: puppet-2.7.9-2.noarch
    –> Processing Dependency: ruby >= 1.8.1 for package: puppet-2.7.9-2.noarch
    –> Processing Dependency: facter >= 1.5 for package: puppet-2.7.9-2.noarch
    –> Processing Dependency: ruby-shadow for package: puppet-2.7.9-2.noarch
    –> Processing Dependency: /usr/bin/ruby for package: puppet-2.7.9-2.noarch
    –> Processing Dependency: ruby-augeas for package: puppet-2.7.9-2.noarch
    —> Package ruby-devel.x86_64 0:1.8.7.352-7.el6_2 will be installed
    —> Package rubygems.noarch 0:1.3.7-1.el6 will be installed
    –> Processing Dependency: ruby-rdoc for package: rubygems-1.3.7-1.el6.noarch
    –> Running transaction check
    —> Package apr-devel.x86_64 0:1.3.9-5.el6_2 will be installed
    –> Processing Dependency: apr = 1.3.9-5.el6_2 for package: apr-devel-1.3.9-5.el6_2.x86_64
    —> Package apr-util-devel.x86_64 0:1.3.9-3.el6_0.1 will be installed
    –> Processing Dependency: openldap-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64
    –> Processing Dependency: db4-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64
    –> Processing Dependency: expat-devel for package: apr-util-devel-1.3.9-3.el6_0.1.x86_64
    —> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed
    —> Package facter.x86_64 0:1.6.9-1.el5 will be installed
    —> Package httpd.x86_64 0:2.2.15-15.el6.centos will be updated
    —> Package httpd.x86_64 0:2.2.15-15.el6.centos.1 will be an update
    –> Processing Dependency: httpd-tools = 2.2.15-15.el6.centos.1 for package: httpd-2.2.15-15.el6.centos.1.x86_64
    —> Package libgenders.x86_64 0:1.14-2.el5.rf will be installed
    —> Package ruby.x86_64 0:1.8.7.352-7.el6_2 will be installed
    —> Package ruby-augeas.x86_64 0:0.4.1-2.el5.rf will be installed
    –> Processing Dependency: augeas-libs >= 0.8.0 for package: ruby-augeas-0.4.1-2.el5.rf.x86_64
    —> Package ruby-libs.x86_64 0:1.8.7.352-7.el6_2 will be installed
    —> Package ruby-rdoc.x86_64 0:1.8.7.352-7.el6_2 will be installed
    –> Processing Dependency: ruby-irb = 1.8.7.352-7.el6_2 for package: ruby-rdoc-1.8.7.352-7.el6_2.x86_64
    —> Package ruby-shadow.x86_64 0:1.4.1-7.el5 will be installed
    —> Package rubygem-passenger-native-libs.x86_64 1:3.0.12-1.el6_1.8.7.352 will be installed
    –> Processing Dependency: rubygem-passenger-native = 1:3.0.12-1.el6 for package: 1:rubygem-passenger-native-libs-3.0.12-1.el6_1.8.7.352.x86_64
    –> Running transaction check
    —> Package apr.x86_64 0:1.3.9-3.el6_1.2 will be updated
    —> Package apr.x86_64 0:1.3.9-5.el6_2 will be an update
    —> Package augeas-libs.x86_64 0:0.10.0-3.el5 will be installed
    —> Package db4-devel.x86_64 0:4.7.25-16.el6 will be installed
    –> Processing Dependency: db4-cxx = 4.7.25-16.el6 for package: db4-devel-4.7.25-16.el6.x86_64
    –> Processing Dependency: libdb_cxx-4.7.so()(64bit) for package: db4-devel-4.7.25-16.el6.x86_64
    —> Package expat-devel.x86_64 0:2.0.1-11.el6_2 will be installed
    –> Processing Dependency: expat = 2.0.1-11.el6_2 for package: expat-devel-2.0.1-11.el6_2.x86_64
    —> Package httpd-tools.x86_64 0:2.2.15-15.el6.centos will be updated
    —> Package httpd-tools.x86_64 0:2.2.15-15.el6.centos.1 will be an update
    —> Package openldap-devel.x86_64 0:2.4.23-20.el6 will be installed
    –> Processing Dependency: cyrus-sasl-devel >= 2.1 for package: openldap-devel-2.4.23-20.el6.x86_64
    —> Package ruby-irb.x86_64 0:1.8.7.352-7.el6_2 will be installed
    —> Package rubygem-passenger-native.x86_64 1:3.0.12-1.el6 will be installed
    –> Processing Dependency: rubygem-passenger = 1:3.0.12-1.el6 for package: 1:rubygem-passenger-native-3.0.12-1.el6.x86_64
    –> Processing Dependency: libev for package: 1:rubygem-passenger-native-3.0.12-1.el6.x86_64
    –> Processing Dependency: libev.so.4()(64bit) for package: 1:rubygem-passenger-native-3.0.12-1.el6.x86_64
    –> Running transaction check
    —> Package cyrus-sasl-devel.x86_64 0:2.1.23-13.el6 will be installed
    —> Package db4-cxx.x86_64 0:4.7.25-16.el6 will be installed
    —> Package expat.x86_64 0:2.0.1-9.1.el6 will be updated
    —> Package expat.x86_64 0:2.0.1-11.el6_2 will be an update
    —> Package libev.x86_64 0:4.03-2.el5 will be installed
    —> Package rubygem-passenger.x86_64 1:3.0.12-1.el6 will be installed
    –> Processing Dependency: rubygem(daemon_controller) >= 0.2.5 for package: 1:rubygem-passenger-3.0.12-1.el6.x86_64
    –> Processing Dependency: rubygem(fastthread) >= 1.0.1 for package: 1:rubygem-passenger-3.0.12-1.el6.x86_64
    –> Processing Dependency: rubygem(rake) >= 0.8.1 for package: 1:rubygem-passenger-3.0.12-1.el6.x86_64
    –> Processing Dependency: rubygem(rack) for package: 1:rubygem-passenger-3.0.12-1.el6.x86_64
    –> Running transaction check
    —> Package rubygem-daemon_controller.noarch 0:0.2.5-1 will be installed
    —> Package rubygem-fastthread.x86_64 0:1.0.7-1.el5.rf will be installed
    —> Package rubygem-rack.noarch 1:1.1.0-2.el5 will be installed
    —> Package rubygem-rake.noarch 0:0.8.7-2.1.el6 will be installed
    –> Finished Dependency Resolution

    Dependencies Resolved

    ========================================================================================================================
    Package Arch Version Repository Size
    ========================================================================================================================
    Installing:
    hmc noarch 1.0.0-1.el5 HDP-1.0.0.12 14 M
    Installing for dependencies:
    apr-devel x86_64 1.3.9-5.el6_2 updates 176 k
    apr-util-devel x86_64 1.3.9-3.el6_0.1 base 69 k
    augeas-libs x86_64 0.10.0-3.el5 epel 375 k
    compat-readline5 x86_64 5.2-17.1.el6 base 130 k
    cyrus-sasl-devel x86_64 2.1.23-13.el6 base 302 k
    db4-cxx x86_64 4.7.25-16.el6 base 590 k
    db4-devel x86_64 4.7.25-16.el6 base 6.6 M
    expat-devel x86_64 2.0.1-11.el6_2 updates 120 k
    facter x86_64 1.6.9-1.el5 HDP-1.0.0.12 69 k
    httpd-devel x86_64 2.2.15-15.el6.centos.1 updates 147 k
    libev x86_64 4.03-2.el5 epel 114 k
    libgenders x86_64 1.14-2.el5.rf HDP-1.0.0.12 190 k
    mod_passenger x86_64 1:3.0.12-1.el6 passenger 1.3 M
    mod_ssl x86_64 1:2.2.15-15.el6.centos.1 updates 87 k
    openldap-devel x86_64 2.4.23-20.el6 base 1.1 M
    pdsh x86_64 2.27-1.el5.rf HDP-1.0.0.12 313 k
    php x86_64 5.3.3-3.el6_2.8 updates 1.1 M
    php-cli x86_64 5.3.3-3.el6_2.8 updates 2.2 M
    php-pdo x86_64 5.3.3-3.el6_2.8 updates 73 k
    puppet noarch 2.7.9-2 HDP-1.0.0.12 1.0 M
    ruby x86_64 1.8.7.352-7.el6_2 updates 532 k
    ruby-augeas x86_64 0.4.1-2.el5.rf rpmforge 26 k
    ruby-devel x86_64 1.8.7.352-7.el6_2 updates 312 k
    ruby-irb x86_64 1.8.7.352-7.el6_2 updates 311 k
    ruby-libs x86_64 1.8.7.352-7.el6_2 updates 1.6 M
    ruby-rdoc x86_64 1.8.7.352-7.el6_2 updates 375 k
    ruby-shadow x86_64 1.4.1-7.el5 epel 9.6 k
    rubygem-daemon_controller noarch 0.2.5-1 HDP-1.0.0.12 71 k
    rubygem-fastthread x86_64 1.0.7-1.el5.rf rpmforge 110 k
    rubygem-passenger x86_64 1:3.0.12-1.el6 passenger 4.6 M
    rubygem-passenger-native x86_64 1:3.0.12-1.el6 passenger 574 k
    rubygem-passenger-native-libs x86_64 1:3.0.12-1.el6_1.8.7.352 passenger 29 k
    rubygem-rack noarch 1:1.1.0-2.el5 epel 450 k
    rubygem-rake noarch 0.8.7-2.1.el6 base 404 k
    rubygems noarch 1.3.7-1.el6 base 206 k
    Updating for dependencies:
    apr x86_64 1.3.9-5.el6_2 updates 123 k
    expat x86_64 2.0.1-11.el6_2 updates 76 k
    httpd x86_64 2.2.15-15.el6.centos.1 updates 813 k
    httpd-tools x86_64 2.2.15-15.el6.centos.1 updates 70 k

    Transaction Summary
    ========================================================================================================================
    Install 36 Package(s)
    Upgrade 4 Package(s)

    Total size: 40 M
    Is this ok [y/N]: y
    Downloading Packages:
    warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 6573ab09: NOKEY
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-passenger.rhel5

    The GPG keys listed for the “Red Hat Enterprise 6 – Phusion Passenger” repository are already installed but they are not correct for this package.
    Check that the correct key URLs are configured for this repository.

Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #11713

    Sasha J
    Moderator

    David,
    such errors (No more mirrors to try) usually means that you have network connectivity problems.
    It could be overloaded network, or it could be slow network on EC2 for example.
    Just try again in few minutes.
    Thank you!

    Collapse
    #11712

    David Lai
    Participant

    I tried to install Centos 6.3 and tried to install HDP 2.0 Alpha: HMC. Per Quick Start, it seems that HDP2.0 Alpha supports Centos 6.3. but after I typed
    “Yum Install HMC”

    I got the following error:
    Error Downloading Packages:
    libgenders-1.20-1.el5.x86_64: failure: libgenders-1.20-1.el5.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
    libev-4.03-2.el5.x86_64: failure: libev-4.03-2.el5.x86_64.rpm from epel: [Errno 256] No more mirrors to try.

    Did I miss any or HDP 2.0 does not support Centos 6.3? please advise.

    Collapse
    #10870

    Trae Barlow
    Member

    This is the #1 Google hit on the string “libev hortonworks”
    So, in reply to the OP the “libev” dependency is in Fedora’s epel repo. Directoins are here.

    http://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3F

    After setting up the repo you could do something like
    yum install libev libev-devel libev-source

    Collapse
    #6042

    Wile Lee
    Member

    thanks for your quick response.

    I found out the .pem files are already exists.
    ls -la /var/lib/puppet/ssl/certs/
    ls -lat /var/lib/puppet/ssl/private_keys

    edit the file “vi /etc/httpd/conf.d/puppetmaster.conf” with correct filename
    and
    restart the service “service hmc restart”

    it works and thanks very much for your help.

    Collapse
    #6041

    Sorry to hear that its still a problem. Try the following:
    1. Stop the hmc service
    service hmc stop
    2. Run the following command:
    puppet master –no-daemonize –debug
    Wait for it to startup, once you see the message “Starting puppet master…”, wait for couple of seconds and kill using “Ctrl C”
    3. Restart hmc
    service hmc restart

    Collapse
    #6040

    Sasha J
    Moderator

    Based on the name of .pem file in puppet certs location, you hot name should be centos58-hdp.home, not centos58-hdp.localdomain…
    Please, adjust accordingly.

    [root@centos58-hdp wlee]# ls -lat /var/lib/puppet/ssl/certs/
    total 16
    drwxr-xr-x 2 puppet root 4096 Jun 18 12:54 .
    drwxrwx–x 8 puppet root 4096 Jun 18 12:54 ..
    -rw-r–r– 1 puppet root 839 Jun 18 12:54 ca.pem
    -rw-r—– 1 puppet root 940 Jun 18 12:54 centos58-hdp.home.pem

    [root@centos58-hdp wlee]# hostname -f
    hostname: Unknown host

    I edited the /etc/hosts

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    127.0.0.1 centos58-hdp.localdomain centos58-hdp

    [root@centos58-hdp wlee]# hostname -f
    centos58-hdp.localdomain

    Collapse
    #6039

    Jeff Sposetti
    Moderator

    What is the HOSTNAME in your /etc/sysconfig/network file?

    Collapse
    #6037

    Wile Lee
    Member

    thanks for your reply. I tried it and still getting the error

    [root@centos58-hdp wlee]# service hmc restart
    Shutting down HMC
    Stopping httpd: [FAILED]
    Stopped HMC
    Starting HMC Installer
    Starting httpd: Syntax error on line 18 of /etc/httpd/conf.d/puppetmaster.conf:
    SSLCertificateFile: file ‘/var/lib/puppet/ssl/certs/.pem’ does not exist or is empty
    [FAILED]
    Failed to start HMC

    Is there a way to generate the .pem file?

    Collapse
    #5977

    Can you try “service hmc restart” now?

    Collapse
    #5976

    Wile Lee
    Member

    [root@centos58-hdp wlee]# ls -lat /var/lib/puppet/ssl/certs/
    total 16
    drwxr-xr-x 2 puppet root 4096 Jun 18 12:54 .
    drwxrwx–x 8 puppet root 4096 Jun 18 12:54 ..
    -rw-r–r– 1 puppet root 839 Jun 18 12:54 ca.pem
    -rw-r—– 1 puppet root 940 Jun 18 12:54 centos58-hdp.home.pem

    [root@centos58-hdp wlee]# hostname -f
    hostname: Unknown host

    I edited the /etc/hosts

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    127.0.0.1 centos58-hdp.localdomain centos58-hdp

    [root@centos58-hdp wlee]# hostname -f
    centos58-hdp.localdomain

    Collapse
    #5958

    Can you post the list of files under /var/lib/puppet/ssl/certs/? Also post the output of “hostname -f” command?

    Collapse
    #5956

    Wile Lee
    Member

    thanks Deepesh for the reply.

    I managed to install the HDP in CentOS 5.8. However, when I tried to start the hmc, I got an error. Any help?

    [root@centos58-hdp wlee]# service hmc start
    Do you agree to Oracle’s Java License at
    /usr/share/hmc/licenses/ORACLE_JDK_LICENSE.txt?(y/n)y
    Would you like us to download the JDK binaries for you?(y/n)y
    Downloading JDK binaries. This may take a few minutes
    Downloading 64-bit JDK binaries
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 81.6M 100 81.6M 0 0 2937k 0 0:00:28 0:00:28 –:–:– 2970k
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 33 0 33 0 0 124 0 –:–:– –:–:– –:–:– 0
    Downloading 32-bit JDK binaries
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 81.3M 100 81.3M 0 0 2942k 0 0:00:28 0:00:28 –:–:– 2970k
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 33 0 33 0 0 313 0 –:–:– –:–:– –:–:– 0
    dnsdomainname: Unknown host
    Starting HMC Installer [ OK ]
    Starting httpd: Syntax error on line 18 of /etc/httpd/conf.d/puppetmaster.conf:
    SSLCertificateFile: file ‘/var/lib/puppet/ssl/certs/.pem’ does not exist or is empty
    [FAILED]
    Failed to start HMC

    Collapse
    #5915

    Thanks for trying out HDP. Currently HMC is supported only on CentOS 5.x and RHEL 5.x.

    Collapse
Viewing 13 replies - 1 through 13 (of 13 total)