我正在尝试在centos 7中安装whm cpanel。
我运行以下命令来停止防火墙服务
systemctl stop firewalld.service
systemctl disable firewalld.service
之后我下载了最新的bash脚本并运行它
wget https://securedownloads.cpanel.net/latest
sudo bash latest
但是我收到以下错误。
file /usr/bin/my_print_defaults conflicts between attempted installs of MySQL56-server-5.6.33-1.cp1156.x86_64 and cpanel-mysql-5.1.73-1.cp1156.x86_64 [2016-09-25 04:46:50 +0530]
file /usr/bin/mysql_config conflicts between attempted installs of MySQL56-devel-5.6.33-1.cp1156.x86_64 and cpanel-mysql-5.1.73-1.cp1156.x86_64[2016-09-25 04:46:50 +0530]
file /usr/local/cpanel/3rdparty/bin/analog from install of cpanel-analog-6.0-2.cp1136.x86_64 conflicts with file from package anaconda-core-21.48.22.56-5.el7.centos.1.x86_64
[2016-09-25 04:46:50 +0530] see https://go.cpanel.net/rpmcheckfailed for more information
2016-09-25 04:46:50 830 (DEBUG): The installation process detected a failed synchronization. The system will reattempt the synchronization with the updatenow.static file...
2016-09-25 04:46:50 836 (FATAL): The installation process was unable to synchronize cPanel & WHM. Verify that your network can connect to httpupdate.cpanel.net and rerun the installer.
删除/root/installer.lock。
答案 0 :(得分:0)
您的服务器上已安装了Mysql服务,因为您在服务器上安装cPanel时遇到此问题。尝试删除服务器上安装的所有mysql软件包,然后在服务器上安装cPanel。