oracle-j2sdk1.8,CDH agent无法安装

在尝试安装CDH时,遇到oracle-j2sdk1.8已经安装但无法启动的问题。日志显示安装过程中未发现明显错误,所有相关组件如oracle-j2sdk1.8、cloudera-manager-agent和cloudera-manager-daemons都已安装。系统为CentOS 7,检查了网络连接、权限和镜像源,但问题仍未解决。最后,agent日志显示正常停止,未给出具体失败原因。
摘要由CSDN通过智能技术生成

截图如下:

51166ec61a2c4fb0150ad2f0473000d1.png

目前查看了日志,端口之类的都没发现问题,整个页面日志只有在安装java的时候出现了2个找不到镜像,但是最终结果还是already install了,请大牛帮忙看看什么原因,多谢了

/tmp/scm_prepare_node.H8O9IPN5

using SSH_CLIENT to get the SCM hostname: 192.168.202.211 51404 22

opening logging file descriptor

正在启动安装脚本...

正在获取安装锁...

BEGIN flock 4

END (0)

正在检测根权限...

effective UID is 0

正在检测分配...

BEGIN grep Tikanga /etc/redhat-release

END (1)

BEGIN grep 'Scientific Linux release 5' /etc/redhat-release

END (1)

BEGIN grep Santiago /etc/redhat-release

END (1)

BEGIN grep 'CentOS Linux release 6' /etc/redhat-release

END (1)

BEGIN grep 'CentOS release 6' /etc/redhat-release

END (1)

BEGIN grep 'Scientific Linux release 6' /etc/redhat-release

END (1)

BEGIN grep Maipo /etc/redhat-release

END (1)

BEGIN grep 'CentOS Linux release 7' /etc/redhat-release

CentOS Linux release 7.4.1708 (Core)

END (0)

/etc/redhat-release ==> CentOS 7

正在检测 Cloudera Manager Server...

BEGIN host -t PTR 192.168.202.211

Host 211.202.168.192.in-addr.arpa. not found: 3(NXDOMAIN)

END (1)

BEGIN which python

/root/anaconda3/bin/python

END (0)

BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' 192.168.202.211 7182

END (0)

BEGIN which wget

/usr/bin/wget

END (0)

BEGIN wget -qO- -T 1 -t 1 http://169.254.169.254/latest/meta-data/public-hostname && /bin/echo

END (4)

正在安装包存储库...

Checking https://archive.cloudera.com/cm6/6.2.0/redhat7/yum/repodata/repomd.xml

Using baseurl = https://archive.cloudera.com/cm6/6.2.0/redhat7/yum

installing repository file /tmp/scm_prepare_node.H8O9IPN5/repos/rhel7/cloudera-manager.repo

repository file /tmp/scm_prepare_node.H8O9IPN5/repos/rhel7/cloudera-manager.repo installed

installing rpm keys

BEGIN gpg --import /tmp/scm_prepare_node.H8O9IPN5/customGPG

gpg: 钥匙环‘/tmp/scm_prepare_node.H8O9IPN5/gnupg.s2QbtPVcnm/secring.gpg’已建立

gpg: 钥匙环‘/tmp/scm_prepare_node.H8O9IPN5/gnupg.s2QbtPVcnm/pubring.gpg’已建立

gpg: /tmp/scm_prepare_node.H8O9IPN5/gnupg.s2QbtPVcnm/trustdb.gpg:建立了信任度数据库

gpg: 密钥 02A818DD:公钥“Cloudera Apt Repository”已导入

gpg: 密钥 E8F86ACD:公钥“Yum Maintainer webmaster@cloudera.com”已导入

gpg: 密钥 B0B19C9F:公钥“Parameterized Build security@cloudera.com”已导入

gpg: 密钥 84415700:公钥“Cloudera security@cloudera.com”已导入

gpg: 密钥 36F57F35:公钥“Cloudera security@cloudera.com”已导入

gpg: 合计被处理的数量:5

gpg: 已导入:5 (RSA: 3)

END (0)

BEGIN rpm --import /tmp/scm_prepare_node.H8O9IPN5/F36A89E33CC1BD0F71079007327574EE02A818DD.pub

END (0)

BEGIN rpm --import /tmp/scm_prepare_node.H8O9IPN5/5F14D39EF0681ACA6F044A43F90C0D8FE8F86ACD.pub

END (0)

BEGIN rpm --import /tmp/scm_prepare_node.H8O9IPN5/9543951160C284C0E7CA254573985D43B0B19C9F.pub

END (0)

BEGIN rpm --import /tmp/scm_prepare_node.H8O9IPN5/CECDB80C4E9004B0CFE852962279662784415700.pub

END (0)

BEGIN rpm --import /tmp/scm_prepare_node.H8O9IPN5/DF2C4DD7629B1AC08A0966E00F65552736F57F35.pub

END (0)

正在刷新包元数据...

BEGIN yum --disablerepo=* --enablerepo=cloudera* clean all

已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

正在清理软件源: cloudera-manager

Cleaning up everything

Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos

Cleaning up list of fastest mirrors

END (0)

BEGIN rm -Rf /var/cache/yum/x86_64

END (0)

BEGIN yum --disablerepo=* --enablerepo=cloudera* makecache

已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Determining fastest mirrors

元数据缓存已建立

END (0)

正在安装 oracle-j2sdk1.8 包...

BEGIN yum --disablerepo=* --enablerepo=cloudera* list installed oracle-j2sdk1.8

已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

已安装的软件包

oracle-j2sdk1.8.x86_64 1.8.0+update181-1 installed

END (0)

BEGIN echo oracle-j2sdk1.8 cloudera-manager-agent cloudera-manager-daemons | grep oracle-j2sdk1.8

oracle-j2sdk1.8 cloudera-manager-agent cloudera-manager-daemons

END (0)

BEGIN yum --disablerepo=* --enablerepo=cloudera* info oracle-j2sdk1.8

Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-

: manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Loading mirror speeds from cached hostfile

Installed Packages

Name : oracle-j2sdk1.8

Arch : x86_64

Version : 1.8.0+update181

Release : 1

Size : 364 M

Repo : installed

Summary : no description given

URL : http://example.com/no-uri-given

License : unknown

Description : no description given

END (0)

BEGIN yum -y install oracle-j2sdk1.8.x86_64

Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-

: manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

https://mirrors.njupt.edu.cn/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate has expired."

Trying other mirror.

It was impossible to conn

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值