472,780 Members | 1,751 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,780 software developers and data experts.

DBD::mysql install problem using CPAN

1
Hi,

I am trying to install DBD::mysql using the CPAN and I am facing the following error:

Expand|Select|Wrap|Line Numbers
  1. cpan> install DBD::mysql
  2. CPAN: Storable loaded ok
  3. Going to read /root/.cpan/Metadata
  4. Warning: Found only 0 objects in /root/.cpan/Metadata
  5. CPAN: LWP::UserAgent loaded ok
  6. Fetching with LWP:
  7.   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
  8. LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: Connection refused]
  9. Fetching with Net::FTP:
  10.   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
  11.  
  12. Trying with "/usr/bin/links -source" to get
  13.     ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
  14. ERROR at dump.c:188: Connection refused
  15.  
  16. System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz"  > /root/.cpan/sources/authors/01mailrc.txt"
  17. returned status 1 (wstat 256)
  18. Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
  19.  
  20. Trying with "/usr/bin/wget -O -" to get
  21.     ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
  22. --12:47:26--  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz
  23.            => `-'
  24. Resolving ftp.perl.org... 195.27.236.210, 77.75.105.196
  25. Connecting to ftp.perl.org|195.27.236.210|:21... failed: Connection refused.
  26. Connecting to ftp.perl.org|77.75.105.196|:21... failed: Connection refused.
  27.  
  28. System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz"  > /root/.cpan/sources/authors/01mailrc.txt"
  29. returned status 1 (wstat 256)
  30. Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist
  31. Issuing "/usr/kerberos/bin/ftp -n"
  32. ftp: connect to address 195.27.236.210: Connection refused
  33. Trying 77.75.105.196...
  34. ftp: connect: Connection refused
  35. Not connected.
  36. Local directory now /root/.cpan/sources/authors
  37. Not connected.
  38. Not connected.
  39. Not connected.
  40. Not connected.
  41. Not connected.
  42. Not connected.
  43. Not connected.
  44. Bad luck... Still failed!
  45. Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/authors/01mailrc.txt.gz.
  46.  
  47. Please check, if the URLs I found in your configuration file
  48. (ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/) are valid. The urllist can be
  49. edited. E.g. with 'o conf urllist push ftp://myurl/'
  50.  
  51. Could not fetch authors/01mailrc.txt.gz
  52. Fetching with LWP:
  53.   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
  54. LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: Connection refused]
  55. Fetching with Net::FTP:
  56.   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
  57.  
  58. Trying with "/usr/bin/links -source" to get
  59.     ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
  60. ERROR at dump.c:188: Connection refused
  61.  
  62. 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"
  63. returned status 1 (wstat 256)
  64. Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist
  65.  
  66. Trying with "/usr/bin/wget -O -" to get
  67.     ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
  68. --12:47:31--  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz
  69.            => `-'
  70. Resolving ftp.perl.org... 195.27.236.210, 77.75.105.196
  71. Connecting to ftp.perl.org|195.27.236.210|:21... failed: Connection refused.
  72. Connecting to ftp.perl.org|77.75.105.196|:21... failed: Connection refused.
  73.  
  74. 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"
  75. returned status 1 (wstat 256)
  76. Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist
  77. Issuing "/usr/kerberos/bin/ftp -n"
  78. ftp: connect to address 77.75.105.196: Connection refused
  79. Trying 195.27.236.210...
  80. ftp: connect: Connection refused
  81. Not connected.
  82. Local directory now /root/.cpan/sources/modules
  83. Not connected.
  84. Not connected.
  85. Not connected.
  86. Not connected.
  87. Not connected.
  88. Not connected.
  89. Not connected.
  90. Bad luck... Still failed!
  91. Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/02packages.details.txt.gz.
  92.  
  93. Please check, if the URLs I found in your configuration file
  94. (ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/) are valid. The urllist can be
  95. edited. E.g. with 'o conf urllist push ftp://myurl/'
  96.  
  97. Could not fetch modules/02packages.details.txt.gz
  98. Fetching with LWP:
  99.   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
  100. LWP failed with code[500] message[LWP::Protocol::MyFTP: connect: Connection refused]
  101. Fetching with Net::FTP:
  102.   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
  103.  
  104. Trying with "/usr/bin/links -source" to get
  105.     ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
  106. ERROR at dump.c:188: Connection refused
  107.  
  108. System call "/usr/bin/links -source "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz"  > /root/.cpan/sources/modules/03modlist.data"
  109. returned status 1 (wstat 256)
  110. Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist
  111.  
  112. Trying with "/usr/bin/wget -O -" to get
  113.     ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
  114. --12:47:37--  ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz
  115.            => `-'
  116. Resolving ftp.perl.org... 195.27.236.210, 77.75.105.196
  117. Connecting to ftp.perl.org|195.27.236.210|:21... failed: Connection refused.
  118. Connecting to ftp.perl.org|77.75.105.196|:21... failed: Connection refused.
  119.  
  120. System call "/usr/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz"  > /root/.cpan/sources/modules/03modlist.data"
  121. returned status 1 (wstat 256)
  122. Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist
  123. Issuing "/usr/kerberos/bin/ftp -n"
  124. ftp: connect to address 195.27.236.210: Connection refused
  125. Trying 77.75.105.196...
  126. ftp: connect: Connection refused
  127. Not connected.
  128. Local directory now /root/.cpan/sources/modules
  129. Not connected.
  130. Not connected.
  131. Not connected.
  132. Not connected.
  133. Not connected.
  134. Not connected.
  135. Not connected.
  136. Bad luck... Still failed!
  137. Can't access URL ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/modules/03modlist.data.gz.
  138.  
  139. Please check, if the URLs I found in your configuration file
  140. (ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY/) are valid. The urllist can be
  141. edited. E.g. with 'o conf urllist push ftp://myurl/'
  142.  
  143. Could not fetch modules/03modlist.data.gz
  144. Going to write /root/.cpan/Metadata
  145. Warning: Cannot install DBD::mysql, don't know what it is.
  146. Try the command
  147.  
  148.     i /DBD::mysql/
  149.  
  150. to find objects with matching identifiers.
Apr 1 '08 #1
1 4229
nithinpes
410 Expert 256MB
If you are using Activestate perl, it is better to use PPM. Refer this link on installing PERL modules.1
Apr 1 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Randell D. | last post by:
Folks, I have installed MySQL v4 (client, server and development rpm's). I've tried and failed to use the recommended mysqladmin to set a root password after the installation (I have another post...
1
by: Kerry Shetline | last post by:
I've successfully installed MySQL and the Perl DBI module, but when I try to install DBD::mysql, it keeps failing like this: -------------------- (from the CPAN shell) --------------------- .......
0
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but...
0
by: Paul | last post by:
I'm having problems in getting the tests associated with DBD::mysql. When they are executed, I get the following error repeated many times: t/00base...........install_driver(mysql) failed: Can't...
1
by: Yun Guan | last post by:
Hello, I have problems installing DBD:mysql on Red Hat Linux 9, either from CPAN, or mannual install. The error is the same, something related to this Kid.pm file under perl. Should I reinstall...
1
by: Alex Hunsley | last post by:
I am trying to install the DBD::mysql perl module. However, it claims I need mysql.h: cpan> install DBD::mysql CPAN: Storable loaded ok Going to read /home/alex/.cpan/Metadata Database was...
0
by: pvannie | last post by:
Hello there, I've been trying to install DBD::mysql on Mac OS X Server 10.3 for 2 days, but it still raises error. So I'm going to send this message to ask for help. Any help will be much...
1
by: pvannie | last post by:
Hello there, I've been trying to install DBD::mysql on Mac OS X Server 10.3 for 2 days, but it still raises error. So I'm going to send this message to ask for help. Any help will be much...
3
by: menzies | last post by:
Hi, I"m new to this forum, but I have been trying all day to install DBD::mysql onto my Intel MacBook. I've read lots of forums pages and none have gotten me to a successful 'make test' or a...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.