2017-10-12 266 views
1

我嘗試安裝ZABBIX,我已經安裝了這個包:ZABBIX釋放小3.4-1.el7.centos.noarchZABBIX:無法識別的服務

我使用這個命令來安裝ZABBIX:

百勝安裝ZABBIX服務器,MySQL的ZABBIX的web-mysql的

輸出:

Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper 
Loading mirror speeds from cached hostfile 
* amzn-main: packages.ap-southeast-1.amazonaws.com 
* amzn-updates: packages.ap-southeast-1.amazonaws.com 
9 packages excluded due to repository priority protections 
Resolving Dependencies 
--> Running transaction check 
---> Package zabbix-server-mysql.x86_64 0:3.0.11-1.el7 will be installed 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
---> Package zabbix-web-mysql.noarch 0:3.0.11-1.el7 will be installed 
--> Processing Dependency: zabbix-web = 3.0.11-1.el7 for package: zabbix-web-mysql-3.0.11-1.el7.noarch 
--> Running transaction check 
---> Package zabbix-server-mysql.x86_64 0:3.0.11-1.el7 will be installed 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
---> Package zabbix-web.noarch 0:3.0.11-1.el7 will be installed 
--> Processing Dependency: php >= 5.4 for package: zabbix-web-3.0.11-1.el7.noarch 
--> Processing Dependency: php-ldap for package: zabbix-web-3.0.11-1.el7.noarch 
--> Running transaction check 
---> Package php56.x86_64 0:5.6.31-1.134.amzn1 will be installed 
--> Processing Dependency: php56-cli(x86-64) = 5.6.31-1.134.amzn1 for package: php56-5.6.31-1.134.amzn1.x86_64 
--> Processing Dependency: php56-common(x86-64) = 5.6.31-1.134.amzn1 for package: php56-5.6.31-1.134.amzn1.x86_64 
--> Processing Dependency: httpd-mmn = 20120211x86-64 for package: php56-5.6.31-1.134.amzn1.x86_64 
--> Processing Dependency: php56-common for package: php56-5.6.31-1.134.amzn1.x86_64 
--> Processing Dependency: httpd24 for package: php56-5.6.31-1.134.amzn1.x86_64 
---> Package php56-ldap.x86_64 0:5.6.31-1.134.amzn1 will be installed 
---> Package zabbix-server-mysql.x86_64 0:3.0.11-1.el7 will be installed 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Running transaction check 
---> Package httpd24.x86_64 0:2.4.27-3.75.amzn1 will be installed 
--> Processing Dependency: httpd24-tools = 2.4.27-3.75.amzn1 for package: httpd24-2.4.27-3.75.amzn1.x86_64 
---> Package php56-cli.x86_64 0:5.6.31-1.134.amzn1 will be installed 
---> Package php56-common.x86_64 0:5.6.31-1.134.amzn1 will be installed 
--> Processing Dependency: php56-process(x86-64) = 5.6.31-1.134.amzn1 for package: php56-common-5.6.31-1.134.amzn1.x86_64 
--> Processing Dependency: php56-xml(x86-64) = 5.6.31-1.134.amzn1 for package: php56-common-5.6.31-1.134.amzn1.x86_64 
--> Processing Dependency: php56-jsonc(x86-64) for package: php56-common-5.6.31-1.134.amzn1.x86_64 
---> Package zabbix-server-mysql.x86_64 0:3.0.11-1.el7 will be installed 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Running transaction check 
---> Package httpd24-tools.x86_64 0:2.4.27-3.75.amzn1 will be installed 
---> Package php56-jsonc.x86_64 0:1.3.6-1.19.amzn1 will be installed 
--> Processing Dependency: libjson-c.so.2()(64bit) for package: php56-jsonc-1.3.6-1.19.amzn1.x86_64 
---> Package php56-process.x86_64 0:5.6.31-1.134.amzn1 will be installed 
---> Package php56-xml.x86_64 0:5.6.31-1.134.amzn1 will be installed 
---> Package zabbix-server-mysql.x86_64 0:3.0.11-1.el7 will be installed 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Running transaction check 
---> Package json-c.x86_64 0:0.11-6.8.amzn1 will be installed 
---> Package zabbix-server-mysql.x86_64 0:3.0.11-1.el7 will be installed 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: systemd for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: zabbix-server-mysql-3.0.11-1.el7.x86_64 
--> Processing Conflict: php56-5.6.31-1.134.amzn1.x86_64 conflicts php < 5.5.22-1.98 
--> Processing Conflict: httpd24-2.4.27-3.75.amzn1.x86_64 conflicts httpd < 2.4.27 
--> Processing Conflict: php56-process-5.6.31-1.134.amzn1.x86_64 conflicts php-process < 5.5.22-1.98 
--> Processing Conflict: php56-common-5.6.31-1.134.amzn1.x86_64 conflicts php-common < 5.5.22-1.98 
--> Processing Conflict: php56-xml-5.6.31-1.134.amzn1.x86_64 conflicts php-xml < 5.5.22-1.98 
--> Processing Conflict: httpd24-tools-2.4.27-3.75.amzn1.x86_64 conflicts httpd-tools < 2.4.27 
--> Processing Conflict: php56-cli-5.6.31-1.134.amzn1.x86_64 conflicts php-cli < 5.5.22-1.98 

也顯示此部分,發生錯誤,所以我不能安裝ZABBIX正確

--> Finished Dependency Resolution Error: httpd24 conflicts with httpd-2.2.34-1.15.amzn1.x86_64 Error: Package: zabbix-server-mysql-3.0.11-1.el7.x86_64 (zabbix) Requires: systemd Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64 Error: Package: zabbix-server-mysql-3.0.11-1.el7.x86_64 (zabbix) Requires: libnetsnmp.so.31()(64bit) Error: httpd24-tools conflicts with httpd-tools-2.2.34-1.15.amzn1.x86_64 Error: php56-process conflicts with php-process-5.3.29-1.8.amzn1.x86_64 Error: php56 conflicts with php-5.3.29-1.8.amzn1.x86_64 Error: php56-xml conflicts with php-xml-5.3.29-1.8.amzn1.x86_64 Error: php56-cli conflicts with php-cli-5.3.29-1.8.amzn1.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

我可以知道這裏有什麼問題嗎?

我解決了這個問題很久,任何人都可以幫忙嗎?

回答

0

你的問題是軟件包依賴。您正在嘗試安裝RefHat7(rhel7)軟件包,該軟件包需要systemd軟件包。不幸的是,您的操作系統Amazon Linux不支持systemd。

解決方案:

  • 切換到RHEL/CentOS的AMI和使用RHEL ZABBIX包
  • 使用一些回購,這對於亞馬遜Linux提供ZABBIX包(不包RHEL混用)
相關問題