[users] Re: jailkit 2.4

Dries Verachtert dries at ulyssis.org
Fri May 16 12:32:08 CEST 2008


On Sunday 11 May 2008 05:46:55 am Thomas C. Knoeller wrote:
> Howdy,
>
> Not sure what protocol is here, so I'll just say what the issue is.
>
> Looks like something happened with the apcupsd-3.14.3-1.el5.rf.i386.rpm
> package.  I am running CentOS 5 with rpmforge as my only extra repository.
> With everything up to date, some of the binaries in the apcupsd are missing
> libaries.
>
>    # ldd /var/www/apcupsd/multimon.cgi | grep not.found
>            libcrypto.so.5 => not found
>            libnetsnmp.so.5 => not found
>
> Is apcupsd missing a dependency of some sort?  Or is something else wrong?

Hello,
Can you give a bit more information?
* did you use --nodeps to install the package?
* are all the files (especially /var/www/apcupsd/multimon.cgi) 
unchanged according to rpmverify?
* the file multimon.cgi is owned by the package?

I've tested this on my pc and ldd doesn't report those 
dependencies:

[dries at koblenz rpmbuild]$ ldd /var/www/apcupsd/multimon.cgi
        linux-gate.so.1 =>  (0xffffe000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7edd000)
        libm.so.6 => /lib/libm.so.6 (0xf7eb6000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7eaa000)
        libc.so.6 => /lib/libc.so.6 (0xf7d6d000)
        /lib/ld-linux.so.2 (0xf7fe3000)
[dries at koblenz rpmbuild]$ rpm -qf /var/www/apcupsd/multimon.cgi
apcupsd-3.14.3-1.el5.rf
[dries at koblenz rpmbuild]$ rpm -qi apcupsd
Name        : apcupsd                      Relocations: (not relocatable)
Version     : 3.14.3                            Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Release     : 1.el5.rf                      Build Date: Thu Mar  6 12:31:37 2008
Install Date: Fri May 16 06:35:47 2008      Build Host: lisse.leuven.wieers.com
Group       : System Environment/Daemons    Source RPM: apcupsd-3.14.3-1.el5.rf.src.rpm
Size        : 35142232                         License: GPL
Signature   : DSA/SHA1, Thu Mar  6 12:57:27 2008, Key ID a20e52146b8d79e6
Packager    : Dag Wieers <dag at wieers.com>
URL         : http://www.apcupsd.com/
Summary     : APC UPS power control daemon
Description :
Apcupsd can be used for controlling most APC UPSes. During a power failure,
apcupsd will inform the users about the power failure and that a shutdown
may occur. If power is not restored, a system shutdown will follow when the
battery is exausted, a timeout (seconds) expires, or the battery runtime
expires based on internal APC calculations determined by power consumption
rates. If the power is restored before one of the above shutdown conditions
is met, apcupsd will inform users about this fact.

Some features depend on what UPS model you have (simple or smart).
[dries at koblenz rpmbuild]$ rpmverify apcupsd
..?.....   /sbin/apctest
..?.....   /sbin/apcupsd

kind regards,
Dries




More information about the users mailing list