Mail Archives: cygwin/2001/09/25/13:48:39
On Tue, 25 Sep 2001, dk henderson wrote:
> I tried a cgi ftp client and it failed to connect to any hosts as
> well. Of course, http works!
Please try to be more precise. I am having difficulty understanding
what you mean and this makes it hard to help you.
When you say you tried a CGI FTP client, are you talking about using
Net::FTP from a perl script? What is the error message?
When you say HTTP works, do you mean that you can activate a script
through CGI that will then get information from somewhere else via
HTTP (I assume with LWP)?
If you can use LWP, but not Net::FTP or DBI, that is very strange.
> >> Not really sure how they interface and would appreciate any
> >> pointers.
>
> referring to dbi and apache
DBI and Apache shouldn't have any interface. Apache calls on perl
which deals with DBI.
> perl -V
Looks good.
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Tue Sep 25 06:19:32 2001
>
> Win95 Ver 4.0 build 67109975 B
>
> Path: /usr/local/bin
> /usr/bin
> /bin
> /cygdrive/c/WINDOWS
> /cygdrive/c/WINDOWS/COMMAND
> /cygdrive/c/PERL/BIN
> /cygdrive/c/PROGRAM FILES/MTS
What is in C:\Perl\Bin? Is this ActiveState?
> D:\cygwin\bin /usr/bin system binmode
> D:\cygwin\lib /usr/lib system binmode
> D:\cygwin / system binmode
> e:\cygwin /usr/edrive user textmode
> c: /cygdrive/c user binmode,noumount
> d: /cygdrive/d user binmode,noumount
> e: /cygdrive/e user binmode,noumount
What is this "E:\Cygwin"?
> 611k 2001/01/27 D:\cygwin\bin\cygwinb19.dll - os=4.0 img=1.0 sys=4.0
> "cygwin1.dll" v0.0 ts=2000/12/25 12:39
> ...
> 615k 2001/01/31 D:\cygwin\bin\cygwin1_old.dll - os=4.0 img=1.0 sys=4.0
> "cygwin1.dll" v0.0 ts=2001/1/31 10:08
> 701k 2001/09/13 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> "cygwin1.dll" v0.0 ts=2001/9/12 23:54
Why do you have a cygwinb19.dll and a cygwin1_old.dll hanging around?
Having ActiveState and old versions of the Cygwin DLL lying around are
going to confuse things. Your E:\Cygwin indicates that you might even
have an old version of the rest of Cygwin.
My advice:
1) Delete and reinstall Cygwin, and don't mount old copies.
2) Take ActiveState out of your path in Cygwin if you want to use
Cygwin perl.
3) Try to use some kind of Net functionality on your new Cygwin/perl
installation calling both from Apache and the shell. If it still
fails, provide the simplest possible testcase.
Good luck.
--
Michael Hoffman <grouse AT mail DOT utexas DOT edu>
The University of Texas at Austin
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -