RedHat 7 yum Zabbix 설치 시 여러 오류 해결

8826 단어
클라이언트에 에이전트와 sender 타임즈 오류 설치
[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                                                        

  !

좋은 웹페이지 즐겨찾기