Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Re: Re: Re: LWP::UserAgent connection problem as CGI

by bassplayer (Monsignor)
on Mar 03, 2004 at 18:44 UTC ( #333647=note: print w/ replies, xml ) Need Help??

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

Yes, I know. Sorry that I was unclear. I pinged just as merlyn suggested. The response was:
64 bytes from icmp_seq=0 ttl=52 time=9.800 ms 64 bytes from icmp_seq=1 ttl=52 time=10.008 ms
That is why I said that I received packets back from the IP address. Thanks.


Replies are listed 'Best First'.
Re: Re: Re: Re: •Re: LWP::UserAgent connection problem as CGI
by merlyn (Sage) on Mar 03, 2004 at 20:13 UTC
      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)...


        Is your apache perhaps running in a chroot environment?

        I've had problems like this when my apache was in a chroot environment which didn't include the /etc/resolv.conf or other requirements for resolving DNS.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://333647]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2016-07-31 09:37 GMT
Find Nodes?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?

    Results (269 votes). Check out past polls.