• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error on installing/upgrading Plesk 12 on CentOS 6.7

Erwin VdB

New Pleskian
Trying to install on CentOS and am getting errors:

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.


Tried everything I could google, but to no avail.
What am I doing wrong?

Thank you
Erwin


./plesk-installer
Welcome to the Plesk Installation and Upgrade Wizard!
===============================================================================

This wizard will guide you through the installation or upgrade process. Before
installing or upgrading Plesk products, be sure to back up your data.

To start the installation or upgrade, press N and then press Enter.
To quit the installer, press Q and then press Enter.

------ IMPORTANT ------

* Before installing or upgrading Plesk, be sure to back up your data.

* New installation of product(s) should be performed on clean servers only.
Only the operating system with the networking option should be
installed for new installations.
Parallels IP Holdings GmbH will not be held liable for damages resulting from installation
of products on a server with anything other than a fresh installation of the
operating system for which the product installation was intended.

By using this Wizard you agree to the terms and conditions described at
http://www.plesk.com/legal/terms/ and those of the Plesk End User
License Agreement.

N) Next page; Q) Cancel installing
Select an action [N]: n
Select product software source
===============================================================================

You can install products by using any of the following sources:

* Local media
* Official Plesk server
* Other network site


Current settings:
Install products from Other network site
Install required system packages from Other network site
Store downloaded files in: /root/parallels

N) Next page; P) Go back; Q) Cancel installing
S) Change source; T) Change target directory;
Select an action and press ENTER [N]: n
HTTP Proxy Setup
===============================================================================

If you are behind a firewall and use an HTTP proxy, you should specify the proxy server below.
If your proxy requires authentication, select "Use authentication"
and specify the username and password

Current settings:
Do not use proxy.

N) Next page; P) Go back; Q) Cancel installing;
S) Select proxy server; A) Use authentication;
Select the required action [N]: n
Checking for installed packages...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..22%..34%..40%..50%..60%..76%..80%..91%..100% was finished.
File downloading ppsmbe.inf3: 39%..100% was finished.
File downloading sitebuilder.inf3: 49%..100% was finished.
File downloading sso.inf3: 65%..100% was finished.
File downloading setemplates.inf3: 21%..100% was finished.
File downloading pp-sitebuilder.inf3: 10%..28%..30%..40%..53%..62%..72%..84%..90%..100% was finished.
File downloading billing.inf3: 12%..30%..40%..57%..60%..70%..88%..92%..100% was finished.
File downloading mysql.inf3: 85%..100% was finished.
File downloading apache.inf3: 100% was finished.
File downloading nginx.inf3: 26%..53%..100% was finished.
File downloading php70.inf3: 100% was finished.
File downloading php56.inf3: 100% was finished.
File downloading php55.inf3: 100% was finished.
File downloading php54.inf3: 75%..100% was finished.
File downloading php53.inf3: 75%..100% was finished.
File downloading php52.inf3: 100% was finished.
File downloading pmm.inf3: 100% was finished.
Select the products to install and their versions
===============================================================================

The following product versions are available:

1. [ ] Plesk

N) Go to the next page; P) Go to the previous page; Q) Cancel installing
To select a version, type the respective number;
Select an action [N]: 1
Select the products to install and their versions
===============================================================================

The following product versions are available:

1. [*] Plesk
2. (*) Plesk 12.5.30 (Stable)

N) Go to the next page; P) Go to the previous page; Q) Cancel installing
To select a version, type the respective number;
Select an action [N]: n
File downloading PSA_12.5.30/plesk-12.5.30-cos6-x86_64.inf3: 17%..31%..43%..52%..69%..76%..83%..93%..100% was finished.
Downloading extensions catalog feed...
File downloading PSA_12.5.30/plesk-patches-12.5.30-cos6-x86_64.inf3: 13%..26%..30%..40%..52%..66%..70%..82%..90%..100% was finished.
File downloading SITEBUILDER_12.5.29/sitebuilder-12.5.29-rhall-all.inf3: 57%..100% was finished.
File downloading BILLING_12.5.29/billing-12.5.29-rhall-all.inf3: 100% was finished.
File downloading NGINX_1.9.4/nginx-1.9.4-cos6-x86_64.inf3: 100% was finished.
File downloading PHP_7.0.4/php70-7.0.4-cos6-x86_64.inf3: 72%..100% was finished.
File downloading PHP_5.6.19/php56-5.6.19-cos6-x86_64.inf3: 14%..100% was finished.
File downloading PHP_5.5.33/php55-5.5.33-cos6-x86_64.inf3: 63%..100% was finished.
File downloading PHP_5.4.45/php54-5.4.45-cos6-x86_64.inf3: 63%..100% was finished.
File downloading PHP_5.3.29/php53-5.3.29-cos6-x86_64.inf3: 80%..100% was finished.
File downloading PHP_5.2.17/php52-5.2.17-cos6-x86_64.inf3: 100% was finished.
File downloading PMM_0.1.10/pmm-0.1.10-cos6-x86_64.inf3: 100% was finished.
gpg-pubkey-5072e1f5-5301d466 gpg(MySQL Package signing key (www.mysql.com) <[email protected]>)
gpg-pubkey-cf4c4ff9-4d5efb53 gpg(Andy Thompson <[email protected]>)
gpg-pubkey-4520afa9-50ab914c gpg(Atomicorp (Atomicorp Official Signing Key) <[email protected]>)
gpg-pubkey-c105b9de-4e0fd3a3 gpg(CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]>)
gpg-pubkey-5ebd2744-418ffac9 gpg(Atomic Rocket Turtle <[email protected]>)
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
Loaded plugins: presto


