根据百度百科和网上其它的一些方法,安装kloxo,最后失败了,无法打开 [Errno 14] HTTP Error 404: Not Found
结果我的yum(CentOS 6.0)也莫名其妙的无法使用了。。。我用其他服务器(CentOS 5.5)测试,yum可以使用,气煞老夫!!!等我解决这个问题了,再把解放方案贴出来。
#后来又是这个安装步骤,成功了。
[root@localhost conf]# whereis httpd
httpd: /usr/sbin/httpd /usr/sbin/httpd.worker /usr/sbin/httpd.event /etc/httpd /usr/lib/httpd /usr/share/man/man8/httpd.8.gz
[root@localhost conf]# service httpd status
httpd is stopped
[root@localhost kloxo]# rpm -qa |grep php
php-ldap-5.1.6-27.el5
php-cli-5.1.6-27.el5
php-5.1.6-27.el5
php-common-5.1.6-27.el5
[root@localhost kloxo]# rpm -qa |grep php |sed 's/^/rpm -e/g'
rpm -ephp-ldap-5.1.6-27.el5
rpm -ephp-cli-5.1.6-27.el5
rpm -ephp-5.1.6-27.el5
rpm -ephp-common-5.1.6-27.el5
[root@localhost kloxo]# rpm -qa |grep php |sed 's/^/rpm -e /g'
rpm -e php-ldap-5.1.6-27.el5
rpm -e php-cli-5.1.6-27.el5
rpm -e php-5.1.6-27.el5
rpm -e php-common-5.1.6-27.el5
[root@localhost kloxo]# rpm -qa |grep php |sed 's/^/rpm -e /g' |sh
error: Failed dependencies:
php-cli = 5.1.6-27.el5 is needed by (installed) php-5.1.6-27.el5.i386
error: Failed dependencies:
php-common = 5.1.6-27.el5 is needed by (installed) php-cli-5.1.6-27.el5.i386
[root@localhost kloxo]# rpm -qa |grep php
php-cli-5.1.6-27.el5
php-common-5.1.6-27.el5
[root@localhost kloxo]# rpm -e php-cli-5.1.6-27.el5
[root@localhost kloxo]# rpm -e php-common-5.1.6-27.el5
[root@localhost kloxo]# rpm -qa | grep mysql
mysql-5.0.77-4.el5_4.2
[root@localhost kloxo]# rpm -e mysql-5.0.77-4.el5_4.2
error: Failed dependencies:
libmysqlclient.so.15 is needed by (installed) dovecot-1.0.7-7.el5.i386
libmysqlclient.so.15(libmysqlclient_15) is needed by (installed) dovecot-1.0.7-7.el5.i386
[root@localhost kloxo]# rpm -e dovecot-1.0.7-7.el5.i386
[root@localhost kloxo]# rpm -e libmysqlclient.so.15
error: package libmysqlclient.so.15 is not installed
[root@localhost kloxo]# rpm -e mysql-5.0.77-4.el5_4.2
[root@localhost kloxo]# rpm -e httpd-2.2.3-43.el5.centos
error: Failed dependencies:
httpd-mmn = 20051115 is needed by (installed) mod_python-3.2.8-3.1.i386
httpd-mmn = 20051115 is needed by (installed) mod_ssl-2.2.3-43.el5.centos.i386
httpd-mmn = 20051115 is needed by (installed) mod_perl-2.0.4-6.el5.i386
webserver is needed by (installed) webalizer-2.01_10-30.1.i386
httpd >= 2.0.40 is needed by (installed) mod_python-3.2.8-3.1.i386
httpd = 0:2.2.3-43.el5.centos is needed by (installed) mod_ssl-2.2.3-43.el5.centos.i386
httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386
[root@localhost kloxo]# rpm -e gnome-user-share-0.10-6.el5.i386
[root@localhost kloxo]# rpm -e mod_ssl-2.2.3-43.el5.centos.i386
[root@localhost kloxo]# rpm -e mod_python-3.2.8-3.1.i386
[root@localhost kloxo]# rpm -e webalizer-2.01_10-30.1.i386
[root@localhost kloxo]# rpm -e mod_perl-2.0.4-6.el5.i386
[root@localhost kloxo]# rpm -e mod_ssl-2.2.3-43.el5.centos.i386
error: package mod_ssl-2.2.3-43.el5.centos.i386 is not installed
[root@localhost kloxo]# rpm -e httpd-2.2.3-43.el5.centos
[root@localhost kloxo]#
[root@localhost conf]# rpm -qa | grep mysql
[root@localhost conf]# rpm -qa | grep httpd
[root@localhost conf]# rpm -qa | grep php
[root@localhost conf]#
[root@localhost opt]# wget
--2012-01-08 21:51:37--
Resolving download.lxcenter.org... 66.197.145.24
Connecting to download.lxcenter.org|66.197.145.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6234 (6.1K) [application/octet-stream]
Saving to: `kloxo-installer.sh'
100%[======================================>] 6,234 --.-K/s in 0s
2012-01-08 21:51:40 (72.3 MB/s) - `kloxo-installer.sh' saved [6234/6234]
[root@localhost opt]# sh
beiwang.txt kloxo-installer.sh y/
kloxo/ ORCLfmap/
[root@localhost opt]# sh kloxo-installer.sh
-------------------------------------------------------------------------
format: sh kloxo-installer.sh --type= [--version=version]
-------------------------------------------------------------------------
--type - compulsory, please choose between master or slave
depending which you want to install
--version - optional; default: 'current', or any version number as
listed in the archive (between 'kloxo-' and '. zip')
An archive is available at ''
We need additional files when installing 6.0.x version:
1. all additional files must be in the same place of 'kloxo-installer.sh'
2. download kloxo from archive and then change 'version' to 'current'
3. check thirdparty from:
''
4. download thirdparty from:
''
5. rename kloxo-thirdparty..zip to kloxo-thirdparty.2012.zip
[root@localhost opt]# sh kloxo-installer.sh --type=master
Installing as "root" OK
Operating System supported OK
SELinux disabled OK
Yum installed OK
Ready to begin Kloxo (master) install.
Note some file downloads may not show a progress bar so please, do not interrupt the process.
When it's finished, you will be presented with a welcome message and further instructions.
Press any key to continue ...
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
addons | 951 B 00:00
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Setting up Install Process
Package wget-1.11.4-2.el5_4.1.i386 already installed and latest version
Package zip-2.31-2.el5.i386 already installed and latest version
Package unzip-5.52-3.el5.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php
--> Processing Dependency: php-cli = 5.1.6-27.el5_5.3 for package: php
--> Processing Dependency: httpd-mmn = 20051115 for package: php
---> Package php-mysql.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15 for package: php-mysql
--> Processing Dependency: php-pdo for package: php-mysql
--> Running transaction check
---> Package httpd.i386 0:2.2.3-53.el5.centos.3 set to be updated
updates/filelists_db | 1.7 MB 00:00
---> Package mysql.i386 0:5.0.77-4.el5_6.6 set to be updated
---> Package php-cli.i386 0:5.1.6-27.el5_5.3 set to be updated
---> Package php-common.i386 0:5.1.6-27.el5_5.3 set to be updated
---> Package php-pdo.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php i386 5.1.6-27.el5_5.3 base 2.3 M
php-mysql i386 5.1.6-27.el5_5.3 base 86 k
Installing for dependencies:
httpd i386 2.2.3-53.el5.centos.3 updates 1.2 M
mysql i386 5.0.77-4.el5_6.6 base 4.8 M
php-cli i386 5.1.6-27.el5_5.3 base 2.1 M
php-common i386 5.1.6-27.el5_5.3 base 153 k
php-pdo i386 5.1.6-27.el5_5.3 base 65 k
Transaction Summary
================================================================================
Install 7 Package(s)
Upgrade 0 Package(s)
Total download size: 11 M
Downloading Packages:
(1/7): php-pdo-5.1.6-27.el5_5.3.i386.rpm | 65 kB 00:00
(2/7): php-mysql-5.1.6-27.el5_5.3.i386.rpm | 86 kB 00:00
(3/7): php-common-5.1.6-27.el5_5.3.i386.rpm | 153 kB 00:00
(4/7): httpd-2.2.3-53.el5.centos.3.i386.rpm | 1.2 MB 00:03
(5/7): php-cli-5.1.6-27.el5_5.3.i386.rpm | 2.1 MB 00:00
(6/7): php-5.1.6-27.el5_5.3.i386.rpm | 2.3 MB 00:01
(7/7): mysql-5.0.77-4.el5_6.6.i386.rpm | 4.8 MB 00:08
------------------------------------------------------------------------------------------
Total 728 kB/s | 11 MB 00:15
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-common 1/7
Installing : php-pdo 2/7
Installing : php-cli 3/7
Installing : httpd 4/7
Installing : mysql 5/7
Installing : php-mysql 6/7
Installing : php 7/7
Installed:
php.i386 0:5.1.6-27.el5_5.3 php-mysql.i386 0:5.1.6-27.el5_5.3
Dependency Installed:
httpd.i386 0:2.2.3-53.el5.centos.3 mysql.i386 0:5.0.77-4.el5_6.6
php-cli.i386 0:5.1.6-27.el5_5.3 php-common.i386 0:5.1.6-27.el5_5.3
php-pdo.i386 0:5.1.6-27.el5_5.3
Complete!
--2012-01-08 21:53:54--
Resolving download.lxcenter.org... 66.197.145.24
Connecting to download.lxcenter.org|66.197.145.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49400 (48K) [application/zip]
Saving to: `kloxo-install.zip'
100%[================================================>] 49,400 25.8K/s in 1.9s
2012-01-08 21:53:57 (25.8 KB/s) - `kloxo-install.zip' saved [49400/49400]
Kloxo is using AGPL-V3.0 License, do you agree with the terms? [y/N]: y
Installing Kloxo = YES
InstallApp: PHP Applications like PHPBB, WordPress, Joomla etc
When you choose Yes, be aware of downloading about 350Mb of data!
Do you want to install the InstallAPP sotfware? [y/N]: n
Installing InstallApp = NO
You can install it later with /script/installapp-update
Adding System users and groups (nouser, nogroup and lxlabs, lxlabs)
Installing LxCenter yum repository for updates
Removing packages sendmail sendmail-cf sendmail-doc sendmail-devel exim vsftpd postfix vpopmail qmail lxphp lxzend pure-ftpd imap...
Installing packages php-mbstring php-mysql which gcc-c++ php-imap php-pear php-devel lxlighttpd httpd mod_ssl zip unzip lxphp lxzend mysql mysql-server curl autoconf automake libtool bogofilter gcc cpp openssl pure-ftpd yum-protectbase...
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
YUM Gave Error... Trying Again...
Try again? [y/N]: y
Installing packages php-mbstring php-mysql which gcc-c++ php-imap php-pear php-devel lxlighttpd httpd mod_ssl zip unzip lxphp lxzend mysql mysql-server curl autoconf automake libtool bogofilter gcc cpp openssl pure-ftpd yum-protectbase...
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
YUM Gave Error... Trying Again...
Try again? [y/N]: n
- EXIT: Fix the problem and install Kloxo again.
[root@localhost opt]#
[root@localhost opt]# cd kloxo/
[root@localhost kloxo]# yum check-update
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
[root@localhost kloxo]# yum -y check-update
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
[root@localhost kloxo]# yum update
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
[root@localhost kloxo]# yum -y install tcpdump
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
[root@localhost kloxo]# ping
PING (119.75.217.56) 56(84) bytes of data.
64 bytes from 119.75.217.56: icmp_seq=1 ttl=128 time=30.1 ms
64 bytes from 119.75.217.56: icmp_seq=2 ttl=128 time=30.2 ms
64 bytes from 119.75.217.56: icmp_seq=3 ttl=128 time=28.4 ms
64 bytes from 119.75.217.56: icmp_seq=4 ttl=128 time=28.7 ms
^C64 bytes from 119.75.217.56: icmp_seq=5 ttl=128 time=31.3 ms
--- ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4817ms
rtt min/avg/max/mdev = 28.489/29.805/31.375/1.081 ms
[root@localhost kloxo]# rpm -qa |grep vsftpd
[root@localhost kloxo]# yum -y install vsftpd
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: lxcenter-updates. Please verify its path and try again
[root@localhost kloxo]#