2017-09-18 11 views
0

J'ai OSZabbix 3.4, Oracle Linux 7.4: erreur avec php-mbstring et php-bcmath

NAME="Oracle Linux Server" 
VERSION="7.4" 
ID="ol" 
VERSION_ID="7.4" 
PRETTY_NAME="Oracle Linux Server 7.4" 
ANSI_COLOR="0;31" 
CPE_NAME="cpe:/o:oracle:linux:7:4:server" 
HOME_URL="https://linux.oracle.com/" 
BUG_REPORT_URL="https://bugzilla.oracle.com/" 

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7" 
ORACLE_BUGZILLA_PRODUCT_VERSION=7.4 
ORACLE_SUPPORT_PRODUCT="Oracle Linux" 
ORACLE_SUPPORT_PRODUCT_VERSION=7.4 

essayé d'installer zabbix 3,4

rpm -Uvh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm 

et

yum install zabbix-server-mysql zabbix-web-mysql 

et erreur renvoyée

Error: Package: zabbix-web-3.4.1-1.el7.noarch (zabbix) 
      Requires: php-mbstring 
Error: Package: zabbix-web-3.4.1-1.el7.noarch (zabbix) 
      Requires: php-bcmath 

a essayé de installé

sudo yum install php-mbstring 

retourné

Loaded plugins: ulninfo 
No package php-mbstring available. 
Error: Nothing to do 

a essayé de rechercher

[root @ zabbixapp01 zabbix] # yum recherche mbstring

Loaded plugins: ulninfo 
Warning: No matches found for: mbstring 
No matches found 

[root @ zabbixapp01 zabbix] # yum recherche bcmat h

Loaded plugins: ulninfo 
Warning: No matches found for: bcmath 
No matches found 

Comment résoudre le problème?

+0

Semble être également demandé (plus judicieusement) sur serverfault: https://serverfault.com/questions/874297/zabbix-3-4-oracle-linux-7-4-error-with-php-mbstring-and -php-bcmath. – Richlv

+0

ok, résoudre le problème, s'il vous plaît écrivez réponse –

Répondre

0
fichier modifié

avec repo et ajouté de nouvelles prises en pension

nano /etc/yum.repos.d/public-yum-ol7.repo 


[ol7_optional_latest] 
name=Oracle Linux $releasever Optional Latest ($basearch) 
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/optional/latest/$basearch/ 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 
gpgcheck=1 
enabled=1 

nouveau repo après permis

yum clean all 
yum-config-manager --enable ol7_optional_latest 

état vérifié nouveau repo

yum repolist all 

doit par exemple retourné

!ol7_optional_latest/x86_64 Oracle Linux 7Server Optional Latest (x86_64)              enabled: 12,831+3,515