[Nut-upsdev] SOLVED Re: Same Box, Moved install to different drive, now get Connection failure: Connection refused??
Arnaud Quette
aquette.dev at gmail.com
Thu Jul 28 08:58:56 UTC 2011
Hi David,
2011/7/27 David C. Rankin <drankinatty at suddenlinkmail.com>
> On 07/27/2011 08:51 AM, David C. Rankin wrote:
>
>> Arjen, All,
>>
>
FYI, Arjen has recently retired from NUT.
> I need help unwrapping my head from around the problem of getting nut
>> running on
>> the same machine it runs fine with on another drive!! Sound easy -- not
>> here :)
>>
>> I have network-ups-tools 2.4.1-2 on two servers. On one server I had a
>> raid
>> drive fail (which I'm still booting from and running nut on just fine). I
>> bought
>> a second pair of drives to establish a new array in the box which is up
>> and
>> running just fine except for nut. The daemon.log shows the following
>> error:
>>
>> Jul 26 21:09:11 nirvana usbhid-ups[2139]: Startup successful
>> Jul 26 21:09:11 nirvana upsmon[2142]: Startup successful
>> Jul 26 21:09:11 nirvana upsmon[2143]: UPS [nirvana_ups at localhost]:
>> connect
>> failed: Connection failure: Connection refused
>> Jul 26 21:09:11 nirvana upsmon[2143]: Communications with UPS
>> nirvana_ups at localhost lost
>> Jul 26 21:09:16 nirvana upsmon[2143]: UPS [nirvana_ups at localhost]:
>> connect
>> failed: Connection failure: Connection refused
>> Jul 26 21:09:16 nirvana upsmon[2143]: UPS nirvana_ups at localhost is
>> unavailable
>> Jul 26 21:09:21 nirvana upsmon[2143]: UPS [nirvana_ups at localhost]:
>> connect
>> failed: Connection failure: Connection ref
>>
>> I have the exact same nut user and nut groups on this new install, both
>> same UID
>> and GID. I have copied my /etc/ups file-for-file from old-array to
>> new-array,
>> but still I get the connection refused error with 'upsc
>> ups_name at localhost. If I
>> boot back to the old array drive (old drive)G, then it works perfectly. I
>> have
>> been focusing my feeble mind on this task this evening, and I'm out of
>> ammo.
>> Where can the hidden causes of this Connection failure: Connection refused
>> error
>> be coming from?
>>
>>
> Solved:
>
> error while loading shared libraries: libwrap.so.0: cannot open shared
> object file: No such file or directory
>
> Sorry for the noise :)
>
not a real noise.
which distro are you using?
since it's a distro bug (there should be either a build dep or runtime dep
on libwrap...), you should log a bug there...
cheers,
Arnaud
--
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110728/54f7357b/attachment.html>
More information about the Nut-upsdev
mailing list