I'll re-run sh Configure and
You can run a CPAN session like this:
FTP_PASSIVE=1 perl -MCPAN -e shell from the command line on a per-session basis without having to hack Config.pm permanently
it doesn't explain the mysql connection issue
Sounds like you have name resolution issues at the system level if you can connect using the IP but not using the fqdn.