Closed Feliscucu closed 4 years ago
HI @Feliscucu, the problem is due to a version of Centreon Broker try to convert string into UTF-8 before to insert in DB. Can you try to update Centreon Broker component to the 20.04.6 version? Please remove also the queue files into /var/lib/centreon-broker/ before to start the new version.
Regards,
Thanks Ipinsivy. I remove query files and update, but the same problem.
Versions
centreon-widget-grid-map-20.04.0-5.el7.centos.noarch
centreon-connector-perl-20.04.0-2.el7.centos.x86_64
centreon-plugin-Network-Cisco-Standard-Snmp-20200602-094050.el7.centos.noarch
centreon-plugin-Applications-Monitoring-Centreon-Map4-Jmx-20200602-094050.el7.centos.noarch
centreon-plugin-Virtualization-Vmware2-Connector-Plugin-20200602-094050.el7.centos.noarch
centreon-common-20.04.4-6.el7.centos.noarch
centreon-engine-20.04.4-1.el7.centos.x86_64
centreon-20.04.4-6.el7.centos.noarch
centreon-widget-live-top10-memory-usage-20.04.0-5.el7.centos.noarch
centreon-widget-engine-status-20.04.1-1.el7.centos.noarch
centreon-plugin-Hardware-Printers-Generic-Snmp-20200602-094050.el7.centos.noarch
centreon-plugin-Applications-Monitoring-Centreon-Database-20200602-094050.el7.centos.noarch
centreon-plugin-Applications-Monitoring-Centreon-Central-20200602-094050.el7.centos.noarch
centreon-broker-20.04.6-3.el7.centos.x86_64
centreon-auto-discovery-server-20.04.3-3.el7.centos.noarch
centreon-widget-hostgroup-monitoring-20.04.0-5.el7.centos.noarch
centreon-connector-20.04.0-2.el7.centos.x86_64
centreon-widget-service-monitoring-20.04.2-1.el7.centos.noarch
centreon-plugin-Applications-Protocol-Ldap-20200602-094050.el7.centos.noarch
centreon-plugin-Applications-Protocol-Http-20200602-094050.el7.centos.noarch
centreon-plugin-Applications-Databases-Mysql-20200602-094050.el7.centos.noarch
centreon-plugin-Hardware-Servers-Dell-Openmanage-Snmp-20200602-094050.el7.centos.noarch
centreon-web-20.04.4-6.el7.centos.noarch
centreon-engine-daemon-20.04.4-1.el7.centos.x86_64
centreon-broker-cbd-20.04.6-3.el7.centos.x86_64
centreon-base-config-centreon-engine-20.04.4-6.el7.centos.noarch
centreon-release-20.04-1.el7.centos.noarch
centreon-widget-httploader-20.04.0-5.el7.centos.noarch
centreon-widget-graph-monitoring-20.04.0-5.el7.centos.noarch
centreon-widget-live-top10-cpu-usage-20.04.0-5.el7.centos.noarch
centreon-connector-ssh-20.04.0-2.el7.centos.x86_64
centreon-pp-manager-20.04.1-1.el7.centos.noarch
centreon-widget-host-monitoring-20.04.3-2.el7.centos.noarch
centreon-plugin-Hardware-Ups-Standard-Rfc1628-Snmp-20200602-094050.el7.centos.noarch
centreon-plugin-Applications-Monitoring-Centreon-Poller-20200602-094050.el7.centos.noarch
centreon-license-manager-20.04.2-1.el7.centos.noarch
centreon-plugin-Hardware-Servers-Dell-IDrac-Snmp-20200602-094050.el7.centos.noarch
centreon-plugin-Virtualization-VMWare-daemon-3.1.2-20200602093832.el7.centos.noarch
centreon-gorgone-centreon-config-20.04.3-1592898588.09205b2.el7.centos.noarch
centreon-perl-libs-20.04.4-6.el7.centos.noarch
centreon-broker-core-20.04.6-3.el7.centos.x86_64
centreon-broker-cbmod-20.04.6-3.el7.centos.x86_64
centreon-poller-centreon-engine-20.04.4-6.el7.centos.noarch
centreon-awie-20.04.0-4.el7.centos.noarch
centreon-widget-servicegroup-monitoring-20.04.0-5.el7.centos.noarch
centreon-widget-global-health-20.04.0-5.el7.centos.noarch
centreon-plugin-Operatingsystems-Linux-Snmp-20200602-094050.el7.centos.noarch
centreon-license-manager-common-20.04.2-1.el7.centos.noarch
centreon-gorgone-20.04.3-1592898588.09205b2.el7.centos.noarch
centreon-broker-storage-20.04.6-3.el7.centos.x86_64
centreon-trap-20.04.4-6.el7.centos.noarch
centreon-clib-20.04.0-7.el7.centos.x86_64
centreon-widget-tactical-overview-20.04.0-5.el7.centos.noarch
centreon-plugin-Operatingsystems-Windows-Snmp-20200602-094050.el7.centos.noarch
centreon-plugin-Applications-Protocol-Ftp-20200602-094050.el7.centos.noarch
centreon-plugin-Applications-Protocol-Dns-20200602-094050.el7.centos.noarch
centreon-engine-extcommands-20.04.4-1.el7.centos.x86_64
centreon-database-20.04.4-6.el7.centos.noarch
And /var/lib/centreon-broker/:
if a solution is not possible, how can I create a new database and keep the Centreon configuration?
Thanks for your help!
Hi,
May be you update first Centreon Broker before Centreon Engine.
Can you try to:
Regards,
Hi Ipinsivy, I have no queue files. I stop and start services but no luck.
any suggestion? Thanks!
Hi @Feliscucu,
Lets try this:
Restart Engine: systemctl restart centengine
Stop Broker: systemctl stop cbd
Delete queue files: rm -f /var/lib/centreon-broker/*
Start Broker: systemctl start cbd
Then wait for the problematic services to be checked.
Thanks @cgagnaire, Problem continue. In central-broker-master.log, I have this:
Centreon Broker 20.04.6 log file closed
Centreon Broker 20.04.6 log file opened
[1595144617] error: cannot open '/var/lib/centreon-engine//central-module-master.memory.central-module-master-output' (mode w+): Permission denied
Centreon Broker 20.04.6 log file closed
Centreon Broker 20.04.6 log file opened
[1595144622] error: cannot open '/var/lib/centreon-engine//central-module-master.memory.central-module-master-output' (mode w+): Permission denied
Centreon Broker 20.04.6 log file closed
Centreon Broker 20.04.6 log file opened
[1595144627] error: cannot open '/var/lib/centreon-engine//central-module-master.memory.central-module-master-output' (mode w+): Permission denied
Centreon Broker 20.04.6 log file closed
Centreon Broker 20.04.6 log file opened
[1595144632] error: cannot open '/var/lib/centreon-engine//central-module-master.memory.central-module-master-output' (mode w+): Permission denied
Centreon Broker 20.04.6 log file closed
Centreon Broker 20.04.6 log file opened
[1595144637] error: cannot open '/var/lib/centreon-engine//central-module-master.memory.central-module-master-output' (mode w+): Permission denied
Centreon Broker 20.04.6 log file closed
Thanks everyone for the help!
Hi @Feliscucu,
Ok so the problem is different from what I see, there is no more errors with SQL backend.
But that's odd because your central-broker-master.log
should not mention central-module-master
output or whatsoever.
That's supposed to be cbmod module launched by Engine, so you have to make sure centreon-engine user can read and write on the folder and file.
Thanks to @cgagnaire and @lpinsivy
Finally I create a new Centreon and import configuration with this great tool: https://github.com/centreon/centreon-awie
BUG REPORT INFORMATION
Prerequisites
Versions
Operating System
CentOS Linux release 7.8.2003 (Core)
Browser used
Version: --
Additional environment details (AWS, VirtualBox, physical, etc.): VMware ESXi 6.7
Description
I update from 20.04 to 20.04.3 and now I have problems with database
Steps to Reproduce
Please describe precisely the steps to reproduce the encountered issue.
Describe the received result
Describe the expected result
Poller don't restart and not take any modify
Logs
PHP error logs
centreon-engine logs (if needed)
centreon-broker logs (if needed)
centcore logs (if needed)
Additional relevant information (e.g. frequency, ...)