Detecting installed product components.
Select the installation type for Plesk
===============================================================================

Installation types for the product:

1. (*) Typical
Install typically used components. Recommended for general use.

2. ( ) Without DNS server
Install typically used components without DNS server (BIND).

3. ( ) Full
Install all available components.

4. ( ) Custom
Custom components selection. Recommended only for experienced users.


N) Continue installation with the selected type; P) Go the previous page; Q) Cancel installing;
L) View or change components marked for installation;
To select an installation type or choose another product, type the respective number;
Select an action [N]: n
Gathering information about the installed license key...
Loaded plugins: presto
No package matched to remove: psa-courier-imap
Attempt to remove 'psa-courier-imap' to resolve conflict has failed
No package matched to remove: plesk-dovecot-core
Attempt to remove 'plesk-dovecot-core' to resolve conflict has failed
No package matched to remove: plesk-dovecot-imap-driver
Attempt to remove 'plesk-dovecot-imap-driver' to resolve conflict has failed
Attempt to remove 'plesk-courier-imap-driver' to resolve conflict has succeeded
No package matched to remove: psa-courier-imap
Attempt to remove 'psa-courier-imap' to resolve conflict has failed
No package matched to remove: plesk-dovecot
Attempt to remove 'plesk-dovecot' to resolve conflict has failed
Attempt to remove 'plesk-courier-imap-driver' to resolve conflict has succeeded
No package matched to remove: psa-courier-imap
Attempt to remove 'psa-courier-imap' to resolve conflict has failed
No package matched to remove: plesk-dovecot-pigeonhole
Attempt to remove 'plesk-dovecot-pigeonhole' to resolve conflict has failed
Attempt to remove 'php56w-common' to resolve conflict has succeeded
No package matched to remove: plesk-dovecot
Attempt to remove 'plesk-dovecot' to resolve conflict has failed
No package matched to remove: psa-courier-imap
Attempt to remove 'psa-courier-imap' to resolve conflict has failed
No package matched to remove: plesk-dovecot
Attempt to remove 'plesk-dovecot' to resolve conflict has failed
Attempt to remove 'psa-courier-authlib' to resolve conflict has succeeded
Package php5-ioncube-loader-5.0.12-centos6.15081418.x86_64 is obsoleted by 1:php-ioncube-loader-4.7.1-4.el6.art.x86_64 which is already installed
Package php5-ioncube-loader-5.0.12-centos6.15081418.x86_64 is obsoleted by 1:php-ioncube-loader-4.7.1-4.el6.art.x86_64 which is already installed
Package php5-ioncube-loader-5.0.12-centos6.15081418.x86_64 is obsoleted by 1:php-ioncube-loader-4.7.1-4.el6.art.x86_64 which is already installed
Package php5-ioncube-loader-5.0.12-centos6.15081418.x86_64 is obsoleted by 1:php-ioncube-loader-4.7.1-4.el6.art.x86_64 which is already installed
Package php5-ioncube-loader-5.0.12-centos6.15081418.x86_64 is obsoleted by 1:php-ioncube-loader-4.7.1-4.el6.art.x86_64 which is already installed
Exception: Failed to solve dependencies:
psa-php5-configurator-1.7.0-cos6.build1205150820.19.x86_64 requires php-ioncube-loader >= 4.6.0

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
 
I would suggest you disable all third-party yum repositories like Atomic and others and run installer again.
 
Hi Igor

I tried what you suggested, with (limited) success. I am now facing other problems, I hope you can point me in the right direction

Currently these are the enabled repos on the server:

