On Wed, Aug 30, 2000 at 11:36:33AM -0700, test wrote:
> Logging in to OpenSRS server... ERROR: Unable to establish socket!
Unfortunately, verify_install.cgi avoids telling you exactly what the
problem is. That's unfair.
If you look at the code, in the init_socket subroutine, there are two
places where you will see:
or return undef;
My suggestion is that you change those. There are commented-out lines
right before them.. my recommendations would be:
my $internet_addr = inet_aton($REMOTE_HOST)
or die "Couldn't convert $REMOTE_HOST into an Internet address: $!";
and
connect($fh, $paddr)
or die "Couldn't connect to $REMOTE_HOST:$REMOTE_PORT: $!";
That way you will at least know which is failing. Expect to get an
internal server error, and then look at your web server's error log
to find out exactly what the message was. It's probably failing on
the connect(), but without the contents of $!, it's awfully hard to
diagnose.
OpenSRS: Shame on you. Don't hide errors.
--
Christopher Masto Senior Network Monkey NetMonger Communications
[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.netmonger.net
Free yourself, free your machine, free the daemon -- http://www.freebsd.org/