Question

Central broker is not running after fresh install.

  • 3 March 2023
  • 1 reply
  • 411 views

Badge +1

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
[2023-03-03T11:18:27.163+00:00] [tcp] [error] Error while reading on socket: Operation aborted.
[2023-03-03T11:18:27.270+00:00] [core] [info] pool: the latency check encountered an error: Operation aborted.
[2023-03-03T11:19:25.382+00:00] [tcp] [error] Error while reading on socket: End of file
[2023-03-03T11:19:25.482+00:00] [core] [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] [core] [info] pool: the latency check encountered an error: Operation aborted.

 

I checked

systemctl status cbd centengine centreontrapd gorgoned

I checked

[root@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.


1 reply

Badge +1

Ok. I can’t edit.

 

[root@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
[root@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.

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

Reply