in reply to Re^6: LWP::UserAgent always complains about Hostname
in thread LWP::UserAgent always complains about Hostname

If these are the only syscalls on the .out file then it means that no DNS query is performed at all. It's weird, just as if you had disabled DNS queries on the system.

Are you using your own perl or the system's? Have you mixed Ubuntu packaged modules with others from CPAN? Is the GET command failing also? What about wget? Have you modified /etc/host.conf or /etc/nsswitch.conf?

Replies are listed 'Best First'.
Re^8: LWP::UserAgent always complains about Hostname
by Herkum (Parson) on Jul 21, 2008 at 15:38 UTC

    GET does not work either, I believe that I used the built-in Ubuntu Perl. This was driving me crazy too because EVERYTHING BUT Perl is working correctly, so I don't know what is going on with the system.

    I guess I will just build a new system from scratch.