in reply to Re: •Re: LWP::UserAgent connection problem as CGI
in thread LWP::UserAgent connection problem as CGI

I don't merlyn meant for you to ping th IP address but to test the Domain Name Server configuration by doing ping <hostname> as oppossed to ping <IP address>.

Plankton: 1% Evil, 99% Hot Gas.
  • Comment on Re: Re: •Re: LWP::UserAgent connection problem as CGI

Replies are listed 'Best First'.
Re: Re: Re: •Re: LWP::UserAgent connection problem as CGI
by bassplayer (Monsignor) on Mar 03, 2004 at 18:44 UTC
    Yes, I know. Sorry that I was unclear. I pinged www.yahoo.com just as merlyn suggested. The response was:
    64 bytes from 66.94.230.33: icmp_seq=0 ttl=52 time=9.800 ms 64 bytes from 66.94.230.33: icmp_seq=1 ttl=52 time=10.008 ms
    That is why I said that I received packets back from the IP address. Thanks.

    bassplayer

        Yes, it was definitely on the CGI host. DNS was the first thing I thought of, especially since there were some DNS issues a few weeks back. But this script works from command line, whether as root or as apache user, and fails as a CGI. Frustrating.

        bassplayer bangs his head on his desk (again)...

        bassplayer