安装cloudera manager yum install cloudera-manager-agent时出错

时间:2016-04-05 08:07:15

标签: cloudera-cdh cloudera-manager

安装cloudera manager yum install cloudera-manager-agent时出错 我安装了cloudera manager 5.5,但是遇到了异常。

提前致谢。

下面是例外情况。

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-agent.x86_64 0:5.5.1-1.cm551.p0.8.el6 will be installed
--> Processing Dependency: libxslt for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: fuse for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: mod_ssl for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: httpd for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: fuse-libs for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: cyrus-sasl-gssapi for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: /lib/lsb/init-functions for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Running transaction check
---> Package cloudera-manager-agent.x86_64 0:5.5.1-1.cm551.p0.8.el6 will be installed
--> Processing Dependency: mod_ssl for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: MySQL-python for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: httpd for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: python-psycopg2 for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: openssl-devel for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Processing Dependency: /lib/lsb/init-functions for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
---> Package cyrus-sasl-gssapi.x86_64 0:2.1.23-15.el6_6.2 will be installed
---> Package fuse.x86_64 0:2.8.3-4.el6 will be installed
---> Package fuse-libs.x86_64 0:2.8.3-4.el6 will be installed
---> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed
--> Processing Dependency: /lib/lsb/init-functions for package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64
--> Finished Dependency Resolution
Error: Package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64 (cloudera-manager)
           Requires: MySQL-python
Error: Package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64 (cloudera-manager)
           Requires: /lib/lsb/init-functions
Error: Package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64 (cloudera-manager)
           Requires: httpd
Error: Package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64 (cloudera-manager)
           Requires: mod_ssl
Error: Package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64 (cloudera-manager)
           Requires: python-psycopg2
Error: Package: cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64 (cloudera-manager)
           Requires: openssl-devel
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

5 个答案:

答案 0 :(得分:2)

首先检查这些依赖性:

  • MySQL-python
  • httpd
  • mod_ssl
  • python-psycopg2
  • openssl-devel

尝试首先安装这些软件包,以查看它们是否引起了问题。

(使用来搜索软件包

yum search {package}

,如果找不到它们,请安装Ripunjay Godhani建议的存储库。

答案 1 :(得分:1)

安装前检查先决条件步骤。

  1. 哪个版本的Linux Cent 6.5 lacter(默认为python2.6)
  2. 安装安装之前

    yum -y install ntpd openssh openssh-client oralejdk17
    
  3. 请在下面查看更多信息: http://www.cloudera.com/documentation/manager/5-1-x/Cloudera-Manager-Installation-Guide/cm5ig_install_path_A.html#cmig_topic_6_5_1_unique_1

答案 2 :(得分:1)

确保您拥有一个包含这些软件包的通用存储库。如果你相信你这样做,请查看/etc/yum.repos.d/.repo并确保它们不是Enabled = 0。如果是这样,你可以这样做:

yum --enablerepo = * install cloudera-manager-agent

这将使所有残疾人都可以拉包,或者你可以--enablerepo =并且只启用那个特定的。

答案 3 :(得分:1)

根据您的操作系统配置所需的epel repo

https://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh epel-release-latest-7.noarch.rpm yum clean all yum repolist

完成上述步骤后重试安装

答案 4 :(得分:0)

要安装cloudera Manager服务器或代理,您还需要安装相关的依赖项,或者如果您连接到Internet,它将直接从Internet下载。如果您没有互联网下载这些依赖包并创建本地回购,那么请清理并更新回购然后再尝试重新安装