Skip to main content

Hi, I’m newbie with centreon.

 

I have installed centreon 22.10 in a CenOS7 AWS EC2 instance with the automated script with

curl -L -s https://raw.githubusercontent.com/centreon/centreon/22.10.x/centreon/unattended.sh | sh 

After postinstalation, I went to the GUI and I saw that the central poller was stoped.

 

I have read and follow this and this

without success.

 

/var/log/messages seems clean

 

/var/log/centreon-broker/central-broker-master.log contain errors.

Error while reading on socket: End of file
feeder 'central-rrd-master-input-1' error:Attempt to read data from peer LOCALHOST:5670 on a closing socket
TCP: Connection refused to LOCALHOST:5670

 

/var/log/centreon-broker/central-rrd-master.log too

-root@yig centreon-broker]# cat  /var/log/centreon-broker/central-rrd-master.log| grep error
r2023-03-03T11:18:27.163+00:00] 0tcp] error] Error while reading on socket: Operation aborted.
.2023-03-03T11:18:27.270+00:00] 0core] [info] pool: the latency check encountered an error: Operation aborted.
.2023-03-03T11:19:25.382+00:00] 0tcp] error] Error while reading on socket: End of file
e2023-03-03T11:19:25.482+00:00] 0core] [error] feeder 'central-rrd-master-input-1' error:Attempt to read data from peer LOCALHOST:39152 on a closing socket
2023-03-03T11:19:26.445+00:00] 0core] [info] pool: the latency check encountered an error: Operation aborted.

 

I checked

systemctl status cbd centengine centreontrapd gorgoned

I checked

eroot@yig centreon-broker]#  netstat -plant  | egrep '5556|5669'
tcp 0 0 0.0.0.0:5669 0.0.0.0:* LISTEN 1225/cbd
tcp 0 0 LOCALHOST:52110 LOCALHOST:5669 ESTABLISHED 8052/centengine
tcp 0 0 LOCALHOST:5669 LOCALHOST:52110 ESTABLISHED 1225/cbd

And is runnig.

 

I stopped the firewall.

The configuration for BBDO version in Configuration  >  Pollers  >  Broker configuration is the same for central*master, v3.0.0.

 

So, the problem that nobody is listening on port 5670?. Who? Why?

 

SOMETHING IS WRONG. WHEN I PASTE DE LOGS, THE INTERFACE FAIL.

I HAVE  TO REMOVE OR REPLACE THINGS TO THE LOGS TO BE ABLE TO SEND THEM.

Ok. I can’t edit.

 

hroot@yig etc]#  netstat -plant  | egrep '5556|5670'
tcp 0 0 0.0.0.0:5670 0.0.0.0:* LISTEN 1226/cbd
tcp 0 0 LOCALHOST:44028 LOCALHOST:5670 ESTABLISHED 1225/cbd
tcp 0 0 LOCALHOST:5670 LOCALHOST:44028 ESTABLISHED 1226/cbd
hroot@yig etc]# telnet LOCALHOST 5670
Trying LOCALHOST...
Connected to LOCALHOST.
Escape character is '^]'.
Connection closed by foreign host.

And I have the properline into /etc/hosts.

eroot@yig log]# systemctl restart cbd does not change anything
 


I have the same problem, i cant find solution. Can someone help fast?

central-rrd-master.log

