CPAN problem


P

p cooper

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
 
Ad

Advertisements

U

user

p said:
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
 
P

p cooper

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.
 
Ad

Advertisements

D

David Logan

p said:
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-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top