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

Error while installing cloudera manager yum install cloudera-manager-agent

安装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

要安装cloudera manager server 或agent,您还需要安装相关依赖项,或者如果您连接到互联网,它将直接从互联网下载。如果你没有互联网下载那些依赖包并创建本地存储库然后清理和更新存储库然后再次尝试重新安装

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

  1. 哪个版本的 linux Cent 6.5 lacter (python2.6 is default)
  2. 安装前安装

    yum -y install ntpd openssh openssh-client oralejdk17
    

请查看以下更多信息: 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

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

yum --enablerepo=* 安装 cloudera-manager-agent

这将使所有被禁用的人都可以提取软件包,或者您可以 --enablerepo= 并只启用那个特定的软件包。

根据您的 OS 配置所需的 epel 存储库

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

完成上述步骤后重试安装

首先检查这些依赖项:

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

首先尝试安装这些软件包,看看它们是否导致了问题。

(搜索

的包
yum search {package}

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