TASK [yum install mariadb zabbix httpd] **************************************** fatal: [192.168.100.112]: FAILED! => {"changed": false, "msg": "Failure talking to yum: failure: repodata/repomd.xml from ftp_centos: [Errno 256] No more mirrors to try.\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\"\nftp://192.168.100.111/centos/repodata/repomd.xml: [Errno 14] curl#7 - \"Failed connect to 192.168.100.111:21; Connection refused\""}
时间: 2024-04-04 19:35:43 浏览: 115
CentOS7.4部署Zabbix4.0
这个错误信息提示了 yum 安装 mariadb、zabbix、httpd 失败了,因为不能连接到 192.168.100.111 的 ftp 服务器,导致无法获取 repodata/repomd.xml 文件。可能是因为 ftp 服务器没有启动,或者防火墙阻止了连接。建议检查 ftp 服务器是否正常运行,并且确认防火墙规则是否正确配置。
阅读全文