[2024-07-19T11:50:00.969+02:00] [core] [info] New incoming connection 'central-rrd-master-input-1'
[2024-07-19T11:51:13.501+02:00] [core] [info] main: configuration update requested
[2024-07-19T11:51:13.501+02:00] [core] [info] /var/log/centreon-broker//central-rrd-master.log : log started
[2024-07-19T11:51:13.502+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2024-07-19T11:51:13.502+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
[2024-07-19T11:51:13.502+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2024-07-19T11:51:13.502+02:00] [core] [info] multiplexing: engine started
[2024-07-19T11:53:48.388+02:00] [bbdo] [error] BBDO: invalid protocol header, aborting connection: waiting for message of type 'version_response' but nothing received
[2024-07-19T11:53:48.388+02:00] [core] [error] acceptor: endpoint 'central-rrd-master-input' could not accept client: BBDO: invalid protocol header, aborting connection: waiting for message of type 'version_response' but nothing received
[2024-07-19T11:53:48.388+02:00] [tcp] [error] Error while reading on socket: Operation aborted.


also after restarting from web i got those logs in central-module-master.log

[2024-07-19T11:59:22.875+02:00] [core] [info] multiplexing: stopping engine
[2024-07-19T11:59:22.875+02:00] [core] [info] multiplexing: sending events to muxers for the last time
[2024-07-19T11:59:22.978+02:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2024-07-19T11:59:22.978+02:00] [tcp] [error] Error while reading on socket: End of file
[2024-07-19T11:59:22.978+02:00] [core] [info] Destroying muxer central-module-master-output: number of events in the queue: 0
[2024-07-19T11:59:22.978+02:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2024-07-19T11:59:22.978+02:00] [core] [info] protocols: unregistering protocol 'TLS'
[2024-07-19T11:59:22.979+02:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2024-07-19T11:59:22.979+02:00] [core] [info] protocols: unregistering protocol 'TCP'
[2024-07-19T11:59:22.979+02:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2024-07-19T11:59:23.061+02:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2024-07-19T11:59:23.061+02:00] [core] [info] protocols: unregistering protocol 'BBDO'
[2024-07-19T11:59:23.061+02:00] [core] [info] protocols: unregistering protocol 'compression'
[2024-07-19T11:59:23.061+02:00] [core] [info] protocols: unregistering protocol 'file'
[2024-07-19T11:59:23.061+02:00] [core] [info] protocols: destruction (0 protocols still registered)
[2024-07-19T11:59:23.061+02:00] [core] [info] pool: the latency check encountered an error: Operation aborted.
[2024-07-19T11:59:23.161+02:00] [core] [info] log finished
[2024-07-19T11:59:23.604+02:00] [core] [info] /var/log/centreon-broker//central-module-master.log : log started
[2024-07-19T11:59:23.605+02:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2024-07-19T11:59:23.605+02:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2024-07-19T11:59:23.606+02:00] [core] [info] NEB: module for Centreon Broker 21.10.5
[2024-07-19T11:59:23.606+02:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2024-07-19T11:59:23.609+02:00] [core] [info] protocols: registering protocol ('TLS' (layers 5-5)
[2024-07-19T11:59:23.609+02:00] [core] [info] protocols: registering protocol ('TCP' (layers 1-4)
[2024-07-19T11:59:23.609+02:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2024-07-19T11:59:23.610+02:00] [core] [info] multiplexing: engine started
[2024-07-19T11:59:23.885+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2024-07-19T11:59:23.885+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2024-07-19T11:59:23.885+02:00] [core] [info] multiplexing: engine started
 


central-broker-master.log

[2024-07-19T12:01:45.143+02:00] [tcp] [error] Error while reading on socket: End of file
[2024-07-19T12:01:45.243+02:00] [core] [error] feeder 'central-broker-master-input-6' error:Attempt to read data from peer IP_POLLER84:47070 on a closing socket
[2024-07-19T12:01:45.243+02:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2024-07-19T12:01:45.243+02:00] [core] [info] feeder: queue files of client 'central-broker-master-input-6' removed
[2024-07-19T12:01:45.249+02:00] [core] [info] feeder: thread of client 'central-broker-master-input-6' will exit
[2024-07-19T12:01:45.514+02:00] [tcp] [error] Error while reading on socket: End of file
[2024-07-19T12:01:45.613+02:00] [core] [error] feeder 'central-broker-master-input-4' error:Attempt to read data from peer 127.0.0.1:38498 on a closing socket
[2024-07-19T12:01:45.613+02:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2024-07-19T12:01:45.613+02:00] [core] [info] feeder: queue files of client 'central-broker-master-input-4' removed
[2024-07-19T12:01:45.614+02:00] [core] [info] feeder: thread of client 'central-broker-master-input-4' will exit
[2024-07-19T12:01:46.007+02:00] [tcp] [error] Error while reading on socket: End of file
[2024-07-19T12:01:46.038+02:00] [core] [info] removing 'central-broker-master-input-4' from acceptor 'central-broker-master-input'
[2024-07-19T12:01:46.038+02:00] [core] [info] Destroying muxer central-broker-master-input-4: number of events in the queue: 0
[2024-07-19T12:01:46.038+02:00] [core] [info] removing 'central-broker-master-input-6' from acceptor 'central-broker-master-input'
[2024-07-19T12:01:46.038+02:00] [core] [info] Destroying muxer central-broker-master-input-6: number of events in the queue: 0
[2024-07-19T12:01:46.107+02:00] [core] [error] feeder 'central-broker-master-input-5' error:Attempt to read data from peer IP_POLLER94:36702 on a closing socket
[2024-07-19T12:01:46.107+02:00] [core] [info] bbdo stream stopped with 0 events acknowledged
[2024-07-19T12:01:46.107+02:00] [core] [info] feeder: queue files of client 'central-broker-master-input-5' removed
[2024-07-19T12:01:46.109+02:00] [core] [info] feeder: thread of client 'central-broker-master-input-5' will exit
[2024-07-19T12:01:46.119+02:00] [core] [info] New incoming connection 'central-broker-master-input-7'
[2024-07-19T12:01:46.119+02:00] [core] [info] removing 'central-broker-master-input-5' from acceptor 'central-broker-master-input'
[2024-07-19T12:01:46.119+02:00] [core] [info] Destroying muxer central-broker-master-input-5: number of events in the queue: 0
[2024-07-19T12:01:46.872+02:00] [core] [info] Available connections cleaning: Operation aborted.
[2024-07-19T12:01:46.876+02:00] [core] [info] New incoming connection 'central-broker-master-input-8'
[2024-07-19T12:01:47.142+02:00] [core] [info] Available connections cleaning: Operation aborted.
[2024-07-19T12:01:47.153+02:00] [core] [info] New incoming connection 'central-broker-master-input-9'
[2024-07-19T12:01:47.439+02:00] [core] [info] main: configuration update requested
[2024-07-19T12:01:47.439+02:00] [core] [info] /var/log/centreon-broker//central-broker-master.log : log started
[2024-07-19T12:01:47.439+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2024-07-19T12:01:47.439+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/80-sql.so' which is already loaded
[2024-07-19T12:01:47.439+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/20-storage.so' which is already loaded
[2024-07-19T12:01:47.439+02:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2024-07-19T12:01:47.439+02:00] [core] [info] multiplexing: engine started


Reply