Submitted by LeGiangAnh on Thu, 08/13/2015 - 21:09 Pro Licensee
Hi,
I install some server successfully but today I got stuck with a new server: Here is the info:
INFO - Installing dependencies using command: /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel mariadb mariadb-server postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay mlocate perl-LWP-Protocol-https
...in progress, please wait... |Error: php56w-common conflicts with php-common-5.4.16-36.el7_1.x86_64 /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel mariadb mariadb-server postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay mlocate perl-LWP-Protocol-https failed. Error (if any): 0
Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
--> Processing Dependency: libdb-devel for package: 4:perl-devel-5.16.3-285.el7.x86_64
--> Processing Dependency: gdbm-devel for package: 4:perl-devel-5.16.3-285.el7.x86_64
--> Running transaction check
---> Package gdbm-devel.x86_64 0:1.10-8.el7 will be installed
---> Package libdb-devel.x86_64 0:5.3.21-17.el7_0.1 will be installed
---> Package perl-Business-ISBN-Data.noarch 0:20120719.001-2.el7 will be installed
---> Package perl-ExtUtils-ParseXS.noarch 1:3.18-2.el7 will be installed
---> Package systemtap-sdt-devel.x86_64 0:2.6-10.el7_1 will be installed
--> Processing Dependency: pyparsing for package: systemtap-sdt-devel-2.6-10.el7_1.x86_64
--> Running transaction check
---> Package pyparsing.noarch 0:1.5.6-9.el7 will be installed
--> Processing Conflict: php56w-common-5.6.11-1.w7.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
FATAL - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
warning: /etc/yum.repos.d/virtualmin.repo saved as /etc/yum.repos.d/virtualmin.repo.rpmsave
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log
I updated php before install virtualmin, is that a problem?
Status:
Active
Comments
Submitted by paulfromsurrey on Thu, 08/13/2015 - 21:15 Pro Licensee Comment #1
Hello Sir,
I have done few time installed virtualmin on centos 7
I always install centos 7 from dvd
make sure internet is working
run the script to install virtualmin
i think in your case php could be problem
Try fresh install and run the virtualmin installation script in terminal
Submitted by JamieCameron on Thu, 08/13/2015 - 22:35 Comment #2
I'd recommend removing all the
php56w-*
packages first, then re-trying the install.Submitted by andreychek on Thu, 08/13/2015 - 23:40 Comment #3
Howdy -- yeah it looks like some non-standard packages are installed, from a third party repository.
If possible, I'd suggest performing a fresh installation, and not enable any third party repositories.
However, if you disable the third party repositories and then remove the non-standard PHP packages, that may be enough to be able to install Virtualmin.
Submitted by LeGiangAnh on Fri, 08/14/2015 - 00:06 Pro Licensee Comment #4
Hi,
I remove php by using:
sudo yum remove php*
Then I remove all Repositories by deleting all in /etc/yum.repos.d Then I run the install.ssh again, it still shows:
Error: Package: php-imap-5.4.16-3.el7.x86_64 (virtualmin)
Requires: php(api) = 20100412-64 /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel mariadb mariadb-server postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay mlocate perl-LWP-Protocol-https failed. Error (if any): 0
Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
No package php-pear available.
No package php-pgsql available.
No package php-snmp available.
No package php-xmlrpc available.
No package php-mbstring available.
No package mod_python available.
Package 2:mod_ssl-2.4.6-31.el7.centos.vm.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.4.16-3.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-imap-5.4.16-3.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-imap-5.4.16-3.el7.x86_64
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
FATAL - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
warning: /etc/yum.repos.d/virtualmin.repo saved as /etc/yum.repos.d/virtualmin.repo.rpmsave
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log
Submitted by andreychek on Fri, 08/14/2015 - 00:11 Comment #5
Hmm, what is the output of these two commands:
ls /etc/yum.repos.d
rpm -qa | grep php
Submitted by LeGiangAnh on Fri, 08/14/2015 - 00:37 Pro Licensee Comment #6
[root@JPlay /]# ls /etc/yum.repos.d
virtualmin.repo.rpmsave
[root@JPlay /]# rpm -qa | grep php
[root@JPlay /]#
Submitted by andreychek on Fri, 08/14/2015 - 00:50 Comment #7
Ah, it looks like you're missing the standard CentOS repositories. While you do want to disable the third party repositories, you would still need to have the standard CentOS ones.
Is it possible to perform a reinstall?
That would re-configure all that, as well as make sure all the installed packages are from standard CentOS repositories.
Submitted by LeGiangAnh on Fri, 08/14/2015 - 02:01 Pro Licensee Comment #8
Hi,
How to reinstall it? I'm using VM so maybe I have to delete and create new VM?
Submitted by andreychek on Fri, 08/14/2015 - 10:06 Comment #9
Ah, that actually may make it easier, depending on your provider.
Most VM providers have an interface for managing the distro within your VM. They may offer an option to perform a fresh install of your distro.
However, even if they don't offer that, you could always delete and re-create your VM.
Submitted by LeGiangAnh on Fri, 08/14/2015 - 10:17 Pro Licensee Comment #10
Azure VM doesn't support OS reload. So I had to delete and re-create it.
Thanks, Giang Anh