[Nut-upsuser] upsc "Error: ... Can't assign requested address"

Bryan gruvin at gmail.com
Tue Aug 21 02:22:44 UTC 2007


I forgot to reply to the list with the answer. Thanks again Charles!

On 21/08/07, Charles Lepple <clepple at gmail.com> wrote:
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> >         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> >         inet6 ::1 prefixlen 128
>
> I think that's part of the problem - the loopback interface does not
> have an IPv4 address assigned. In a normal IPv4 setup, "localhost"
> resolves to 127.0.0.1, which should be bound to the loopback
> interface.

Thanks Charles! You're absolutely right my man. I never even noticed
the missing IP4 address! How bizarre.

I've now assigned an IPV4 address of 127.0.0.1 to lo0, restarted the
nut ups driver and upsd daemon and now everything is working fine. :-D

Thanks so much for helping out with my domestic blindness on this cool
morning here in New Zealand :-)

Bryan.



More information about the Nut-upsuser mailing list