centos6的64位在安装virtualmin,webmin时出现错误的解决办法

如果centos6.0或centos6.3的64位在安装virtualmin,webmin时出现下方的错误,

Error: Package: 1:httpd-manual-2.2.15-15.el6.vm.noarch (@virtualmin)
           Requires: httpd = 1:2.2.15-15.el6.vm
           Removing: 1:httpd-2.2.15-15.el6.vm.x86_64 (@virtualmin)
               httpd = 1:2.2.15-15.el6.vm
           Updated By: 1:httpd-2.2.15-15.el6.vm.1.x86_64 (virtualmin)
               httpd = 1:2.2.15-15.el6.vm.1
           Available: httpd-2.2.15-15.el6.i386 (virtualmin)
               httpd = 2.2.15-15.el6
           Available: httpd-2.2.15-15.el6.centos.x86_64 (base)
               httpd = 2.2.15-15.el6.centos
           Available: httpd-2.2.15-15.el6.centos.1.x86_64 (updates)
               httpd = 2.2.15-15.el6.centos.1
           Available: 1:httpd-2.2.15-5.el6.vm.x86_64 (virtualmin)
               httpd = 1:2.2.15-5.el6.vm
           Available: 1:httpd-2.2.15-9.el6.2.vm.x86_64 (virtualmin)
               httpd = 1:2.2.15-9.el6.2.vm
           Available: 1:httpd-2.2.15-15.el6.x86_64 (virtualmin)
               httpd = 1:2.2.15-15.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
.. install failed!

直接运行
rpm -e httpd-manual
后,再安装
virtualmin,webmin即可!

Webmin\Virtualmin中增加网站出现Table ‘mysql.host’ doesn’t exist的错误

Webmin\Virtualmin中增加网站出现Table ‘mysql.host’ doesn’t exist的错误

第一种解决办法是:进入Mysql的bin目录运行mysql -u root -p mysql
输入密码后运行
mysql> SOURCE ../share/mysql_fix_privilege_tables.sql
这种办法应该是Repair数据库吧?
第二种解决办法是:
CREATE TABLE `servers` (
`Server_name` char(64) NOT NULL,
`Host` char(64) NOT NULL,
`Db` char(64) NOT NULL,
`Username` char(64) NOT NULL,
`Password` char(64) NOT NULL,
`Port` int(4) DEFAULT NULL,
`Socket` char(64) DEFAULT NULL,
`Wrapper` char(64) NOT NULL,
`Owner` char(64) NOT NULL,
PRIMARY KEY (`Server_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8

Webmin/Virtualmin的apache出现MaxClients和ServerLimit错误的解决

 /etc/httpd/conf.d/swtune.conf里面有
ServerLimit       10  
MaxClients        10  
太小了,解决办法:
mv /etc/httpd/conf.d/swtune.conf /etc/httpd/conf.d/swtune.con
然后重启apache,
service httpd resart
搞定!
经过分析,只有Webmin/Virtualmin的平台才有这个文件,其它如whm/cpanel的平台,没有这个问题.