473,772 Members | 2,411 Online
Bytes | Software Development & Data Engineering Community
+ 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 12597
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
2489
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 utilities experiences a core dump during it's operation: Output from CPAN: --- cpan shell -- CPAN exploration and modules installation (v1.61) ReadLine support enabled
0
6429
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 not available Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/authors/id/S/SB/SBECK/DateManip-5.42a.tar.gz
0
2564
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 ftp.sedl.org/pub/mirrors/CPAN/MIRRORED.BY (The above command works fine)
0
3559
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: MOOSE:/usr/local/cpanSGH # perl -MCPAN -e "install 'MIME::Base64'" CPAN: Storable loaded ok Going to read /usr/local/cpanSGH/Metadata Database was generated on Sat, 04 Dec 2004 02:50:14 GMT
7
40977
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 cpan.pm , it gives the following error, can any one help, You have no /root/.cpan/sources/MIRRORED.BY I'm trying to fetch one CPAN: LWP::UserAgent loaded ok Fetching with LWP:
1
2398
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 installed fine since I initially configured the interface. Welll, I got home today, tried to install the BUndle::CPAN module, and here is what was kicked back at me: $ sudo perl -MCPAN -e 'install Bundle::CPAN' CPAN: Storable loaded ok Going to...
1
4351
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: Found only 0 objects in /root/.cpan/Metadata CPAN: LWP::UserAgent loaded ok
3
4424
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: i have followed the steps mention in the http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlmodinstall.html for Win2k OS.
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9914
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5355
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4009
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 we have to send another system
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.