perl CPAN bug fixed

By ET

Tried to install a module in perl, but it gave me the following error:
LWP failed with code[400] message[FTP return code 000]

It switched through LWP, wget, lynx, etc. then stopped for no reason.

To fix it, just add one line in /etc/bashrc:
FTP_PASSIVE=1

This sends an environment variable to the shell, and avoids FTP timeout.

Leave a Reply


BlogTimer
You are visitor number several since September 1, 2001

Copyright Xiaoquan (Michael) Zhang, 2004-2007. All rights reserved.
All trademarks property of their owners.