469,126 Members | 1,317 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,126 developers. It's quick & easy.

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 12162
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ville Walveranta | last post: by
reply views Thread by blupp | last post: by
reply views Thread by krigare | last post: by
reply views Thread by simon | last post: by
numberwhun
1 post views Thread by numberwhun | last post: by
reply views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.