Bug 7218 - Nagios failed to start because missing libperl.so
Summary: Nagios failed to start because missing libperl.so
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure mga2-64-OK mga2-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-08-27 07:14 CEST by Olivier Thauvin
Modified: 2012-12-27 23:53 CET (History)
4 users (show)

See Also:
Source RPM: nagios-3.3.1-2.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Olivier Thauvin 2012-08-27 07:14:54 CEST
Nagios is linked over libperl, which does not exists:

[root@virgo nagios]# nagios -c
nagios: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory

[root@virgo nagios]# ldd /usr/sbin/nagios
        linux-vdso.so.1 =>  (0x00007fff8d3ff000)
        libperl.so => not found
        libm.so.6 => /lib64/libm.so.6 (0x00007f29a6810000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f29a65f4000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f29a6268000)
        libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f29a605e000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f29a6a92000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f29a5e5a000)
Manuel Hiebel 2012-12-09 13:06:32 CET

Assignee: bugsquad => guillomovitch

Comment 1 Guillaume Rousse 2012-12-10 20:13:24 CET
Indeed.

However, building a new package locally works fine, so I guess this package was just not rebuild for the release. I just submitted nagios-3.3.1-2.1.mga2 in updates_testing.
Comment 2 Manuel Hiebel 2012-12-13 01:02:36 CET
Suggested Advisory:
-------------
Updated nagios is a simply rebuild to be working with current perl.

-------------

SRPM: nagios-3.3.1-2.1.mga2

CC: (none) => guillomovitch
Hardware: i586 => All
Assignee: guillomovitch => qa-bugs

Comment 3 claire robinson 2012-12-21 13:34:26 CET
SRPM: nagios-3.3.1-2.1.mga2.src.rpm
-----------------------------------
nagios-devel
nagios
nagios-theme-default
nagios-www


Testing complete mga2 64

Installed nagios & nagios-www with nagios-theme-default


Before
------
# systemctl start nagios.service
Job failed. See system journal and 'systemctl status' for details.

# systemctl -a status nagios.service
...
nagios[31349]: Starting nagios daemon: nagios: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory


After
-----
# systemctl start nagios.service
# systemctl -a status nagios.service
nagios.service - LSB: Starts and stops the Nagios monitor.
          Loaded: loaded (/etc/rc.d/init.d/nagios)
          Active: active (running) since Fri, 21 Dec 2012 12:31:54 +0000; 4s ago


Browsing to http://localhost/nagios shows the web interface, clicking on 'stuff' shows no errors.

Whiteboard: (none) => mga2-64-OK

claire robinson 2012-12-21 13:34:37 CET

Whiteboard: mga2-64-OK => has_procedure mga2-64-OK

Comment 4 Johan Verlinden 2012-12-24 12:45:28 CET
Testing i586, MGA2.

CC: (none) => verlindenjohan

Comment 5 Johan Verlinden 2012-12-26 16:34:39 CET
Tested i586, MGA2 .
Have had quite some difficulties because I had the package apache-mpm-itk on my system which didn't make my webserver do anything at all.
After I had a chat with Luigi12 on QA IRC, we have been able to resolve the problem by uninstalling apache-mpm-itk and installing apache-mpm-prefork.

I have included this information on the wiki page of the nagios testing procedure.

I have tested the sections at the nagios webpage (http://localhost/nagios/) and also made a graph in the trending section, just as the testing procedure describes.
Everything works fine.

Can someone on the mailing list decide if there is need for supplementary testing by another person or that this has to be moved to sysadmin for release?

Thanks,
Johan Verlinden (Auel)
Johan Verlinden 2012-12-26 16:35:08 CET

Whiteboard: has_procedure mga2-64-OK => has_procedure mga2-64-OK, has_procedure mga2-32-OK

Comment 6 claire robinson 2012-12-27 09:41:32 CET
Well done Johan, you can validate this one now, thanks.

Whiteboard: has_procedure mga2-64-OK, has_procedure mga2-32-OK => has_procedure mga2-64-OK mga2-32-OK

Comment 7 Johan Verlinden 2012-12-27 10:13:58 CET
Testing Complete on MGA2

Validating

Advisory Comment 2
SRPM Comment 3

Could sysadmin please push from core/updates_testing to core/updates and from core32bit/updates_testing to core32bit/updates

Thanks!

CC: (none) => sysadmin-bugs
Assignee: qa-bugs => sysadmin-bugs

Johan Verlinden 2012-12-27 10:16:20 CET

Keywords: (none) => validated_update

Comment 8 claire robinson 2012-12-27 10:19:34 CET
Well done on your first validation Johan!

We leave it assigned to qa-bugs but add sysadmin into CC

Assignee: sysadmin-bugs => qa-bugs

Comment 9 Thomas Backlund 2012-12-27 23:53:59 CET
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0245

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.