Re: Can't use DBI and mod_perl together in Cygwin.
ARGH! I've had this burn me before and forgot about it. Just needed: setenv SystemRoot C:\\winnt setenv SystemDrive C: in my httpd.conf file. Thanks Brian, have someone near you give you a big pat on the back. I really appreciate your post! Brian Dessent wrote: kurt heston
Re: Can't use DBI and mod_perl together in Cygwin.
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 circum
Re: Can't use DBI and mod_perl together in Cygwin.
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kurt heston Sent: Friday, December 17, 2004 10:29 AM To: [EMAIL PROTECTED] Subject: Re: Can't use DBI and mod_perl together in Cygwin. Here is a more specific description of the DBI error I'm seeing that has me checking out the TCP/I
RE: Can't use DBI and mod_perl together in Cygwin.
To: [EMAIL PROTECTED] > Subject: Re: Can't use DBI and mod_perl together in Cygwin. > > Here is a more specific description of the DBI error I'm seeing that has > me checking out the TCP/IP stack: > > > DBI connect('','uid/pass@(DESCRIPTION= > (ADD
RE: Can't use DBI and mod_perl together in Cygwin.
> -Original Message- > From: cygwin-owner On Behalf Of kurt heston > Sent: 17 December 2004 16:29 > 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
Re: Can't use DBI and mod_perl together in Cygwin.
Here is a more specific description of the DBI error I'm seeing that has me checking out the TCP/IP stack: DBI connect('','uid/pass@(DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=$host)(PORT=1521)) (CONNECT_DATA=(SID=$sid)))',...) failed: ORA-12545: Connect failed because target host or obje
Can't use DBI and mod_perl together in Cygwin.
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" #!/usr/bin/perl use CGI; use Net::Ping; $query = new CGI; print $query->header; print "\n"; $p = Net::Ping->new('tcp');