NConf异常相关

在nconf向导的时候报如下错误:

copy config file (.file_accounts.php) failed

copy config file (authentication.php) failed  

copy config file (main.php) failed

copy config file (mysql.php) failed

copy config file (nconf.php) failed

 

解决方案:chown -R nagios.nagios config/ temp/ static_cfg/ output/ 这个权限之前按照网上给的apache用户,导致此处failed.

  

 ==================================

执行NConf  Generate Nagios config 时候, 需要拷贝nagios/bin/nagios文件到nconf/bin 目录下,而且需要设置权限:

Chown apache:apache    bin/nagios

Chmod +x    bin/nagios

posted @ 2016-03-04 15:45  又是十年  Views(369)  Comments(0Edit  收藏  举报