Instala o naemon no CentOS 7?

0

Estou seguindo estas instruções: link

Mas quando tento "Instalar o Naemon", tenho erros:

[root@ccnagios naemon-rpm]# yum install *naemon*
Loaded plugins: fastestmirror, langpacks
Examining libnaemon-1.0.3-1.rhel6.x86_64.rpm: libnaemon-1.0.3-1.el6.x86_64
Marking libnaemon-1.0.3-1.rhel6.x86_64.rpm to be installed
Examining naemon-1.0.3-1.rhel6.x86_64.rpm: naemon-1.0.3-1.el6.x86_64
Marking naemon-1.0.3-1.rhel6.x86_64.rpm to be installed
Examining naemon-core-1.0.3-1.rhel6.x86_64.rpm: naemon-core-1.0.3-1.el6.x86_64
Marking naemon-core-1.0.3-1.rhel6.x86_64.rpm to be installed
Examining naemon-core-dbg-1.0.3-1.rhel6.x86_64.rpm: naemon-core-dbg-1.0.3-1.el6.x86_64
Marking naemon-core-dbg-1.0.3-1.rhel6.x86_64.rpm to be installed
Examining naemon-devel-1.0.3-1.rhel6.x86_64.rpm: naemon-devel-1.0.3-1.el6.x86_64
Marking naemon-devel-1.0.3-1.rhel6.x86_64.rpm to be installed
Examining naemon-livestatus-1.0.3-1.rhel6.x86_64.rpm: naemon-livestatus-1.0.3-1.el6.x86_64
Marking naemon-livestatus-1.0.3-1.rhel6.x86_64.rpm to be installed
Examining naemon-thruk-1.0.3-1.rhel6.x86_64.rpm: naemon-thruk-1.0.3-1.el6.x86_64
Marking naemon-thruk-1.0.3-1.rhel6.x86_64.rpm to be installed
Examining naemon-thruk-libs-1.0.3-1.rhel6.x86_64.rpm: naemon-thruk-libs-1.0.3-1.el6.x86_64
Marking naemon-thruk-libs-1.0.3-1.rhel6.x86_64.rpm to be installed
Examining naemon-thruk-reporting-1.0.3-1.rhel6.x86_64.rpm: naemon-thruk-reporting-1.0.3-1.el6.x86_64
Marking naemon-thruk-reporting-1.0.3-1.rhel6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package libnaemon.x86_64 0:1.0.3-1.el6 will be installed
---> Package naemon.x86_64 0:1.0.3-1.el6 will be installed
--> Processing Dependency: naemon-tools = 1.0.3-1.el6 for package: naemon-1.0.3-1.el6.x86_64
Loading mirror speeds from cached hostfile
 * base: centos.copahost.com
 * epel: mirror.fraunhofer.de
 * extras: mirrors.prometeus.net
 * updates: centos.copahost.com
---> Package naemon-core.x86_64 0:1.0.3-1.el6 will be installed
---> Package naemon-core-dbg.x86_64 0:1.0.3-1.el6 will be installed
---> Package naemon-devel.x86_64 0:1.0.3-1.el6 will be installed
---> Package naemon-livestatus.x86_64 0:1.0.3-1.el6 will be installed
--> Processing Dependency: libicudata.so.42()(64bit) for package: naemon-livestatus-1.0.3-1.el6.x86_64
--> Processing Dependency: libicui18n.so.42()(64bit) for package: naemon-livestatus-1.0.3-1.el6.x86_64
--> Processing Dependency: libicuuc.so.42()(64bit) for package: naemon-livestatus-1.0.3-1.el6.x86_64
---> Package naemon-thruk.x86_64 0:1.0.3-1.el6 will be installed
---> Package naemon-thruk-libs.x86_64 0:1.0.3-1.el6 will be installed
---> Package naemon-thruk-reporting.x86_64 0:1.0.3-1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: naemon-livestatus-1.0.3-1.el6.x86_64 (/naemon-livestatus-1.0.3-1.rhel6.x86_64)
           Requires: libicuuc.so.42()(64bit)
Error: Package: naemon-livestatus-1.0.3-1.el6.x86_64 (/naemon-livestatus-1.0.3-1.rhel6.x86_64)
           Requires: libicudata.so.42()(64bit)
Error: Package: naemon-1.0.3-1.el6.x86_64 (/naemon-1.0.3-1.rhel6.x86_64)
           Requires: naemon-tools = 1.0.3-1.el6
Error: Package: naemon-livestatus-1.0.3-1.el6.x86_64 (/naemon-livestatus-1.0.3-1.rhel6.x86_64)
           Requires: libicui18n.so.42()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Alguém pode me ajudar?

    
por xerez 02.10.2015 / 11:51

1 resposta

0

Seu problema é praticamente o mesmo de este .

As instruções que você seguiu foram para o CentOS 6, mas você está rodando o CentOS 7, o que não é compatível.

Os pacotes do CentOS 7 para o Naemon estão localizados aqui .

Certifique-se de desfazer as etapas que você seguiu no guia do CentOS 6 antes de tentar a instalação do CentOS 7.

Ajuda adicional

Tente seguir estes passos para livrar o seu sistema dos pacotes incompatíveis do CentOS 6 e instalar o Naemon para o CentOS 7 (eu não testei estas instruções):

Remover epel-release do CentOS 6

yum erase -y epel-release

Instale epel-release para o seu sistema operacional atual (CentOS 7)

yum install -y epel-release

Baixe os pacotes do Naemon do CentOS 7

mkdir naemon ; cd naemon
wget -A rpm -mpEkKnp -nd https://labs.consol.de/naemon/release/v1.0.3/rhel7/x86_64/

Instale os pacotes do Naemon do CentOS 7

yum install *.rpm
cd ..
    
por 02.10.2015 / 12:33