Announcement

Announcement Module
Collapse
No announcement yet.

Install Percona on Ubuntu 12.04 with Plesk

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Install Percona on Ubuntu 12.04 with Plesk

    Hello,

    I have Ubuntu 12.04.4 LTS server with LAMP and Plesk Panel and I'd like to install Percona instead of mysql 5.5.35. Actually, I've tried several times but always it ends up with broken mysql and plesk.

    Can you please check what is going wrong here?

    root@x:~# apt-get install percona-server-server-5.5 percona-server-client-5.5
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    libaio1 libperconaserverclient18 percona-server-common-5.5
    Suggested packages:
    tinyca
    The following packages will be REMOVED:
    libpam-plesk mysql-client-5.5 mysql-server mysql-server-5.5 plesk-base
    plesk-core plesk-l10n plesk-mail-pc-driver pp-sitebuilder
    pp11.0.9-bootstrapper psa psa-awstats-configurator psa-backup-manager
    psa-firewall psa-horde psa-imp psa-ingo psa-kronolith psa-libxml-proxy
    psa-logrotate psa-mail-driver-common psa-mailman-configurator
    psa-migration-agents psa-migration-manager psa-mimp psa-mnemo psa-passwd
    psa-php5-configurator psa-proftpd psa-pylibplesk psa-spamassassin psa-turba
    psa-updates psa-vhost sshterm
    The following NEW packages will be installed:
    libaio1 libperconaserverclient18 percona-server-client-5.5
    percona-server-common-5.5 percona-server-server-5.5
    0 upgraded, 5 newly installed, 35 to remove and 1 not upgraded.
    Need to get 25.9 MB of archives.
    After this operation, 411 MB disk space will be freed.
    Do you want to continue [Y/n]? y
    Get:1 ftp://ftp...../mirror/archive.ubuntu.com/ precise/main libaio1 amd64 0.3.109-2ubuntu1 [6396 B]
    Get:2 http://repo.percona.com/apt/ precise/main percona-server-common-5.5 amd64 1:5.5.36-rel34.2-648.precise [10.6 kB]
    Get:3 http://repo.percona.com/apt/ precise/main libperconaserverclient18 amd64 1:5.5.36-rel34.2-648.precise [781 kB]
    Get:4 http://repo.percona.com/apt/ precise/main percona-server-client-5.5 amd64 1:5.5.36-rel34.2-648.precise [8355 kB]
    Get:5 http://repo.percona.com/apt/ precise/main percona-server-server-5.5 amd64 1:5.5.36-rel34.2-648.precise [16.7 MB]
    Fetched 25.9 MB in 2s (9335 kB/s)
    Preconfiguring packages ...
    (Reading database ... 75278 files and directories currently installed.)
    Removing psa-mnemo ...
    Removing psa-turba ...
    Removing psa-passwd ...
    Removing psa-ingo ...
    Removing psa-mimp ...
    Removing psa-kronolith ...
    Removing psa-imp ...
    Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    System error 2: No such file or directory
    Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    System error 2: No such file or directory
    Unable to change record into database
    dpkg action:

    WARNING!
    Some problems are found during unregister(see log file: /tmp/plesk_11.0.9_installation.log)

    Continue...

    Unable to connect to database:
    Removing psa-horde ...
    Removing psa-migration-agents ...
    Removing psa-migration-manager ...
    Removing sshterm ...
    Removing psa-updates ...
    Removing psa ...
    Removing plesk-l10n ...
    Removing psa-vhost ...
    Removing pp-sitebuilder ...
    dpkg: warning: while removing pp-sitebuilder, directory '/usr/local/sb/tmp' not empty so not removed.
    dpkg: warning: while removing pp-sitebuilder, directory '/usr/local/sb/htdocs/site_resources/modules/imagegallery' not empty so not removed.
    dpkg: warning: while removing pp-sitebuilder, directory '/usr/local/sb/htdocs/js' not empty so not removed.
    dpkg: warning: while removing pp-sitebuilder, directory '/usr/local/sb/resources/sql/mysql' not empty so not removed.
    Removing psa-firewall ...
    Removing any system startup links for /etc/init.d/psa-firewall ...
    /etc/rc0.d/K20psa-firewall
    /etc/rc1.d/K20psa-firewall
    /etc/rc2.d/S20psa-firewall
    /etc/rc3.d/S20psa-firewall
    /etc/rc4.d/S20psa-firewall
    /etc/rc5.d/S20psa-firewall
    /etc/rc6.d/K20psa-firewall
    Removing psa-spamassassin ...
    Delete spamassassin preferences from .qmail files for mailnames
    ls: cannot access /var/qmail/mailnames/*/*: No such file or directory
    Removing 'diversion of /etc/init.d/spamassassin to /usr/share/spamassassin/spamassassin.init.real by psa-spamassassin'
    Removing psa-backup-manager ...
    Removing psa-libxml-proxy ...
    Removing plesk-core ...
    Stopping psa... done
    Removing libpam-plesk ...
    dpkg: warning: while removing libpam-plesk, directory '/opt/psa/pam_plesk_config/PAMConfig' not empty so not removed.
    Removing psa-mailman-configurator ...
    Removing plesk-mail-pc-driver ...
    Removing psa-mail-driver-common ...
    dpkg: warning: while removing psa-mail-driver-common, directory '/etc/psa-spf' not empty so not removed.
    dpkg: warning: while removing psa-mail-driver-common, directory '/var/lib/plesk/mail' not empty so not removed.
    Removing psa-logrotate ...
    Removing psa-php5-configurator ...
    Removing psa-pylibplesk ...
    Removing psa-awstats-configurator ...
    Removing plesk-base ...
    Removing psa-proftpd ...
    Removing pp11.0.9-bootstrapper ...
    Removing mysql-server ...
    Removing mysql-server-5.5 ...
    mysql stop/waiting
    Removing mysql-client-5.5 ...
    Processing triggers for man-db ...
    Selecting previously unselected package libaio1.
    (Reading database ... 37860 files and directories currently installed.)
    Unpacking libaio1 (from .../libaio1_0.3.109-2ubuntu1_amd64.deb) ...
    Selecting previously unselected package percona-server-common-5.5.
    Unpacking percona-server-common-5.5 (from .../percona-server-common-5.5_1%3a5.5.36-rel34.2-648.precise_amd64.deb) ...
    Selecting previously unselected package libperconaserverclient18.
    Unpacking libperconaserverclient18 (from .../libperconaserverclient18_1%3a5.5.36-rel34.2-648.precise_amd64.deb) ...
    Selecting previously unselected package percona-server-client-5.5.
    Unpacking percona-server-client-5.5 (from .../percona-server-client-5.5_1%3a5.5.36-rel34.2-648.precise_amd64.deb) ...
    dpkg: error processing /var/cache/apt/archives/percona-server-client-5.5_1%3a5.5.36-rel34.2-648.precise_amd64.deb (--unpack):
    trying to overwrite '/usr/share/man/man1/mysqlcheck.1.gz', which is also in package mysql-client-core-5.5 5.5.35-0ubuntu0.12.04.2
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Processing triggers for man-db ...
    Errors were encountered while processing:
    /var/cache/apt/archives/percona-server-client-5.5_1%3a5.5.36-rel34.2-648.precise_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@x:~#
    Last edited by priwac; 04-14-2014, 10:27 AM.
Working...
X