Hi,
I am trying to install DBD::mysql using the CPAN and I am facing the following error:
I am trying to install DBD::mysql using the CPAN and I am facing the following error:
Code:
cpan> install DBD::mysql
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Warning: Found only 0 objects in /root/.cpan/Metadata
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: Connection refused]
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
ERROR at dump.c:188: Connection refused
System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
--12:47:26-- ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
=> `-'
Resolving ftp.perl.org... 195.27.236.210, 77.75.105.196
Connecting to ftp.perl.org|195.27.236.210|:21... failed: Connection refused.
Connecting to ftp.perl.org|77.75.105.196|:21... failed: Connection refused.
System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
Issuing "/usr/kerberos/bin/ftp -n"
ftp: connect to address 195.27.236.210: Connection refused
Trying 77.75.105.196...
ftp: connect: Connection refused
Not connected.
Local directory now /root/.cpan/sources/authors
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz.
Please check, if the URLs I found in your configuration file
(ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/) are valid. The urllist can be
edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch authors/01mailrc.txt.gz
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: Connection refused]
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
ERROR at dump.c:188: Connection refused
System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist
Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
--12:47:31-- ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
=> `-'
Resolving ftp.perl.org... 195.27.236.210, 77.75.105.196
Connecting to ftp.perl.org|195.27.236.210|:21... failed: Connection refused.
Connecting to ftp.perl.org|77.75.105.196|:21... failed: Connection refused.
System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist
Issuing "/usr/kerberos/bin/ftp -n"
ftp: connect to address 77.75.105.196: Connection refused
Trying 195.27.236.210...
ftp: connect: Connection refused
Not connected.
Local directory now /root/.cpan/sources/modules
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz.
Please check, if the URLs I found in your configuration file
(ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/) are valid. The urllist can be
edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch modules/02packages.details.txt.gz
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: Connection refused]
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
Trying with "/usr/bin/links -source" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
ERROR at dump.c:188: Connection refused
System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist
Trying with "/usr/bin/wget -O -" to get
ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
--12:47:37-- ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
=> `-'
Resolving ftp.perl.org... 195.27.236.210, 77.75.105.196
Connecting to ftp.perl.org|195.27.236.210|:21... failed: Connection refused.
Connecting to ftp.perl.org|77.75.105.196|:21... failed: Connection refused.
System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist
Issuing "/usr/kerberos/bin/ftp -n"
ftp: connect to address 195.27.236.210: Connection refused
Trying 77.75.105.196...
ftp: connect: Connection refused
Not connected.
Local directory now /root/.cpan/sources/modules
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz.
Please check, if the URLs I found in your configuration file
(ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/) are valid. The urllist can be
edited. E.g. with 'o conf urllist push ftp://myurl/'
Could not fetch modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Warning: Cannot install DBD::mysql, don't know what it is.
Try the command
i /DBD::mysql/
to find objects with matching identifiers.
Comment