Ask a Question related to PERL Modules, Design and Development.
-
Leland T. Snyder #1
CPAN, LWP and Net:FTP firewall issues? Connection established transfer fails, yet ftp and wget work manual.
I assume this is a firewall issue, but seeing I'm new to perl I'm not
sure what the problem is.
I have Perl 5.8.00 installed on RedHat 8.0 with all kernel updates.
My firewall prevents all outside synsythized connection other than a
few know ports, this means that out side systems can not actively
establish a tcp connection how ever out bound will work fine.
I can use wget or ftp on the system to fetch the listed files with no
problem but LWP i.e. Net:FTP seems to fail consistently. The CPAN
setup options I took are generally the default and listed here.
Although I only show one connection failure then an interrupt I issued
to break the cycle, this process will fail multipule times. Is there
any way I can tell LWP to use wget actively? of just plain old ftp, I
can not detect ftp being called.
========================Session Log=========================
[root@basex log]# perl -MCPAN -e shell
There seems to be running another CPAN process (pid 1700).
Contacting...
Other job not responding. Shall I overwrite the lockfile? (Y/N) [y] y
cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')
cpan> o conf
CPAN::Config options from /usr/lib/perl5/5.8.0/CPAN/Config.pm:
commit Commit changes to disk
defaults Reload defaults from disk
init Interactive setting of all options
build_cache 10
build_dir /root/.cpan/build
cache_metadata 1
cpan_home /root/.cpan
ftp /usr/bin/ftp
ftp_proxy
getcwd cwd
gzip /bin/gzip
http_proxy
inactivity_timeout 0
index_expire 1
inhibit_startup_message 0
keep_source_where /root/.cpan/sources
links
make /usr/bin/make
make_arg
make_install_arg
makepl_arg
ncftp
ncftpget
no_proxy
pager /usr/bin/less
prerequisites_policy ask
scan_cache atstart
shell /bin/bash
tar /bin/tar
term_is_latin 1
unzip /usr/bin/unzip
urllist
[url]ftp://cpan.nas.nasa.gov/pub/perl/CPAN/[/url]
[url]ftp://archive.progeny.com/CPAN/[/url]
[url]ftp://cpan-sj.viaverio.com/pub/CPAN/[/url]
[url]ftp://cpan.thepirtgroup.com/[/url]
[url]ftp://cpan.uky.edu/pub/CPAN/[/url]
[url]ftp://cpan.netnitco.net/pub/mirrors/CPAN/[/url]
[url]ftp://cpan.mirror.redwire.net/pub/CPAN/[/url]
[url]ftp://cpan.erlbaum.net/[/url]
[url]ftp://cpan.digisle.net/pub/CPAN[/url]
wait_list
wait://ls6-www.informatik.uni-dortmund.de:1404
wget
cpan> get DBI
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
[url]ftp://cpan.nas.nasa.gov/pub/perl/CPAN/authors/01mailrc.txt.gz[/url]
LWP failed with code[400] message[FTP return code 000]
Fetching with Net::FTP:
[url]ftp://cpan.nas.nasa.gov/pub/perl/CPAN/authors/01mailrc.txt.gz[/url]
Caught SIGINT
Got another SIGINT
cpan> quit
Lockfile removed.
[root@basex log]# perl -v
This is perl, v5.8.0 built for i386-linux-thread-multi
Copyright 1987-2002, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source
kit.
Complete documentation for Perl, including FAQ lists, should be found
on
this system using `man perl' or `perldoc perl'. If you have access to
the
Internet, point your browser at [url]http://www.perl.com/[/url], the Perl Home
Page.
[root@basex log]#
===========================End of session log=====================
Any help will be greatly appreciated. Thanks in advance for any help
you might provide.
-Lee
Leland T. Snyder Guest
-
Connection Failure on established datasources
I'm running CF MX 7.01 - with all current hotfixes in place. This is connecting to a MS SQL Server database with the SQL drivers. We've recently... -
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails
FYI Have problem Upgrading perl packages from CPAN.pm version v1.61 to version v1.76) failed with final error messages: <stuff snipped> CPAN.pm:... -
downloading CPAN modules behind firewall
On 20 Aug 2003 10:45:29 -0700 eloormadhu@hotmail.com (Madhu Nair) wrote: In a nutshell, if you can access the Internet (ie your network allows... -
CPAN issues.
robert@elastica.com (Robert Nicholson) wrote in message news:<24a182bd.0307191849.3f3223d2@posting.google.com>... It looks like CPAN is just... -
"A connection to the server could not be established" - Trying to open existing project
I came in today and tried to edit a project that I was working with, locally, at the tail end of last week. This web project was created, hosted, ... -
Unregistered #2
Re: CPAN, LWP and Net:FTP firewall issues? Connection established transfer fails, ye
Try disabling the firewall and test
Unregistered Guest



Reply With Quote

