RedHat 7 yum Zabbix 설치 시 여러 오류 해결
[root@ORACLE yum.repos.d]# yum install -y zabbix-agent zabbix-sender
:fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Loading mirror speeds from cached hostfile
* webtatic: uk.repo.webtatic.com
-->
---> Package zabbix-agent.x86_64 0:3.4.15-1.el7 will be
--> libc.so.6(GLIBC_2.17)(64bit), zabbix-agent-3.4.15-1.el7.x86_64
--> systemd, zabbix-agent-3.4.15-1.el7.x86_64
--> systemd, zabbix-agent-3.4.15-1.el7.x86_64
--> libpcre.so.1()(64bit), zabbix-agent-3.4.15-1.el7.x86_64
---> Package zabbix-sender.x86_64 0:3.4.15-1.el7 will be
--> libc.so.6(GLIBC_2.17)(64bit), zabbix-sender-3.4.15-1.el7.x86_64
--> libpcre.so.1()(64bit), zabbix-sender-3.4.15-1.el7.x86_64
-->
:Package: zabbix-agent-3.4.15-1.el7.x86_64 (zabbix)
Requires: systemd
:Package: zabbix-agent-3.4.15-1.el7.x86_64 (zabbix)
Requires: libc.so.6(GLIBC_2.17)(64bit)
:Package: zabbix-agent-3.4.15-1.el7.x86_64 (zabbix)
Requires: libpcre.so.1()(64bit)
:Package: zabbix-sender-3.4.15-1.el7.x86_64 (zabbix)
Requires: libpcre.so.1()(64bit)
:Package: zabbix-sender-3.4.15-1.el7.x86_64 (zabbix)
Requires: libc.so.6(GLIBC_2.17)(64bit)
You could try using --skip-broken to work around the problem
** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
PackageKit-0.5.8-20.el6.x86_64 has missing requires of PackageKit-yum = ('0', '0.5.8', '20.el6')
PackageKit-0.5.8-20.el6.x86_64 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '20.el6')
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
python-urlgrabber-3.9.1-11.el6.noarch is a duplicate with python-urlgrabber-3.9.1-8.el6.noarch
rhn-check-1.0.0-87.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')
원인:zabbixyum 원본을 설정한 후,zabbixyum 원데이터를 만들지 않았습니다.
yum clean all
yum makecache
[root@ORACLE yum.repos.d]# yum install -y zabbix-agent zabbix-sender
:fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
* webtatic: us-east.repo.webtatic.com
-->
---> Package zabbix-agent.x86_64 0:3.4.15-1.el6 will be
---> Package zabbix-sender.x86_64 0:3.4.15-1.el6 will be
-->
========================================================================================================================================================================================
========================================================================================================================================================================================
:
zabbix-agent x86_64 3.4.15-1.el6 zabbix 365 k
zabbix-sender x86_64 3.4.15-1.el6 zabbix 269 k
========================================================================================================================================================================================
Install 2 Package(s)
:634 k
Installed size: 2.5 M
:
http://repo.zabbix.com/zabbix/3.4/rhel/6/x86_64/zabbix-agent-3.4.15-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 18 - "transfer closed with 169235 bytes remaining to read"B 00:10 ETA
。
(2/2): zabbix-sender-3.4.15-1.el6.x86_64.rpm | 269 kB 00:04
:
zabbix-agent-3.4.15-1.el6.x86_64: failure: zabbix-agent-3.4.15-1.el6.x86_64.rpm from zabbix: [Errno 256] No more mirrors to try.
[root@ORACLE yum.repos.d]# yum install -y zabbix-agent zabbix-sender
:fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
* webtatic: us-east.repo.webtatic.com
-->
---> Package zabbix-agent.x86_64 0:3.4.15-1.el6 will be
---> Package zabbix-sender.x86_64 0:3.4.15-1.el6 will be
-->
====================================================================================================================================================================================
========================================================================================================================================================================================
:
zabbix-agent x86_64 3.4.15-1.el6 zabbix 365 k
zabbix-sender x86_64 3.4.15-1.el6 zabbix 269 k
========================================================================================================================================================================================
Install 2 Package(s)
:634 k
:365 k
Installed size: 2.5 M
:
zabbix-agent-3.4.15-1.el6.x86_64.rpm | 365 kB 00:02
rpm_check_debug
Warning: RPMDB altered outside of yum.
** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
PackageKit-0.5.8-20.el6.x86_64 has missing requires of PackageKit-yum = ('0', '0.5.8', '20.el6')
PackageKit-0.5.8-20.el6.x86_64 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '20.el6')
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
python-urlgrabber-3.9.1-11.el6.noarch is a duplicate with python-urlgrabber-3.9.1-8.el6.noarch
rhn-check-1.0.0-87.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')
: zabbix-agent-3.4.15-1.el6.x86_64 1/2
: zabbix-sender-3.4.15-1.el6.x86_64 2/2
Installed products updated.
Verifying : zabbix-sender-3.4.15-1.el6.x86_64 1/2
Verifying : zabbix-agent-3.4.15-1.el6.x86_64 2/2
:
zabbix-agent.x86_64 0:3.4.15-1.el6 zabbix-sender.x86_64 0:3.4.15-1.el6
!
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.