J'ai un problème avec l'installation check_mk sur amazon-ec2.Installation Check-mk. Échec des dépendances (Mariadb, Python-reportlab, libgsf)
Je l'ai déjà installé noyau de Nagios avec succès et je tente maintenant installer le plugin check_mk par rpm:
rpm -ivh check-mk-raw-1.2.8p17-el7-40.x86_64.rpm
Rpm stop et retour liste des dépendances nécessaires à l'installation. La plupart d'entre eux j'ai installé avec succès mais j'ai un problème avec le reste.
error: Failed dependencies:
mariadb-server is needed by check-mk-raw-1.2.8p17-el7-40.x86_64
python-reportlab is needed by check-mk-raw-1.2.8p17-el7-40.x86_64
libgsf is needed by check-mk-raw-1.2.8p17-el7-40.x86_64
MariaDB
J'ai suivi l'instruction à partir du site https://downloads.mariadb.org/mariadb/repositories/
Ensuite, je créé le fichier dans le répertoire MariaDB.repo /etc/yum.repos.d/ avec le contenu:
# MariaDB 10.1 RedHat repository list - created 2017-02-28 11:57 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/rhel7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
Après que j'ai essayé d'installer MariaDB par commande:
sudo yum install MariaDB-server MariaDB-client
En conséquence, j'obtenu suivre les erreurs
Error: Package: MariaDB-server-10.1.21-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
Error: Package: MariaDB-server-10.1.21-1.el7.centos.x86_64 (mariadb)
Requires: libsystemd.so.0()(64bit)
J'ai essayé d'installer systemd, en conséquence, j'ai obtenu:
configure: error: *** libmount support required but libraries not found
quand j'ai essayé l'installer par yum j'ai reçu:
Package libmount-2.23.2-26.27.amzn1.x86_64 already installed and latest version
Nothing to do
Python-reportlab
rpm -Uvh python-reportlab-3.1.8-5.fc23.x86_64.rpm
warning: python-reportlab-3.1.8-5.fc23.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 34ec9cba: NOKEY
error: Failed dependencies:
python-pillow is needed by python-reportlab-3.1.8-5.fc23.x86_64
rpm -Uvh python-pillow-3.0.0-1.fc23.i686.rpm
warning: python-pillow-3.0.0-1.fc23.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 34ec9cba: NOKEY
error: Failed dependencies:
libc.so.6 is needed by python-pillow-3.0.0-1.fc23.i686
libc.so.6(GLIBC_2.0) is needed by python-pillow-3.0.0-1.fc23.i686
libc.so.6(GLIBC_2.1) is needed by python-pillow-3.0.0-1.fc23.i686
libc.so.6(GLIBC_2.1.3) is needed by python-pillow-3.0.0-1.fc23.i686
libc.so.6(GLIBC_2.11) is needed by python-pillow-3.0.0-1.fc23.i686
libc.so.6(GLIBC_2.3) is needed by python-pillow-3.0.0-1.fc23.i686
libc.so.6(GLIBC_2.3.4) is needed by python-pillow-3.0.0-1.fc23.i686
libc.so.6(GLIBC_2.4) is needed by python-pillow-3.0.0-1.fc23.i686
libfreetype.so.6 is needed by python-pillow-3.0.0-1.fc23.i686
libjpeg.so.62 is needed by python-pillow-3.0.0-1.fc23.i686
libjpeg.so.62(LIBJPEG_6.2) is needed by python-pillow-3.0.0-1.fc23.i686
liblcms2.so.2 is needed by python-pillow-3.0.0-1.fc23.i686
libopenjp2.so.7 is needed by python-pillow-3.0.0-1.fc23.i686
libpthread.so.0 is needed by python-pillow-3.0.0-1.fc23.i686
libpthread.so.0(GLIBC_2.0) is needed by python-pillow-3.0.0-1.fc23.i686
libpthread.so.0(GLIBC_2.1) is needed by python-pillow-3.0.0-1.fc23.i686
libpthread.so.0(GLIBC_2.2) is needed by python-pillow-3.0.0-1.fc23.i686
libpthread.so.0(GLIBC_2.3.2) is needed by python-pillow-3.0.0-1.fc23.i686
libpython2.7.so.1.0 is needed by python-pillow-3.0.0-1.fc23.i686
libtiff.so.5 is needed by python-pillow-3.0.0-1.fc23.i686
libtiff.so.5(LIBTIFF_4.0) is needed by python-pillow-3.0.0-1.fc23.i686
libwebp.so.5 is needed by python-pillow-3.0.0-1.fc23.i686
libwebpdemux.so.1 is needed by python-pillow-3.0.0-1.fc23.i686
libwebpmux.so.1 is needed by python-pillow-3.0.0-1.fc23.i686
libz.so.1 is needed by python-pillow-3.0.0-1.fc23.i686
rpm -Uvh glibc-2.24-3.fc25.i686.rpm
warning: glibc-2.24-3.fc25.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fdb19c98: NOKEY
error: Failed dependencies:
glibc-common = 2.24-3.fc25 is needed by glibc-2.24-3.fc25.i686
glibc-langpack = 2.24-3.fc25 is needed by glibc-2.24-3.fc25.i686
rpm -ivh glibc-common-2.25-1.fc26.x86_64.rpm
warning: glibc-common-2.25-1.fc26.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 64dab85d: NOKEY
error: Failed dependencies:
/usr/bin/bash is needed by glibc-common-2.25-1.fc26.x86_64
glibc = 2.25-1.fc26 is needed by glibc-common-2.25-1.fc26.x86_64
libgsf
Je l'ai installé de la source (libgsf-1.14.0) avec succès, cependant, quand je cherche utilisez la commande d'installation check-mk rpm je vois dans les dépendances ont échoué. Puis-je l'ajouter en quelque sorte à la liste des rpm manuellement?
Je serai reconnaissant pour toute idée. Je me bats trop longtemps sans progrès.
os libération:
NAME="Amazon Linux AMI"
VERSION="2016.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2016.09"
PRETTY_NAME="Amazon Linux AMI 2016.09"
Architecture: x86_64
28.02.2017 EDIT:
avec succès j'ai installé MariaDB:
Package MariaDB-server-10.1.21-1.el6.x86_64 already installed and latest version
Package MariaDB-client-10.1.21-1.el6.x86_64 already installed and latest version
mais je me Failed dependencies:
rpm -Uvh check-mk-raw-1.2.8p17-el7-40.x86_64.rpm
error: Failed dependencies:
mariadb-server is needed by check-mk-raw-1.2.8p17-el7-40.x86_64
python-reportlab is needed by check-mk-raw-1.2.8p17-el7-40.x86_64
libgsf is needed by check-mk-raw-1.2.8p17-el7-40.x86_64 how resolve it?
01.03.20 17 EDIT:
Enfin, j'ai installé la version pour rhel6 et ça marche maintenant.
J'ai trouvé le même problème avec mariadb, mais il est non résolu [link] (http://stackoverflow.com/questions/41481641/dependency-error-while-installing-mariadb10-1-on-rhel-7-1) –
Un autre problème de ce type [Comment installer MariaDB sur Redhat Enterprise Linux?] (Http://serverfault.com/questions/768355/how-to-install-mariadb-on-redhat-enterprise-linux/768387#768387?newreg = 51883778f7374e1c955bdf9a4dc228da) et [YUM pour installer MariaDB et les raisons données dans l'AWS EC2] (https://github.com/LempStacker/DatabaseRelated/blob/master/MariaDB/Backup/LearningNotesBackup/2015.10.20_%E5%9C%A8AWS % 20EC2% E4% B8% ADYUM% E5% AE% 89% E8% A3% 9DMariaDB% E5% A0% B1% E9% 8C% AF% E5% 8F% 8A% E5% 8E% 9F% E5% 9B% A0 .Maryland). –