Announcement

Collapse
No announcement yet.

Failed upgraded from centreon 2.7.1 to 2.84

Collapse
X
 
  • 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/db.pm:266)
    2017-03-09 13:06:05 - Error when getting server properties

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

    tail -f /var/log/centreon-engine/centengine.log |grep error
    [1489181235] [14804] Error: Could not load module '/usr/lib/centreon-broker/cbmod.so': [/home/ip/downloads/centreon-engine-1.5.0/src/broker/handle.cc:246(open)] 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; 11th March 2017, 00:06.

  • #2
    Hello,

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

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

    Comment

    Working...
    X