yum 说 mod_cluster 已安装,但文件不存在

yum 说 mod_cluster 已安装,但文件不存在

RHEL 6.5 + JBoss EAP 6。

我使用 grouinstall 从 RHEL repos 安装了 JBoss EAP 6:

# yum groupinstall "JBoss EAP 6"

这似乎运行良好,只是 mod_cluster 的文件实际上并未安装,尽管 yum 说 mod_cluster 已安装。我尝试过重新安装整个组、仅重新安装 mod_cluster、清除 yum 缓存等。仍在挖掘,但到目前为止我仍不知所措,RHEL 支持尚未提供帮助。

答案1

我相信这是 Red Hat 的错误。他们似乎有两个名为“mod_cluster”的软件包,一个是 Apache 的一部分,另一个是 JBoss 的一部分(这只是 mod_cluster-native 的别名?):

mod_cluster.noarch : JBoss mod_cluster for Apache httpd
mod_cluster-demo.noarch : Sample app for mod_cluster
mod_cluster-native.x86_64 : JBoss mod_cluster for Apache httpd
mod_cluster.x86_64 : Apache HTTP load balancer

“yum groupinstall 'JBoss EAP 6'” 应该安装 mod_cluster.noarch,而不是 mod_cluster.x86_64。

这个损坏的系统产生的结果和正常运行的系统产生的结果相同:

# rpm -ql mod_cluster
/etc/httpd/conf.d/mod_cluster.conf
/usr/lib64/httpd/modules/mod_advertise.so
/usr/lib64/httpd/modules/mod_manager.so
/usr/lib64/httpd/modules/mod_proxy_cluster.so
/usr/lib64/httpd/modules/mod_slotmem.so
/usr/share/doc/mod_cluster-1.2.6
/usr/share/doc/mod_cluster-1.2.6/README
/usr/share/doc/mod_cluster-1.2.6/lgpl.txt

# rpm -ql mod_cluster
/etc/maven/fragments/mod_cluster
/usr/share/java/mod_cluster-container-catalina-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-catalina-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-catalina-sources.jar
/usr/share/java/mod_cluster-container-catalina-standalone-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-catalina-standalone-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-catalina-standalone-sources.jar
/usr/share/java/mod_cluster-container-catalina-standalone.jar
/usr/share/java/mod_cluster-container-catalina.jar
/usr/share/java/mod_cluster-container-jbossweb-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-jbossweb-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-jbossweb-sources.jar
/usr/share/java/mod_cluster-container-jbossweb.jar
/usr/share/java/mod_cluster-container-spi-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-spi-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-spi-sources.jar
/usr/share/java/mod_cluster-container-spi.jar
/usr/share/java/mod_cluster-container-tomcat6-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-tomcat6-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-tomcat6-sources.jar
/usr/share/java/mod_cluster-container-tomcat6.jar
/usr/share/java/mod_cluster-container-tomcat7-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-container-tomcat7-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-container-tomcat7-sources.jar
/usr/share/java/mod_cluster-container-tomcat7.jar
/usr/share/java/mod_cluster-core-1.2.6.Final-redhat-1-sources.jar
/usr/share/java/mod_cluster-core-1.2.6.Final-redhat-1.jar
/usr/share/java/mod_cluster-core-sources.jar
/usr/share/java/mod_cluster-core.jar
/usr/share/maven2/poms/JPP-mod_cluster-container-catalina-standalone.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-catalina.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-jbossweb.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-spi.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-tomcat6.pom
/usr/share/maven2/poms/JPP-mod_cluster-container-tomcat7.pom
/usr/share/maven2/poms/JPP-mod_cluster-container.pom
/usr/share/maven2/poms/JPP-mod_cluster-core.pom
/usr/share/maven2/poms/JPP-mod_cluster-parent.pom

背景:

构建了两个 RHEL 6.5 VM 以在域模式下运行 JBoss EAP,一个系统作为域控制器/主系统,另一个作为从系统。这些系统运行良好。

添加了第三台 VM 作为第二台从属 VM。安装此系统所用的模板与前两台不同。特别是,此系统所用的模板包括“epel”(Fedora)存储库。其他两台 VM 没有此存储库。

在所有情况下,JBoss 的安装如下:

# yum groupinstall "JBoss EAP 6"

此 groupinstall 将安装软件包“mod_cluster”。epel repo 中有一个 mod_cluster 软件包 (mod_cluster.x86_64),它与 ​​JBoss EAP repo (jb-eap-6-for-rhel-6-server-rpms - mod_cluster.noarch / mod_cluster-native.x86_64) 中的 mod_cluster 软件包冲突。

删除 epel repo 解决了这个问题。就我而言,我重建了第三个虚拟机以匹配前两个虚拟机。

相关内容