嗨我收到以下错误,当我运行make all
/usr/bin/install: cannot stat `nagios': No such file or directory make[2]: *** [install-basic] Error 1 make[2]: Leaving directory `/root/nagios/nagios/base' make[1]: *** [install] Error 2 make[1]: Leaving directory `/root/nagios/nagios/base' make: *** [install] Error 2
我正在遵循http://www.howtoforge.com/installing-nagios-3.4.4-on-centos-6.3并添加以下内容
1) Create Account Information Become the root user. su -l Create a new nagios user account and give it a password. /usr/sbin/useradd -m nagios passwd nagios Create a new nagcmd group for allowing external commands to be submitted through the web interface. Add both the nagios user and the apache user to the group. /usr/sbin/groupadd nagcmd /usr/sbin/usermod -a -G nagcmd nagios /usr/sbin/usermod -a -G nagcmd apache
之前我跑了所有
这个目录是否在您的Nagios服务器上?
/root/nagios/nagios/base
我build议您不要使用下面的文档,而应该遵循Fedora的Nagios快速入门指南,因为CentOS也是基于RPM的
http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html