[2023-10-29T20:09:28.462+08:00] [sql] [error] storage: rebuilder: Unable to connect to the database: mysql_connection: error while starting connection
[2023-10-29T20:14:28.462+08:00] [sql] [error] mysql_connection: error while starting connection
[2023-10-29T20:14:28.462+08:00] [sql] [error] storage: rebuilder: Unable to connect to the database: mysql_connection: error while starting connection
[2023-10-29T20:17:01.596+08:00] [tcp] [error] Error while reading on socket: End of file
[2023-10-29T20:17:01.696+08:00] [core] [error] feeder 'central-broker-master-input-1' error:Attempt to read data from peer SCRUBBED:45690 on a closing socket
[2023-10-29T20:17:01.696+08:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2023-10-29T20:17:01.696+08:00] [core] [info] feeder: queue files of client 'central-broker-master-input-1' removed
[2023-10-29T20:17:01.696+08:00] [core] [info] feeder: thread of client 'central-broker-master-input-1' will exit
[2023-10-29T20:17:02.209+08:00] [core] [info] removing 'central-broker-master-input-1' from acceptor 'central-broker-master-input'
[2023-10-29T20:17:02.210+08:00] [core] [info] Destroying muxer central-broker-master-input-1: number of events in the queue: 0
[2023-10-29T20:17:02.381+08:00] [core] [info] main: termination request received by process
[2023-10-29T20:17:05.155+08:00] [tcp] [error] Error while reading on socket: End of file
[2023-10-29T20:17:05.210+08:00] [core] [info] processing acceptor 'central-broker-master-input' finished
[2023-10-29T20:17:05.211+08:00] [core] [error] failover: global error: Attempt to read data from peer localhost:5670 on a closing socket
[2023-10-29T20:17:05.212+08:00] [core] [info] BBDO: unable to send stop message to peer, it is already stopped: Attempt to read data from peer localhost:5670 on a closing socket
[2023-10-29T20:17:05.212+08:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2023-10-29T20:17:05.212+08:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2023-10-29T20:17:05.213+08:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2023-10-29T20:17:05.305+08:00] [core] [info] bbdo stream stopped with 975 events acknowledged
[2023-10-29T20:17:05.355+08:00] [tcp] [error] Error while reading on socket: Operation aborted.
[2023-10-29T20:17:05.355+08:00] [core] [info] feeder: queue files of client 'central-broker-master-input-3' removed
[2023-10-29T20:17:05.357+08:00] [core] [info] feeder: thread of client 'central-broker-master-input-3' will exit
[2023-10-29T20:17:05.357+08:00] [core] [info] Destroying muxer central-broker-master-input-3: number of events in the queue: 0
[2023-10-29T20:17:05.357+08:00] [core] [info] multiplexing: stopping engine
[2023-10-29T20:17:05.357+08:00] [core] [info] multiplexing: sending events to muxers for the last time
[2023-10-29T20:17:06.213+08:00] [core] [info] Destroying muxer centreon-broker-master-rrd: number of events in the queue: 0
[2023-10-29T20:17:06.512+08:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2023-10-29T20:17:06.513+08:00] [tcp] [error] Error while reading on socket: Operation aborted.
[2023-10-29T20:17:06.513+08:00] [core] [info] Destroying muxer forward-to-master: number of events in the queue: 0
[2023-10-29T20:17:06.567+08:00] [core] [info] sql stream stopped with 0 ackowledged events
[2023-10-29T20:17:06.567+08:00] [core] [info] Destroying muxer central-broker-master-sql: number of events in the queue: 100000
[2023-10-29T20:17:08.145+08:00] [core] [info] storage stream stopped with 0 acknowledged events
[2023-10-29T20:17:08.145+08:00] [core] [info] Destroying muxer central-broker-master-perfdata: number of events in the queue: 100002
[2023-10-29T20:17:10.449+08:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/80-sql.so'
[2023-10-29T20:17:10.449+08:00] [core] [info] protocols: unregistering protocol 'SQL'
[2023-10-29T20:17:10.449+08:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2023-10-29T20:17:10.449+08:00] [core] [info] protocols: unregistering protocol 'TLS'
[2023-10-29T20:17:10.449+08:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2023-10-29T20:17:10.449+08:00] [core] [info] protocols: unregistering protocol 'TCP'
[2023-10-29T20:17:10.450+08:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/20-storage.so'
[2023-10-29T20:17:10.450+08:00] [core] [info] protocols: unregistering protocol 'storage'
[2023-10-29T20:17:10.450+08:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2023-10-29T20:17:10.506+08:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2023-10-29T20:17:10.506+08:00] [core] [info] protocols: unregistering protocol 'BBDO'
[2023-10-29T20:17:10.506+08:00] [core] [info] protocols: unregistering protocol 'compression'
[2023-10-29T20:17:10.506+08:00] [core] [info] protocols: unregistering protocol 'file'
[2023-10-29T20:17:10.506+08:00] [core] [info] protocols: destruction (0 protocols still registered)
[2023-10-29T20:17:10.506+08:00] [core] [info] pool: the latency check encountered an error: Operation aborted.
[2023-10-29T20:17:10.508+08:00] [core] [info] log finished
[2023-10-29T20:17:32.130+08:00] [core] [info] /var/log/centreon-broker/centreon-remotesvr-SCRUBBED-broker.log : log started
[2023-10-29T20:17:32.130+08:00] [core] [info] Starting the TCP thread pool of 3 threads
[2023-10-29T20:17:32.131+08:00] [core] [info] protocols: registering protocol ('file' (layers 1-3)
[2023-10-29T20:17:32.131+08:00] [core] [info] protocols: registering protocol ('compression' (layers 6-6)
[2023-10-29T20:17:32.131+08:00] [core] [info] protocols: registering protocol ('BBDO' (layers 7-7)
[2023-10-29T20:17:32.131+08:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2023-10-29T20:17:32.239+08:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2023-10-29T20:17:32.273+08:00] [core] [info] NEB: module for Centreon Broker 21.10.5
[2023-10-29T20:17:32.273+08:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2023-10-29T20:17:32.362+08:00] [core] [info] protocols: registering protocol ('TLS' (layers 5-5)
[2023-10-29T20:17:32.362+08:00] [core] [info] protocols: registering protocol ('TCP' (layers 1-4)
[2023-10-29T20:17:32.362+08:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/80-sql.so'
[2023-10-29T20:17:32.382+08:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2023-10-29T20:17:32.383+08:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/20-storage.so'
[2023-10-29T20:17:32.402+08:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2023-10-29T20:17:32.402+08:00] [core] [info] protocols: registering protocol ('storage' (layers 1-7)
[2023-10-29T20:17:32.403+08:00] [core] [info] protocols: registering protocol ('SQL' (layers 1-7)
[2023-10-29T20:17:32.403+08:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/20-storage.so' which is already loaded
[2023-10-29T20:17:32.403+08:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2023-10-29T20:17:32.407+08:00] [core] [info] Destroying muxer central-broker-master-input: number of events in the queue: 0
[2023-10-29T20:17:33.148+08:00] [core] [info] multiplexing: engine started
[2023-10-29T20:17:33.736+08:00] [sql] [error] mysql_connection: could not store service: Out of range value for column 'notification_number' at row 1
[2023-10-29T20:17:33.755+08:00] [sql] [error] conflict_manager: error in the main loop: could not store service: Out of range value for column 'notification_number' at row 1
[2023-10-29T20:17:34.147+08:00] [sql] [error] mysql_connection: error while starting connection
[2023-10-29T20:17:34.147+08:00] [sql] [error] storage: rebuilder: Unable to connect to the database: mysql_connection: error while starting connection
[2023-10-29T20:17:37.407+08:00] [core] [info] Available connections cleaning: Operation aborted.
[2023-10-29T20:17:37.412+08:00] [core] [info] New incoming connection 'central-broker-master-input-1'
[2023-10-29T20:17:45.085+08:00] [core] [info] Available connections cleaning: Operation aborted.
[2023-10-29T20:17:45.094+08:00] [core] [info] New incoming connection 'central-broker-master-input-2'
[error] Error while reading on socket: Operation aborted.
[2023-10-29T17:50:50.843+08:00] [core] [info] Destroying muxer forward-to-master: number of events in the queue: 0
[2023-10-29T17:50:50.904+08:00] [core] [info] sql stream stopped with 0 ackowledged events
[2023-10-29T17:50:50.905+08:00] [core] [info] Destroying muxer central-broker-master-sql: number of events in the queue: 100000
[2023-10-29T17:50:53.468+08:00] [core] [info] storage stream stopped with 0 acknowledged events
[2023-10-29T17:50:53.468+08:00] [core] [info] Destroying muxer central-broker-master-perfdata: number of events in the queue: 100003
[2023-10-29T20:18:01.841+08:00] [tcp] [error] Error while reading on socket: End of file
[2023-10-29T20:18:01.941+08:00] [core] [error] feeder 'central-broker-master-input-2' error:Attempt to read data from peer SCRUBBED:35488 on a closing socket
[2023-10-29T20:18:01.941+08:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2023-10-29T20:18:01.941+08:00] [core] [info] feeder: queue files of client 'central-broker-master-input-2' removed
[2023-10-29T20:18:01.941+08:00] [core] [info] feeder: thread of client 'central-broker-master-input-2' will exit
[2023-10-29T20:18:03.125+08:00] [core] [info] removing 'central-broker-master-input-2' from acceptor 'central-broker-master-input'
[2023-10-29T20:18:03.126+08:00] [core] [info] Destroying muxer central-broker-master-input-2: number of events in the queue: 0
[2023-10-29T20:18:20.585+08:00] [core] [info] New incoming connection 'central-broker-master-input-3'
[2023-10-29T20:22:34.148+08:00] [sql] [error] mysql_connection: error while starting connection
[2023-10-29T20:22:34.148+08:00] [sql] [error] storage: rebuilder: Unable to connect to the database: mysql_connection: error while starting connection
[2023-10-29T20:27:34.148+08:00] [sql] [error] mysql_connection: error while starting connection
[2023-10-29T20:27:34.148+08:00] [sql] [error] storage: rebuilder: Unable to connect to the database: mysql_connection: error while starting connection
After the remote server and poller rebooted, it wasn’t detected in the centreon. I have attached the logs from centreon-remotesvr-SCRUBBED-broker.log, seek your assistance.
I have tried this solution to solve the mariadb problem but to no avail:
All the services are running fine as well. Please let me know what other information you need.