标题:
[求助]
阿里云主机,centos 5.4 多次安装最新的2.2均不成功
[打印本页]
作者:
阿飞刘
时间:
2012-3-11 14:55
标题:
阿里云主机,centos 5.4 多次安装最新的2.2均不成功
全新安装的时候,install Error :mysql configure
err
r
下载
(66.07 KB)
2012-3-11 14:50
然后在下面键入
yum install -y gcc gcc-c++ make autoconf libtool-ltdl-devel gd-devel freetype-devel libxml2-devel libjpeg-devel libpng-devel openssl-devel curl-devel patch libmcrypt-devel libmhash-devel ncurses-devel sudo bzip2
复制代码
然后出现
---> Package libstdc++-devel.i386 0:4.1.2-52.el5 set to be updated
http://mirror.centos.org/centos/5/addons/i386/repodata/filelists.xml.gz: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: failure: repodata/filelists.xml.gz from addons: [Errno 256] No more mirrors to try.
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
You have new mail in /var/spool/mail/root
复制代码
下载
(94.26 KB)
2012-3-11 14:54
重新安装还是出现最面的那个错误,install Error :mysql configure
err
r,也把
登陆SSH,编辑下:/etc/yum/pluginconf.d/fastestmirror.conf
vi /etc/yum/pluginconf.d/fastestmirror.conf
把enabled=1改成enabled=0
[main]
enabled=0
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
maxthreads=15
#exclude=.gov, facebook
复制代码
这个做了
图片附件:
1.jpg
(2012-3-11 14:50, 66.07 KB) / 下载次数 7021
http://wdlinux.cn/bbs/attachment.php?aid=404&k=bdea86a68e3c17d9025fe77fba0bd204&t=1735268838&sid=pdy6zy
图片附件:
2.JPG
(2012-3-11 14:54, 94.26 KB) / 下载次数 7032
http://wdlinux.cn/bbs/attachment.php?aid=405&k=6cafcce3fc10e9b3ad11dd9debaa2c17&t=1735268838&sid=pdy6zy
作者:
kiah
时间:
2012-3-11 16:06
。。。。。。。。。。。。。。
作者:
阿飞刘
时间:
2012-3-11 16:15
本帖最后由 阿飞刘 于 2012-3-11 16:17 编辑
---> Package libXpm-devel.i386 0:3.5.5-3 set to be updated
---> Package libgcc.i386 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libidn-devel.i386 0:0.6.5-1.1 set to be updated
---> Package libmcrypt.i386 0:2.5.8-4.el5.centos set to be updated
---> Package libpng.i386 2:1.2.10-15.el5_7 set to be updated
---> Package libstdc++.i386 0:4.1.2-52.el5 set to be updated
---> Package libstdc++-devel.i386 0:4.1.2-52.el5 set to be updated
addons/filelists | 180 B 00:00
http://mirror.centos.org/centos/5/addons/i386/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/filelists.xml.gz from addons: [Errno 256] No more mirrors to try.
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
11 Mar 16:11:12 ntpdate[2330]: the NTP socket is in use, exiting
setenforce: SELinux is disabled
Stopping httpd: [FAILED]
mysqld: unrecognized service
error reading information on service mysqld: No such file or directory
installing mysql...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/lanmp/mysql-5.1.61':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
----Install Error: mysql configure err -----------
PING www.wdlinux.cn (113.105.167.213) 56(84) bytes of data.
From ip223.hichina.com (223.4.31.251) icmp_seq=1 Time to live exceeded
--- www.wdlinux.cn ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
Preparing... ########################################### [100%]
package rpmforge-release-0.5.2-2.el5.rf.i386 is already installed
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* rpmforge: fr2.rpmfind.net
* updates: mirrors.163.com
Setting up Install Process
Package 1:make-3.81-3.el5.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.59-12 set to be updated
--> Processing Dependency: imake for package: autoconf
---> Package bzip2.i386 0:1.0.3-6.el5_5 set to be updated
---> Package curl-devel.i386 0:7.15.5-15.el5 set to be updated
--> Processing Dependency: curl = 7.15.5-15.el5 for package: curl-devel
--> Processing Dependency: libidn-devel for package: curl-devel
---> Package freetype-devel.i386 0:2.2.1-28.el5_7.2 set to be updated
--> Processing Dependency: freetype = 2.2.1-28.el5_7.2 for package: freetype-devel
--> Processing Dependency: zlib-devel for package: freetype-devel
---> Package gcc.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: cpp = 4.1.2-52.el5 for package: gcc
--> Processing Dependency: libgomp >= 4.1.2-52.el5 for package: gcc
--> Processing Dependency: libgcc >= 4.1.2-52.el5 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
---> Package gcc-c++.i386 0:4.1.2-52.el5 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-52.el5 for package: gcc-c++
--> Processing Dependency: libstdc++ = 4.1.2-52.el5 for package: gcc-c++
---> Package gd-devel.i386 0:2.0.33-9.4.el5_4.2 set to be updated
--> Processing Dependency: gd = 2.0.33-9.4.el5_4.2 for package: gd-devel
--> Processing Dependency: libXpm-devel for package: gd-devel
--> Processing Dependency: libX11-devel for package: gd-devel
--> Processing Dependency: fontconfig-devel for package: gd-devel
---> Package libcap-devel.i386 0:1.10-26 set to be updated
---> Package libjpeg-devel.i386 0:6b-37 set to be updated
---> Package libmcrypt-devel.i386 0:2.5.8-4.el5.centos set to be updated
--> Processing Dependency: libmcrypt = 2.5.8-4.el5.centos for package: libmcrypt-devel
--> Processing Dependency: libmcrypt.so.4 for package: libmcrypt-devel
---> Package libpng-devel.i386 2:1.2.10-15.el5_7 set to be updated
--> Processing Dependency: libpng = 2:1.2.10-15.el5_7 for package: libpng-devel
---> Package libtool-ltdl-devel.i386 0:1.5.22-7.el5_4 set to be updated
--> Processing Dependency: libtool-ltdl = 1.5.22-7.el5_4 for package: libtool-ltdl-devel
---> Package libxml2-devel.i386 0:2.6.26-2.1.15.el5_8.2 set to be updated
---> Package mhash-devel.i386 0:0.9.9-1.el5.rf set to be updated
--> Processing Dependency: mhash = 0.9.9-1.el5.rf for package: mhash-devel
--> Processing Dependency: libmhash.so.2 for package: mhash-devel
---> Package ncurses-devel.i386 0:5.5-24.20060715 set to be updated
---> Package ntp.i386 0:4.2.2p1-15.el5.centos.1 set to be updated
---> Package openssl-devel.i386 0:0.9.8e-22.el5 set to be updated
--> Processing Dependency: openssl = 0.9.8e-22.el5 for package: openssl-devel
--> Processing Dependency: krb5-devel for package: openssl-devel
---> Package patch.i386 0:2.5.4-31.el5 set to be updated
---> Package sudo.i386 0:1.7.2p1-13.el5 set to be updated
---> Package sysklogd.i386 0:1.4.1-46.el5 set to be updated
--> Running transaction check
---> Package cpp.i386 0:4.1.2-52.el5 set to be updated
---> Package curl.i386 0:7.15.5-15.el5 set to be updated
---> Package fontconfig-devel.i386 0:2.4.1-7.el5 set to be updated
---> Package freetype.i386 0:2.2.1-28.el5_7.2 set to be updated
---> Package gd.i386 0:2.0.33-9.4.el5_4.2 set to be updated
---> Package glibc-devel.i386 0:2.5-81 set to be updated
--> Processing Dependency: glibc-headers = 2.5-81 for package: glibc-devel
--> Processing Dependency: glibc = 2.5-81 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
---> Package imake.i386 0:1.0.2-3 set to be updated
---> Package krb5-devel.i386 0:1.6.1-70.el5 set to be updated
--> Processing Dependency: krb5-libs = 1.6.1-70.el5 for package: krb5-devel
--> Processing Dependency: libselinux-devel for package: krb5-devel
--> Processing Dependency: e2fsprogs-devel for package: krb5-devel
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel
---> Package libX11-devel.i386 0:1.0.3-11.el5_7.1 set to be updated
--> Processing Dependency: libX11 = 1.0.3-11.el5_7.1 for package: libX11-devel
--> Processing Dependency: xorg-x11-proto-devel >= 7.1-2 for package: libX11-devel
--> Processing Dependency: libXau-devel for package: libX11-devel
--> Processing Dependency: libXdmcp-devel for package: libX11-devel
---> Package libXpm-devel.i386 0:3.5.5-3 set to be updated
---> Package libgcc.i386 0:4.1.2-52.el5 set to be updated
---> Package libgomp.i386 0:4.4.6-3.el5.1 set to be updated
---> Package libidn-devel.i386 0:0.6.5-1.1 set to be updated
---> Package libmcrypt.i386 0:2.5.8-4.el5.centos set to be updated
---> Package libpng.i386 2:1.2.10-15.el5_7 set to be updated
---> Package libstdc++.i386 0:4.1.2-52.el5 set to be updated
---> Package libstdc++-devel.i386 0:4.1.2-52.el5 set to be updated
http://mirror.centos.org/centos/5/addons/i386/repodata/filelists.xml.gz: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: failure: repodata/filelists.xml.gz from addons: [Errno 256] No more mirrors to try.
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
11 Mar 16:12:15 ntpdate[2645]: the NTP socket is in use, exiting
setenforce: SELinux is disabled
installing mysql...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/lanmp/mysql-5.1.61':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
----Install Error: mysql configure err -----------
复制代码
作者:
admin
时间:
2012-3-11 18:18
DNS错误,域名解释不了
所以
yum install -y gcc gcc-c++ make autoconf libtool-ltdl-devel gd-devel freetype-devel libxml2-devel libjpeg-devel libpng-devel openssl-devel curl-devel patch libmcrypt-devel libmhash-devel ncurses-devel sudo bzip2
这个也没更新成功
作者:
阿飞刘
时间:
2012-3-11 19:39
那怎么解决
作者:
admin
时间:
2012-3-11 22:35
换一个DNS
作者:
阿飞刘
时间:
2012-3-12 08:04
换虚拟主机的dns?
作者:
小蛋
时间:
2012-3-13 12:04
我有一台5.4的也是这个问题。不理解咋 回事
作者:
admin
时间:
2012-3-13 12:48
DNS不行,所以域名解析不了,所以yum更新不成功,所以没有相关的依懒包和库,所以安装不成功
可以换一个DNS试试,可以看/etc/resolv.conf这个文件
作者:
ainan
时间:
2012-3-14 08:30
云主机可以重置下
欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/)
Powered by Discuz! 7.2