in reply to Help with CPAN failing

Looks like a firewall problem. Check your firewall settings on the newly installed RedHat box with:

[root@host root]# iptatbles -n -L

If you don't see something like:

Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination

then you machine is running a firewall, which might block passive FTP connections. These will require some tuning. For a quick check, you can disable firewall and try to use CPAN shell for some installation. To temporarily switch off the firewall run:

[root@host root]# service iptables stop

If you machine is on the protected network and you don't need firewall at all, then you can switch also disable iptables service at boottime by running:

[root@host root]# chkconfig --level 0123456 iptables off

HTH.
perl -e 'print "-- \n Leonid Mamtchenkov\n"'

Replies are listed 'Best First'.
Re: Re: Help with CPAN failing
by astaines (Curate) on May 10, 2003 at 00:18 UTC

    Thanks very much - it worked like a charm. I still don't understand why I could use ftp etc, and CPAN couldn't, bt I don't really care either. Thank you very much!

    --
    Anthony Staines