在RedHat 7上安装Centreon。

如果有人在红帽安装centreon的经验,你的帮助是非常需要的。

我正在关注指南

https://documentation.centreon.com/docs/centreon/en/latest/installation/from_packages.html

在Redhat 7.3上build立中心。

步骤安装中央服务器

$ yum install centreon-base-config-centreon-engine centreon 

完成没有任何错误。 接下来,我必须访问网页完成安装,但是当我访问http:// serverip / centreon的页面不断加载在最后我在浏览器中得到连接重置错误。

在centreon核心日志中,我可以看到错误消息。

  2017-06-28 01:09:32 - MySQL error : cannot connect to database centreon: Access denied for user 'centreon'@'localhost' (using password: YES) (caller: centreon::common::db:/usr/share/perl5/vendor_perl/centreon/common/db.pm:266) 2017-06-28 01:09:32 - Error when getting server properties nagiosPerfTrace.log show error. 2017-06-28 01:10:12 - MySQL error : cannot connect to database centreon: Access denied for user 'centreon'@'localhost' (using password: YES) (caller: centreon::common::db:/usr/share/perl5/vendor_perl/centreon/common/db.pm:23 4) 2017-06-28 01:10:12 - Can't connect to the database 

请问如果有人知道问题可以提供帮助?

谢谢

如果您已经安装了其他用途的MySQL服务器,Centreon安装可能无法添加没有root密码的数据库用户。 我不确定安装是否已经在某个时候提出了要求,但是您可以手动添加用户并在Centreonconfiguration文件中设置相同的密码。

如果只在安装过程中创build数据库结构,则可能需要重新安装,但是现在您已经知道数据库帐户,那么您更有可能成功。