Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <41C395C5.C1456B8A@dessent.net>
Date: Fri, 17 Dec 2004 18:28:21 -0800
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Can't use DBI and mod_perl together in Cygwin.
References: <41C304C5.2030901@delanobay.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

kurt heston wrote:

> I've traced my problem to the TCP/IP stack.  The code below gives:
> 
> "Can't get tcp protocol by name at
> /var/www/htdocs/groups/Purch/bin/secure/test.cgi line 12"

You're missing the SYSTEMROOT environment variable in your CGI
environment.  Recent Cygwin DLLs try to circumvent this, so make sure
you're using the latest.  Otherwise make sure SYSTEMROOT is set in the
environment under which the CGI is running.  (That is why it works from
a prompt but not from CGI.)

Was this one added to the FAQ yet?

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

