| Summary: | ndoutils is out of sync with nagios package | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Ronald Roskens <ronald.roskens> |
| Component: | ndoutils | Assignee: | Simone Caronni <negativo17> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | e.rissel, negativo17, ronald.roskens |
| Target Milestone: | --- | Flags: | negativo17:
needinfo?
(ronald.roskens) |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ndoutils-2.0.0-11.fc23 ndoutils-2.0.0-11.fc22 ndoutils-2.0.0-11.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-22 01:26:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ronald Roskens
2016-02-19 21:44:20 UTC
Hello, (In reply to Ronald Roskens from comment #0) > [1455910433] Error: Could not load module > '/usr/lib64/nagios/brokers/ndomod.so' -> /usr/lib64/nagios/brokers/ndomod. > so: undefined symbol: hostdependency_list actually the package was still built for Nagios 3.x, I did not know it was rebased. Unfortunately I don't have acces to an Nagios/NDOutils installation anymore. I've updated the SPEC file and now links as follows: - Nagios 2.x - epel5 (if rebuilt, as epel6 still has ndoutils 1.5.2) - Nagios 3.x - epel6 - Nagios 4.x - epel7, f22+ Can you make a test with the following build? http://koji.fedoraproject.org/koji/buildinfo?buildID=738274 If it still doesn't work, I will add the 2 lines you've pointed out in the last comment to the systemd unit file. Thanks, --Simone Hi, I stumbled against this very same problem, having : Could not load module '/usr/lib64/nagios/brokers/ndomod.so' -> /usr/lib64/nagios/brokers/ndomod.so: undefined symbol: hostdependency_list when trying to start nagios with ndoutils on. I added : " The ndo2db.service just needs two additional lines: " PermissionsStartOnly=true " RuntimeDirectory=ndoutils but still got error and couldn't start nagios. Then I installed the rpm from http://koji.fedoraproject.org/koji/buildinfo?buildID=738274 Restarted Nagios and it work, here is the output from nagios.log : [1457429849] Nagios 4.0.8 starting... (PID=6219) [1457429849] Local time is Tue Mar 08 10:37:29 CET 2016 [1457429849] LOG VERSION: 2.0 [1457429849] qh: Socket '/var/spool/nagios/cmd/nagios.qh' successfully initialized [1457429849] qh: core query handler registered [1457429849] nerd: Channel hostchecks registered successfully [1457429849] nerd: Channel servicechecks registered successfully [1457429849] nerd: Channel opathchecks registered successfully [1457429849] nerd: Fully initialized and ready to rock! [1457429849] wproc: Successfully registered manager as @wproc with query handler [1457429849] wproc: Registry request: name=Core Worker 6220;pid=6220 [1457429849] wproc: Registry request: name=Core Worker 6221;pid=6221 [1457429849] wproc: Registry request: name=Core Worker 6222;pid=6222 [1457429849] wproc: Registry request: name=Core Worker 6223;pid=6223 [1457429849] ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors [1457429849] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1457429849] ndomod registered for process data [1457429849] ndomod registered for timed event data [1457429849] ndomod registered for log data' [1457429849] ndomod registered for system command data' [1457429849] ndomod registered for event handler data' [1457429849] ndomod registered for notification data' [1457429849] ndomod registered for service check data' [1457429849] ndomod registered for host check data' [1457429849] ndomod registered for comment data' [1457429849] ndomod registered for downtime data' [1457429849] ndomod registered for flapping data' [1457429849] ndomod registered for program status data' [1457429849] ndomod registered for host status data' [1457429849] ndomod registered for service status data' [1457429849] ndomod registered for adaptive program data' [1457429849] ndomod registered for adaptive host data' [1457429849] ndomod registered for adaptive service data' [1457429849] ndomod registered for external command data' [1457429849] ndomod registered for aggregated status data' [1457429849] ndomod registered for retention data' [1457429849] ndomod registered for contact data' [1457429849] ndomod registered for contact notification data' [1457429849] ndomod registered for acknowledgement data' [1457429849] ndomod registered for contact status data' [1457429849] ndomod registered for adaptive contact data' [1457429849] Event broker module '/usr/lib64/nagios/brokers/ndomod.so' initialized successfully. [1457429849] Successfully launched command file worker with pid 6224 CentOS Linux release 7.2.1511 (Core) nagios 4.0.8-2.el7 ndoutils 2.0.0-11.el7 mariadb 5.5.44-2.el7.centos did not test the rpm without the 2 lines in ndo2db.service (can test it if you want) (In reply to e.rissel from comment #2) > Could not load module '/usr/lib64/nagios/brokers/ndomod.so' -> > /usr/lib64/nagios/brokers/ndomod.so: undefined symbol: hostdependency_list > > when trying to start nagios with ndoutils on. > > I added : > " The ndo2db.service just needs two additional lines: > " PermissionsStartOnly=true > " RuntimeDirectory=ndoutils > > but still got error and couldn't start nagios. > > Then I installed the rpm from > http://koji.fedoraproject.org/koji/buildinfo?buildID=738274 > > Restarted Nagios and it work, here is the output from nagios.log : [...] > CentOS Linux release 7.2.1511 (Core) > nagios 4.0.8-2.el7 > ndoutils 2.0.0-11.el7 > mariadb 5.5.44-2.el7.centos > > did not test the rpm without the 2 lines in ndo2db.service (can test it if > you want) Yes please, if you can test without the lines (as the package is built) it would be great. As you've seen, the missing symbol is due to the old ndoutils package still built againts Nagios 3.x, before the rebase. I don't think the two lines in the unit file are needed. ndoutils-2.0.0-11.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9021f07c58 ndoutils-2.0.0-11.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6abc4263fb ndoutils-2.0.0-11.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-7be925b558 ndoutils-2.0.0-11.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9021f07c58 ndoutils-2.0.0-11.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6abc4263fb ndoutils-2.0.0-11.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-7be925b558 ndoutils-2.0.0-11.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. ndoutils-2.0.0-11.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. ndoutils-2.0.0-11.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |