From: Michael Hoffman <grouse@mail.utexas.edu>
To: Dale Henderson <dalehend@yahoo.com>
Cc: cygwin@cygwin.com
Subject: Re: perl/dbi Can't create TCP/IP socket
Date: Tue, 25 Sep 2001 10:47:00 -0000 [thread overview]
Message-ID: <Pine.A41.4.21.0109251231310.33924-100000@ginger.cc.utexas.edu> (raw)
In-Reply-To: <200109250924.CAA20630@harrier.mail.pas.earthlink.net>
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@mail.utexas.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/
next prev parent reply other threads:[~2001-09-25 10:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-25 2:25 dk henderson
2001-09-25 10:47 ` Michael Hoffman [this message]
2001-09-26 2:30 ` yahoo
2001-09-26 14:44 ` Michael Hoffman
2001-09-26 18:21 ` yahoo
2001-09-27 6:03 ` Stipe Tolj
2001-09-27 18:54 ` Michael Hoffman
-- strict thread matches above, loose matches on Subject: below --
2001-10-04 16:56 dk henderson
[not found] <200109300523.WAA15774@hawk.mail.pas.earthlink.net>
2001-09-30 2:09 ` Stipe Tolj
2001-09-25 0:55 dk henderson
2001-09-25 1:22 ` Michael Hoffman
2001-09-22 15:49 yahoo
2001-09-22 3:51 dk henderson
2001-09-22 8:07 ` Gerrit P. Haase
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.A41.4.21.0109251231310.33924-100000@ginger.cc.utexas.edu \
--to=grouse@mail.utexas.edu \
--cc=cygwin@cygwin.com \
--cc=dalehend@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).