Chinaunix

标题: CentOS运行nagios的问题 [打印本页]

作者: int345    时间: 2009-07-16 15:47
标题: CentOS运行nagios的问题
通过yum安装的nagios,版本如下:
[root@rhcs01 ~]# rpm -qa | grep nagios
nagios-3.0.6-1.el5.rf
nagios-plugins-1.4.13-1.el5.rf


Centos是5.2。

安装完运行:
[root@rhcs01 ~]# /etc/init.d/nagios checkconfig
Running configuration check... CONFIG ERROR!  Check your Nagios configuration.

[root@rhcs01 ~]# sh /etc/init.d/nagios checkconfig
Running configuration check... OK.


为什么加了一个sh,运行结果就不同了呢?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2