NRPE 安装问题“以守护进程模式启动 nrpe.../usr/sbin/nrpe:加载时出错”

NRPE 安装问题“以守护进程模式启动 nrpe.../usr/sbin/nrpe:加载时出错”

我正在尝试在 Centos 上安装 OP5 的 nrpe 包。我认为有些东西损坏了,因为我在尝试启动 nrpe 服务时收到以下信息:service nrpe start

以守护进程模式启动 nrpe .../usr/sbin/nrpe:加载共享库时出错:libssl.so.6:无法打开共享对象文件:没有此文件或目录失败!

因此,我确实尝试删除该软件包,因为我正在考虑全新安装,但它似乎没有被安装:

rpm -e nrpe-2.13-nagios_plugins-1.4.15-CentOS_6-2.13.1_x86_64.rpm

这给了我:

错误:软件包 nrpe-2.13-nagios_plugins-1.4.15-CentOS_6-2.13.1_x86_64.rpm 未安装

所以我认为我应该安装它:

下午-i --测试nrpe-2.13-nagios_plugins-1.4.15-CentOS_6-2.13.1_x86_64.rpm

这表明它已经安装好了:

[root@smicloud ~]# rpm -i --test nrpe-2.13-nagios_plugins-1.4.15-CentOS_6-2.13.1_x86_64.rpm 
    package nrpe_nagiosplugins-2.13.1-release.x86_64 is already installed
    file /usr/sbin/nrpe from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_apt from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_by_ssh from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_cluster from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_dhcp from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_disk from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_dummy from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_http from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_icmp from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_ide_smart from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_load from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_mrtg from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_mrtgtraf from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_mysql from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_mysql_query from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_nagios from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_nt from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_ntp from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_ntp_peer from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_ntp_time from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_nwstat from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_overcr from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_pgsql from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_ping from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_procs from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_real from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_smtp from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_ssh from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_swap from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_tcp from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_time from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_ups from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/check_users from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/negate from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/urlize from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /opt/plugins/utils.pm from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64
    file /usr/sbin/libexec/check_nrpe from install of nrpe_nagiosplugins-2.13.1-release.x86_64 conflicts with file from package nrpe_nagiosplugins-2.13.1-release.x86_64

在我意识到我需要一个特定的 OP5 nrpe 包之前,我尝试使用 yum 安装 nrpe。但后来我删除了它,似乎工作正常。

然后我偶然尝试安装 Centos 5.x 的 nrpe 包,并尝试将其删除。我认为我在这里遇到了与上述相同的症状,无论是安装还是删除。

我该如何修复这个问题?或者我应该从哪里开始查找更多可以帮助我解决这个问题的信息。

我是新手,也许这是简单的东西......?

答案1

问题是仍有用于 Nagios 版 NRPE 的插件安装。一旦移除,就可以顺利安装用于 OP5 的 NRPE。

相关内容