No announcement yet.

Failed upgraded from centreon 2.7.1 to 2.84

  • Filter
  • Time
  • Show
Clear All
new posts

  • Failed upgraded from centreon 2.7.1 to 2.84

    After upgrade centreoncore can't connect to database centreon and start centreon broker

    tail -f /var/log/centreon/centcore.log
    2017-03-09 13:06:05 - MySQL error : cannot connect to database centreon: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (caller: centreon::common::db:/usr/share/perl5/centreon/common/
    2017-03-09 13:06:05 - Error when getting server properties

    netstat -ln | awk '/mysql(.*)?.sock/ { print $9 }'

    tail -f /var/log/centreon-engine/centengine.log |grep error
    [1489181235] [14804] Error: Could not load module '/usr/lib/centreon-broker/': [/home/ip/downloads/centreon-engine-1.5.0/src/broker/] Function nebmodule_init returned an error

    I was able to replicate it on a brand new build. During the upgrade 2.7.1 > 2.8.4 everything worked just like on the first upgrade, but exhibited the same centreon broker issues;
    Last edited by ipus2017; 10 March 2017, 23:06.

  • #2

    For the problem, to connect to database can you valide if your mysql service is running and if the configuration /etc/centreon/ is correct.

    For the second problem, can you execute locate, and change this value into the centreon engine configuration in WebUI.