日期:2014-05-16  浏览次数:20712 次

安装contreon配置问题,steptodream请进,着急,在线等
上一个问题解决了,是因为php安装有问题,现在配置到第10步Centreon Configuration File出错:
Writable Centreon Configuration File (centreon.conf.php) Critical: Not Writeable  
  /etc/centreon/ apache:apache (755)
Should be viney:viney (755) 
Generate Centreon configuration file 
Warning: fopen(/etc/centreon/centreon.conf.php) [function.fopen]: failed to open stream: Permission denied in /usr/local/centreon/www/install/steps/step10.php on line 114
Critical: Can't create file  
  /etc/centreon/centreon.conf.php fopen(/etc/centreon/centreon.conf.php) [function.fopen]: failed to open stream: Permission denied 
Generate Centstorage configuration file 
Warning: fopen(/etc/centreon//conf.pm) [function.fopen]: failed to open stream: Permission denied in /usr/local/centreon/www/install/steps/step10.php on line 140
Critical: Can't create file for ODS  
  /etc/centreon//conf.pm fopen(/etc/centreon//conf.pm) [function.fopen]: failed to open stream: Permission denied 


------解决方案--------------------
又看了一下 注意这2句提示
/etc/centreon/ apache:apache (755)
Should be viney:viney (755) 

你看 /etc/centreon/的所有者和组是apache:apache 
应该是 viney:viney (755) 

备份一下/etc/centreon目录 
你执行命令chown -R viney:viney /etc/centreon

然后再配置
------解决方案--------------------
探讨
搞定了,谢谢steptodream,再问一下centreon 的用户名密码在什么地方,我怎么改?