We've got a NetWare 6.5 SP5 server that's gone slightly bonkers. When I
try to ping localhost the silly beast tries to reach, which
is obviously wrong. The hosts looks fine and has all the correct
entries, and there's nothing wrong with the nameservers. I copied the
hosts and resolv.cfg from another server without this problem and
nothing changed.

If I ping loopback first, and only ping localhost after that, everything
is fine.

Unfortunately this is more than a weird and cosmetic error, because HP
Dataprotector needs to correctly resolve and reach localhost to function
correctly. Can anyone help me out here?

Jeroen van der Linden.