473,467 Members | 1,604 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CPAN problem

router root # perl -MCPAN -e 'install Net::SMTP'
CPAN: Storable loaded ok
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.perl.org

Trying with "/usr/bin/lynx -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz

Looking up ftp.perl.org
Making FTP connection to ftp.perl.org
Can't Access `ftp://ftp.perl.org/pub/CPAN/authors/01mailr
c.txt.gz'
Alert!: Unable to access document.

lynx: Can't access startfile

System call "/usr/bin/lynx -source "ftp://ftp.perl.org/pu
b/CPAN/authors/01mailrc.txt.gz" > /root/.cpan/sources/au
thors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mai
lrc.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
--19:17:06-- ftp://ftp.perl.org/pub/CPAN/authors/01mailr
c.txt.gz
=> `-'
Resolving ftp.perl.org... done.
Connecting to ftp.perl.org[192.35.244.50]:21... connected
..
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/CPAN/authors ... done.
==> PORT ... done. ==> RETR 01mailrc.txt.gz ...
Error in server response, closing control connection.
Retrying.

--19:18:10-- ftp://ftp.perl.org/pub/CPAN/authors/01mailr
c.txt.gz
(try: 2) => `-'
Connecting to ftp.perl.org[192.35.244.50]:21... connected
..
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/CPAN/authors ... done.
==> PORT ... done. ==> RETR 01mailrc.txt.gz ...
Error in server response, closing control connection.
Retrying.

and 20- further tries

Not sure where to start sorting it out
IIRC ive installed other stuff with CPAN with no problem

Jul 19 '05 #1
3 12577
p cooper wrote:
router root # perl -MCPAN -e 'install Net::SMTP'
CPAN: Storable loaded ok
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.perl.org

Trying with "/usr/bin/lynx -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz

Looking up ftp.perl.org
Making FTP connection to ftp.perl.org
Can't Access `ftp://ftp.perl.org/pub/CPAN/authors/01mailr
c.txt.gz'
Alert!: Unable to access document.

lynx: Can't access startfile

System call "/usr/bin/lynx -source "ftp://ftp.perl.org/pu
b/CPAN/authors/01mailrc.txt.gz" > /root/.cpan/sources/au
thors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mai
lrc.txt.gz] doesn't exist

Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
--19:17:06-- ftp://ftp.perl.org/pub/CPAN/authors/01mailr
c.txt.gz
=> `-'
Resolving ftp.perl.org... done.
Connecting to ftp.perl.org[192.35.244.50]:21... connected
.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/CPAN/authors ... done.
==> PORT ... done. ==> RETR 01mailrc.txt.gz ...
Error in server response, closing control connection.
Retrying.

--19:18:10-- ftp://ftp.perl.org/pub/CPAN/authors/01mailr
c.txt.gz
(try: 2) => `-'
Connecting to ftp.perl.org[192.35.244.50]:21... connected
.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/CPAN/authors ... done.
==> PORT ... done. ==> RETR 01mailrc.txt.gz ...
Error in server response, closing control connection.
Retrying.

and 20- further tries

Not sure where to start sorting it out
IIRC ive installed other stuff with CPAN with no problem


Hi Peter,

Try setting the following environment variable

export FTP_PASV=1

I found this problem when I was behind a firewall and this set all FTP
to passive and worked with no problems. I have CPAN running without any
issue

Regards
David Logan
HP Managed Services
Adelaide South Australia

Jul 19 '05 #2
still not working :-((
router root # export FTP_PASV=1
router root # perl -MCPAN -e 'install Net::SMTP'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.perl.org

Trying with "/usr/bin/lynx -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz

Looking up ftp.perl.org
Making FTP connection to ftp.perl.org
Can't Access `ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz'
Alert!: Unable to access document.

lynx: Can't access startfile

System call "/usr/bin/lynx -source
"ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz" >
/root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't
exist

Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
--18:03:44-- ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
=> `-'
Resolving ftp.perl.org... done.
Connecting to ftp.perl.org[194.125.133.8]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/CPAN/authors ... done.
==> PORT ... done. ==> RETR 01mailrc.txt.gz ...
Error in server response, closing control connection.
Retrying.

--18:05:01-- ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
(try: 2) => `-'
Connecting to ftp.perl.org[194.125.133.8]:21... connected.
Jul 19 '05 #3
p cooper wrote:
still not working :-((

router root # export FTP_PASV=1
router root # perl -MCPAN -e 'install Net::SMTP'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.perl.org

Trying with "/usr/bin/lynx -source" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz

Looking up ftp.perl.org
Making FTP connection to ftp.perl.org
Can't Access `ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz'
Alert!: Unable to access document.

lynx: Can't access startfile

System call "/usr/bin/lynx -source
"ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz" >
/root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't
exist

Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
--18:03:44-- ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
=> `-'
Resolving ftp.perl.org... done.
Connecting to ftp.perl.org[194.125.133.8]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/CPAN/authors ... done.
==> PORT ... done. ==> RETR 01mailrc.txt.gz ...
Error in server response, closing control connection.
Retrying.

--18:05:01-- ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
(try: 2) => `-'
Connecting to ftp.perl.org[194.125.133.8]:21... connected.


Woops, sorry it was FTP_PASSIVE=1

8-(

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ville Walveranta | last post by:
I'm trying to get CPAN or, preferably CPANPLUS working on a dual-CPU FreeBSD 4.8 server (with plenty of free memory), and have ran into a problem that I don't appear to resolve. Either of the...
0
by: blupp | last post by:
Hi, I am trying to install the package, but get the following error: cpan> install Date::Manip Running install for module Date::Manip Running make for S/SB/SBECK/DateManip-5.42a.tar.gz LWP...
0
by: krigare | last post by:
CPAN 1.76 ncftp 3.1.7 Redhat 9 I am behind a firewall. I do have ncftp configured to handle the firewall settings. In fact I can manually (from the command line) do: #> ncftpget...
0
by: simon | last post by:
Hi I am trying to install MIME::Base64 and MIME::QuotedPrint using CPAN on Suse 9.1. Suse comes with Perl v5.8.3 already installed. The error message I receive is as follows: ...
7
by: chandru1782 | last post by:
Dear friends, I am trying to use CPAN for installing some perl modules. i am using a ubuntu system, which has internet connection through lan and authenticated proxy. when trying to install...
1
numberwhun
by: numberwhun | last post by:
Ok, I have an issue and I am not sure what is causing it. I am working on a Fedora Core 7 Linux machine (my laptop). I have not had any problems with installing modules via CPAN. All has...
1
by: spatro | last post by:
Hi, I am trying to install DBD::mysql using the CPAN and I am facing the following error: cpan> install DBD::mysql CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Warning:...
3
by: vijayarl | last post by:
Hi everyone, Requirement: Am trying to install the CPAN module : Spreadsheet::Excelsheet through PPM i have downloaded the Spreadsheet-ParseExcel-0.33.tar.gz file & uncompress it Problem: ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.