# yum repolist enabled
Loaded plugins: presto, replace
repo id repo name status
base CentOS-6 - Base 6,575
extras CentOS-6 - Extras 52
mysql-connectors-community MySQL Connectors Community 21
mysql-tools-community MySQL Tools Community 35
mysql57-community MySQL 5.7 Community Server 66
plesk-php-5.6 PHP v 5.6 for Plesk - x86_64 32
updates CentOS-6 - Updates 1,472
repolist: 8,253



The errors I am getting now are:

# less /var/log/plesk/install/plesk_12.5.30_installation.log

Checking for the group 'psaserv'...
Group 'psaserv' already exists

Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaadm'... already there
Checking for the group 'psacln'...
Group 'psacln' already exists

Checking that /usr/local/psa/bin/chrootsh registered as login shell...
/usr/local/psa/bin/chrootsh already registered as a login shell


===> Performing safe prep-install database actions

Trying to start service mysqld... mysqld (pid 31392) is running...
done
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
failed

ERROR while trying to establish test connection
Check the error reason(see log file: /var/log/plesk/install/plesk_12.5.30_installation.log), fix and try again


**** Product prep-install for BASE failed.

***** problem report *****
ERROR while trying to establish test connection


Check the error reason(see log file: /var/log/plesk/install/plesk_12.5.30_installation.log), fix and try again
STOP Bootstrapper 12.5.30 prep-install for BASE AT Wed Mar 30 06:29:38 EDT 2016
START Bootstrapper 12.5.30 prep-install for BASE AT Wed Mar 30 09:10:08 EDT 2016

**** Product prep-install started.

===> Checking for previous installation ... not found.
Create user 'psaadm' and group 'psaadm'
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Create group swkey-data
Checking for the group 'swkey-data'...
Group 'swkey-data' already exists

Checking for the group 'swkey-data'...
Trying to add supplementary group 'swkey-data' for user 'psaadm'... already there
Create Mail accounts
Checking for the group 'popuser'...
Group 'popuser' already exists

Checking for the user 'popuser'...
User 'popuser' already exists

Checking for the user 'mhandlers-user'...
User 'mhandlers-user' already exists

Trying to got legacy variables... done
config updated
===> Updated /etc/psa/psa.conf
Trying to save legacy variables... done
Trying to resolve hostname 'vps74799.vps.ovh.ca' and validate its IP address... done


===> Checking for the necessary system accounts
Checking for the system groups and users necessary for admin server...
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Checking for the group 'psaserv'...
Group 'psaserv' already exists

Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaadm'... already there
Checking for the group 'psacln'...
Group 'psacln' already exists

Checking that /usr/local/psa/bin/chrootsh registered as login shell...
/usr/local/psa/bin/chrootsh already registered as a login shell


===> Performing safe prep-install database actions

Trying to start service mysqld... mysqld (pid 3751) is running...
done
Trying to establish test connection... connected
done
===> Installing psa database
Trying to find psa database... not found
Trying to install psa database... ERROR 1067 (42000) at line 190: Invalid default value for 'received'
InnoDB
=====================================
2016-03-30 09:10:19 0x7f13ac36d700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 2 seconds
-----------------
............

0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
Process ID=3751, Main thread ID=139722244478720, state: sleeping
Number of rows inserted 127, updated 0, deleted 0, read 8
1.50 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================


ERROR while trying to Cannot initialize psa database from /usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/db/psa_db.sql
Check the error reason(see log file: /var/log/plesk/install/plesk_12.5.30_installation.log), fix and try again


**** Product prep-install for BASE failed.

***** problem report *****
ERROR while trying to Cannot initialize psa database from /usr/local/psa/bootstrapper/pp12.5.30-bootstrapper/db/psa_db.sql
Check the error reason(see log file: /var/log/plesk/install/plesk_12.5.30_installation.log), fix and try again
STOP Bootstrapper 12.5.30 prep-install for BASE AT Wed Mar 30 09:10:23 EDT 2016
 
Hi Erwin VdB,

please be informed that the Plesk Knowledge-Base is stuffed with an enormous amount of solutions and work-arounds in case of any issues/errors/problems and failures. In your case,
Code:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
you could have found the KB - article 116916:

 
Thank you for the feedback!
I got things to work, and am able to access the DB now.
I did notice however that - being logged in as root - doing a # mysql - v
gave me an error: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

So I had to connect first as admin, and grant some privileges to the root user in the DB as well:
Grants for root@localhost: GRANT USAGE ON *.* TO 'root'@'localhost' WITH GRANT OPTION

AGain thank you for the help, much appreciated.

Best regards
Erwin
 
Back
Top