Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default cpan Net::FTP hangs

    With a recent cpan install, when I try to do a module install with
    cpan, Net::FTP goes to do a fetch and the program just hangs.

    The same FTP command with, say, ncftp from the same box works fine and
    instantly.

    Anyone else have this problem?

    brundlefly76@hotmail.com Guest

  2. Similar Questions and Discussions

    1. PHP on CPAN?
      http://search.cpan.org/~tels/mediawiki-slides-0.01/ As far as I can see this is a MediaWiki extension written in PHP ? -- John Bokma ...
    2. CF hangs when database server hangs or crashes
      This may be as simple as a configuration change, but hoping someone understands this behavior and can offer suggestions (or at least additional...
    3. Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails
      FYI Have problem Upgrading perl packages from CPAN.pm version v1.61 to version v1.76) failed with final error messages: <stuff snipped> CPAN.pm:...
    4. Listed in search.cpan.org but not www.cpan.org
      Dear Y'all - I published the PeopleSoft.pm modules about a year ago and they're available via interactive CPAN and via the engine on...
    5. Problem with 'cc' command in CPAN makes (i.e., Bundle::CPAN)
      I'm using the CPAN module to build my modules and have hung up just trying install Bundle::CPAN. Installing Data::Dumper, for example, shows a 'cc:...
  3. #2

    Default Re: cpan Net::FTP hangs

    [email]brundlefly76@hotmail.com[/email] wrote :
    > With a recent cpan install, when I try to do a module install with
    > cpan, Net::FTP goes to do a fetch and the program just hangs.
    Which program?
    Where is the code?
    Have you checked "$ftp->message"?
    > The same FTP command with, say, ncftp from the same box works fine and
    > instantly.
    >
    The problem might be router/firewall related.
    Your local ftp client might be configured to use passive ftp.

    Try
    $ftp=Net::FTP->new(HOST,
    [your stuff here,]
    Passive => '1')

    HTH
    Martin

    --
    perl -e '$|=1;&p(7.74.117.115.116.32);&s();&p(97.110.111); &p(116.104.101
    ..114);&s;&p(32.112.101.114.108);&s();&p(32.104.97 .99.107.101.114.10);sub
    s{sleep 1};sub p(){print "@_"}'
    Martin Kissner Guest

  4. #3

    Default Re: cpan Net::FTP hangs

    I am talking about the actual automated cpan install program itself (I
    really wish they had called it something else!)...

    cpan> install LWP
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Sat, 26 Feb 2005 19:48:34 GMT
    LWP not available
    LWP not available
    CPAN: Net::FTP loaded ok
    Fetching with Net::FTP:
    [url]ftp://ftp.sonic.net/mirrors/CPAN/authors/01mailrc.txt.gz[/url]

    And it just freezes there - FYI as I mentioned I have absolutely no
    problems ftping to this remote host and getting the file mentioned by
    hand in less then a few seconds...

    brundlefly76@hotmail.com Guest

  5. #4

    Default cpan Net::FTP hangs

    I've had the same symptom.
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139