Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

I can't start localhost poller #6358

Closed
gvalerot opened this issue Jun 7, 2018 · 6 comments
Closed

I can't start localhost poller #6358

gvalerot opened this issue Jun 7, 2018 · 6 comments

Comments

@gvalerot
Copy link

gvalerot commented Jun 7, 2018


BUG REPORT INFORMATION

Centreon Web version: 2.8.22

Centreon Engine version: 1.8.1

Centreon Broker version: 3.0.14

OS: Red Hat 7.4

Additional environment details (AWS, VirtualBox, physical, etc.):
It's a machine without internet connection so I installed all by source

Steps to reproduce the issue:

  1. Install centreon by source (engine, clib, broker and web)
  2. Poller ->Export configuration
  3. Configuration exported successfully

But it shows "not running" ...

Update: I found this in log
tail -f /var/log/centreon-engine/centengine.log | grep cbmod.so
[1528395958] [45052] Error: Could not load module '/usr/lib64/nagios/cbmod.so': [/tmp/centreon-engine-1.8.1/src/broker/handle.cc:246(open)] Function nebmodule_init returned an error

@gvalerot
Copy link
Author

gvalerot commented Jun 8, 2018

Maybe this should help..

central-broker-master-log

tail -f central-broker-master.log
[1528472772] [0x7f4676abb880] config: stats: invalid stats configuration, stats engine is NOT loaded
[1528472772] [0x7f4676abb880] error: cannot open '/var/lib/centreon-broker//central-broker-master.memory.central-broker-master-input' (mode w+): Permission denied
Centreon Broker 3.0.14 log file closed
Centreon Broker 3.0.14 log file opened
[1528472773] [0x7f1160d55880] config: module applier: loading directory '/usr/share/centreon/lib/centreon-broker'
[1528472773] [0x7f1160d55880] config: stats: invalid stats configuration, stats engine is NOT loaded
[1528472773] [0x7f1160d55880] error: cannot open '/var/lib/centreon-broker//central-broker-master.memory.central-broker-master-input' (mode w+): Permission denied
Centreon Broker 3.0.14 log file closed
Centreon Broker 3.0.14 log file opened
Centreon Broker 3.0.14 log file closed

central-module-master.log

[root@localhost centreon-broker]# tail -f central-module-master.log
Centreon Broker 3.0.14 log file opened
[1528393409] config: module applier: loading directory '/usr/share/centreon/lib/centreon-broker'
[1528393410] error: TCP: could not connect to localhost:5669: Connection refused

But firewalld is disabled :S

central-rrd-master.log

[root@localhost centreon-broker]# tail -f central-rrd-master.log
Centreon Broker 3.0.14 log file opened
[1528472772] [0x7f4b40da2880] config: module applier: loading directory '/usr/share/centreon/lib/centreon-broker'
[1528472772] [0x7f4b40da2880] config: stats: invalid stats configuration, stats engine is NOT loaded
[1528472772] [0x7f4b40da2880] error: cannot open '/var/lib/centreon-broker//central-rrd-master.memory.central-rrd-master-input' (mode w+): Permission denied
Centreon Broker 3.0.14 log file closed
Centreon Broker 3.0.14 log file opened
[1528472773] [0x7f0664b5b880] config: module applier: loading directory '/usr/share/centreon/lib/centreon-broker'
[1528472773] [0x7f0664b5b880] config: stats: invalid stats configuration, stats engine is NOT loaded
[1528472773] [0x7f0664b5b880] error: cannot open '/var/lib/centreon-broker//central-rrd-master.memory.central-rrd-master-input' (mode w+): Permission denied
Centreon Broker 3.0.14 log file closed

watchdog.log

tail -f watchdog.log

[1528472772] error: watchdog: process 'central-broker-master' terminated unexpectedly, restarting it immediately
[1528472773] info: watchdog: starting process 'central-rrd-master'
[1528472773] info: watchdog: process 'central-rrd-master' started (PID 15784)
[1528472773] info: watchdog: starting process 'central-broker-master'
[1528472773] info: watchdog: process 'central-broker-master' started (PID 15786)
[1528472773] error: watchdog: process 'central-rrd-master' terminated unexpectedly, restarting it immediately
[1528472773] error: watchdog: process 'central-broker-master' terminated unexpectedly, restarting it immediately
[1528472774] info: watchdog: initiating shutdown sequence
[1528472774] info: watchdog: shutdown sequence completed, exiting watchdog
Centreon Broker 3.0.14 log file closed

@lpinsivy lpinsivy added status/more-info-needed Waiting for more information area/install labels Jun 11, 2018
@lpinsivy
Copy link
Contributor

Hi, How did you perform the installation of Centreon?

@gvalerot
Copy link
Author

@lpinsivy By source!

@bouda1
Copy link
Contributor

bouda1 commented Jun 12, 2018

The broker logs show bad write rights in your configuration.
'/var/lib/centreon-broker/' should be writable, readable by centreon-broker user, even by centreon-engine..
Cheers.

@gvalerot
Copy link
Author

@bouda1 YES! Thank you so much!

I have another problem, but I don't know if I should open a new ticket or not..

I have 0 plugins and I can't install it from web, because the machine has no internet connection.. How I can do it?

Thanks again!

@lpinsivy
Copy link
Contributor

@GFUI yes create a new ticket for each issue please.

notice: get Centreon Plugins from github repository : https://github.com/centreon/centreon-plugins

@lpinsivy lpinsivy added kind/question and removed status/more-info-needed Waiting for more information labels Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants