Question

Error afer upgrade 21.04 to 22.10

  • 1 February 2023
  • 1 reply
  • 170 views

Badge +1

Hello,

 

After upgrade Centreon from 21.10 to 22.10 I have my broker crashing and relaunching randomly.

And generating files crashing my browser to step “moving files”.

In /var/log/php-fpm/centreon-error

[01-Feb-2023 11:15:20 Europe/Paris] PHP Warning:  Undefined array key 20 in /usr/share/centreon/www/include/configuration/configCentreonBroker/listCentreonBroker.php on line 182

No error in broker :

[2023-02-01T10:43:26.699+01:00] [core] [info] Starting the TCP thread pool of 6 threads
[2023-02-01T10:43:26.700+01:00] [core] [info] protocols: registering protocol ('file' (layers 1-3)
[2023-02-01T10:43:26.700+01:00] [core] [info] protocols: registering protocol ('compression' (layers 6-6)
[2023-02-01T10:43:26.700+01:00] [core] [info] protocols: registering protocol ('BBDO' (layers 7-7)
[2023-02-01T10:43:26.700+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2023-02-01T10:43:26.703+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2023-02-01T10:43:26.706+01:00] [core] [info] NEB: module for Centreon Broker 22.10.0
[2023-02-01T10:43:26.706+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2023-02-01T10:43:26.711+01:00] [core] [info] protocols: registering protocol ('TLS' (layers 5-5)
[2023-02-01T10:43:26.711+01:00] [core] [info] protocols: registering protocol ('TCP' (layers 1-4)
[2023-02-01T10:43:26.711+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-lua.so'
[2023-02-01T10:43:26.713+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2023-02-01T10:43:26.713+01:00] [core] [info] protocols: registering protocol ('lua' (layers 1-7)
[2023-02-01T10:43:26.713+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/20-unified_sql.so'
[2023-02-01T10:43:26.719+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2023-02-01T10:43:26.719+01:00] [core] [info] protocols: registering protocol ('unified_sql' (layers 1-7)
[2023-02-01T10:43:26.719+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2023-02-01T10:43:26.721+01:00] [core] [info] multiplexing: 'central-broker-master-input' starts with 0 in queue and the queue file is disable
[2023-02-01T10:43:26.721+01:00] [core] [info] Destroying muxer central-broker-master-input: number of events in the queue: 0
[2023-02-01T10:43:26.722+01:00] [core] [info] multiplexing: 'centreon-broker-master-rrd' starts with 0 in queue and the queue file is disable
[2023-02-01T10:43:26.722+01:00] [core] [info] multiplexing: 'Centreon_4_Splunk' starts with 0 in queue and the queue file is disable
[2023-02-01T10:43:26.723+01:00] [core] [info] multiplexing: 'central-broker-master-unified-sql' starts with 0 in queue and the queue file is disable
[2023-02-01T10:43:26.724+01:00] [core] [info] multiplexing: engine started
[2023-02-01T10:43:26.733+01:00] [core] [info] Available connections cleaning: Operation aborted.
[2023-02-01T10:43:26.742+01:00] [core] [info] Poller '' with id 0 connected
[2023-02-01T10:43:26.742+01:00] [core] [info] New incoming connection 'central-broker-master-input-1'
[2023-02-01T10:43:26.743+01:00] [core] [info] multiplexing: 'central-broker-master-input-1' starts with 0 in queue and the queue file is disable
[2023-02-01T10:43:26.859+01:00] [core] [warning] Poller '' with id 0 already known as connected. Replacing it with ''
[2023-02-01T10:43:30.541+01:00] [core] [info] Available connections cleaning: Operation aborted.
[2023-02-01T10:43:30.545+01:00] [core] [warning] Poller '' with id 0 already known as connected. Replacing it with ''
[2023-02-01T10:43:30.545+01:00] [core] [info] New incoming connection 'central-broker-master-input-2'
[2023-02-01T10:43:30.545+01:00] [core] [info] multiplexing: 'central-broker-master-input-2' starts with 0 in queue and the queue file is disable

Any idea ?


1 reply

Userlevel 2
Badge +8

I have a similar issue, no resources appear. In the Pollers Conf. Web view I see the message:

* Only services, servicegroups, hosts and hostgroups are taken in account in order to calculate this status. If you modify a template, it won't tell you the configuration had changed.

 

have you modify any PHP file?

Reply