Database updates not active, pollers not running, get stack
Hello community,
I am new in centreon so quickly get stack at version upgrade from 20.04 to 21.10
My error is: Database updates not active, pollers not running, last update in yellow:
Somehow I found as well in the logs that the connection to SQL is failed:
2022-05-02 11:49:13|0|0|0||local] l127.0.0.1] Authentication failed for 'admin'
I have a little idea about forcing the connection to sql but the centreon user is “centreon” normally for database.
Please help as my research was unsuccessfully.
Regards,
Eugene
Page 1 / 1
Hello @Jenellu,
You can try to follow these step :
Don't hesitate to come back to this thread if these steps didn't work.
Regards.
Hello itoussies,
Thank you for fast reply,
I sow it already didn’t help.
Regards,
Do you have any recent errors in /var/log/centreon-broker/central-broker-master.log ?
Yes, please:
>2022-05-02T14:46:29.233+02:00] sql] error] mysql_connection: could not store logs correctly: Table 'centreon_storage.logs' doesn't exist /2022-05-02T14:46:29.239+02:00] ]sql] ]error] conflict_manager: error in the main loop: could not store logs correctly: Table 'centreon_storage.logs' doesn't exist 2022-05-02T14:46:29.264+02:00] 0sql] lerror] mysql_connection: could not store logs correctly: Table 'centreon_storage.logs' doesn't exist r2022-05-02T14:46:29.264+02:00] 0sql] qerror] conflict_manager: error while checking deleted indexes: could not query index table to get index to delete: could not store logs correctly: Table 'centreon_storage.logs' doesn't exist b2022-05-02T14:46:29.264+02:00] :core] oerror] failover: global error: conflict_manager: events loop interrupted b2022-05-02T14:46:29.264+02:00] :core] oinfo] storage stream stopped with 0 acknowledged events b2022-05-02T14:46:30.026+02:00] :core] oerror] failover: global error: conflict_manager: events loop interrupted b2022-05-02T14:46:30.030+02:00] :core] oinfo] sql stream stopped with 0 ackowledged events b2022-05-02T14:47:29.270+02:00] :sql] serror] storage stream instanciation failed b2022-05-02T14:47:29.271+02:00] :core] oerror] failover: global error: storage: Unable to initialize the storage connection to the database
Weird
Let’s see what table are currently present :
mysql -u centreon -p centreon -e "SHOW TABLES" mysql -u centreon -p centreon_storage -e "SHOW TABLES"
If you are using a Remote DBMS :
mysql -u centreon -p centreon -h < IP of your Remote DBMS > -e "SHOW TABLES" ...
Before everything, can you execute the follwowing command :
df -h
ll /var/lib/mysql/centreon_storage/data_bin*
ll /var/lib/mysql/centreon_storage/logs*
ll /var/lib/mysql/centreon_storage/log_archive*
Let’s see by tomorrow. Finished my day.
thanks
Hello Community,
I have the same error (see capture below) and the topic didn’t help.
Here are the errors I have in /var/log/centreon-broker/central-broker-master.log
s2022-07-11T10:12:41.463+02:00] 0perfdata] terror] storage: invalid perfdata format in service (47:3372): no numeric value after equal sign 'valeur'=;'
r2022-07-11T10:12:41.493+02:00] 0sql] qerror] mysql_connection: could not insert data in data_bin: Table 'centreon_storage.data_bin' doesn't exist
It seems that the table centreon_storage.data_bin does not exist.
Could you guide me to resolve the error and restore normal operation to centreon?
Thanks in advance.
Hello @itoussies
I have the same problem as @Intence-Tech , could you help us please ?
Thanks in advance
Hello,
If the table does not exist, you can create it with the following statement