I'm not sure whether PerlMonks is the place to ask this, but I'm not sure where to turn.

I have two Unix boxen. Both are Sun machines running Solaris 2.7. Both machines have Perl 5.6.1 installed.

On one machine, running perl -MCPAN -e shell works great.

On the other machine, it formerly worked great. Now I'm getting plenty of "cannot find that" error messages and very little joy. I'm hoping that someone can tell me how to fix the problem, or at least how to investigate it further.

Oddly enough, after all of the numerous error messages and many minutes of patient waiting, I eventually do get the requested module installed. Weird!

Here's an excerpt of the type of message I get. This has been going on for a month or two now.

cpan> install Bundle::CPAN CPAN: Storable loaded ok CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://ftp.cpan.org/CPAN/authors/01mailrc.txt.gz LWP failed with code[404] message[Can't chdir to CPAN] Fetching with Net::FTP: ftp://ftp.cpan.org/CPAN/authors/01mailrc.txt.gz Couldn't cwd CPAN/authors at /usr/local/lib/perl5/5.6.1/CPAN.pm line 2 +182. Fetching with LWP: ftp://mirror.xmission.com/CPAN/authors/01mailrc.txt.gz LWP failed with code[401] message[Anonymous cannot have more than 1 op +en session per host.] Fetching with Net::FTP: ftp://mirror.xmission.com/CPAN/authors/01mailrc.txt.gz Couldn't login on mirror.xmission.com at /usr/local/lib/perl5/5.6.1/CP +AN.pm line 2178. Fetching with LWP: ftp://ftp.sunsite.utk.edu/pub/CPAN/authors/01mailrc.txt.gz LWP failed with code[401] message[Login incorrect.] Fetching with Net::FTP: ftp://ftp.sunsite.utk.edu/pub/CPAN/authors/01mailrc.txt.gz Couldn't login on ftp.sunsite.utk.edu at /usr/local/lib/perl5/5.6.1/CP +AN.pm line 2178. Fetching with LWP: ftp://ftp.kernel.org/pub/mirrors/cpan/authors/01mailrc.txt.gz LWP failed with code[404] message[Can't chdir to mirrors] Fetching with Net::FTP: ftp://ftp.kernel.org/pub/mirrors/cpan/authors/01mailrc.txt.gz Couldn't cwd pub/mirrors/cpan/authors at /usr/local/lib/perl5/5.6.1/CP +AN.pm line 2182. Trying with "/usr/local/bin/lynx -source" to get ftp://ftp.cpan.org/CPAN/authors/01mailrc.txt.gz Looking up ftp.cpan.org Making FTP connection to ftp.cpan.org Can't Access `ftp://ftp.cpan.org/CPAN/authors/01mailrc.txt.gz' Alert!: Unable to access document. lynx: Can't access startfile System call "/usr/local/bin/lynx -source "ftp://ftp.cpan.org/CPAN/auth +ors/01mailrc.txt.gz" > /rootwh/.cpan/sources/authors/01mailrc.txt" returned status 255 (wstat 65280) Warning: expected file [/rootwh/.cpan/sources/authors/01mailrc.txt.gz] + doesn't exist

Here's the output of "o conf":

cpan> o conf CPAN::Config options from /usr/local/lib/perl5/5.6.1/CPAN/Config.pm: commit Commit changes to disk defaults Reload defaults from disk init Interactive setting of all options build_cache 10 build_dir /rootwh/.cpan/build cache_metadata 1 cpan_home /rootwh/.cpan dontload_hash ftp /usr/bin/ftp ftp_proxy getcwd cwd gzip /usr/local/bin/gzip http_proxy inactivity_timeout 0 index_expire 1 inhibit_startup_message 0 keep_source_where /rootwh/.cpan/sources lynx /usr/local/bin/lynx make /usr/local/bin/make make_arg make_install_arg makepl_arg ncftp ncftpget no_proxy pager more prerequisites_policy ask scan_cache atstart shell /bin/csh tar /usr/local/bin/tar term_is_latin 1 unzip /usr/bin/unzip urllist ftp://ftp.cpan.org/CPAN/ ftp://mirror.xmission.com/CPAN/ ftp://ftp.sunsite.utk.edu/pub/CPAN/ ftp://ftp.kernel.org/pub/mirrors/cpan/ wait_list wait://ls6.informatik.uni-dortmund.de:1404 wget cpan>
Wally Hartshorn

In reply to CPAN Module troubles by Wally Hartshorn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.