Hi,
I would like to update my server from 1.3.8 to 1.3.14, but the following error comes after I run apt-get dist-upgrade
Code
- Unpacking php5 (5.6.29+dfsg-0+deb8u1) over (5.6.27+dfsg-0+deb8u1) ...Processing triggers for man-db (2.7.0.2-5) ...Processing triggers for systemd (215-17+deb8u5) ...Errors were encountered while processing: /var/cache/apt/archives/mysql-community-server_5.7.17-1debian8_amd64.deb[DEBUG] iMSCP::Bootstrapper::lock: Acquire exclusive lock on /tmp/imscp-dpkg-post-invoke.lock[DEBUG] iMSCP::Bootstrapper::boot: Booting backend....[DEBUG] iMSCP::Config::_init: Tying /etc/imscp/imscp.conf file in readonly mode[DEBUG] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_named_override_default_rr.pl listener file[DEBUG] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_named_slave_provisioning.pl listener file[DEBUG] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/10_php_confoptions_override.pl listener file[DEBUG] iMSCP::Bootstrapper::unlock: Releasing exclusive lock on /tmp/imscp-dpkg-post-invoke.lock[FATAL] iMSCP::Bootstrapper::_dbConnect: Could not connect to the SQL server: DBI connect('database=imscp;host=localhost;port=3306','imscp_user',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /var/www/imscp/engine/PerlLib/iMSCP/Database/mysql.pm line 98.E: Sub-process /usr/bin/dpkg returned an error code (1)E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/local/sbin/imscp-dpkg-post-invoke.pl ] ; then /usr/bin/perl /usr/local/sbin/imscp-dpkg-post-invoke.pl -v; fi'E: Sub-process returned an error code
Server: VPS
Dist: Debian 8.6
I tried to run i-mscp installer (1.3.14) with the following error:
Code
- [INFO] Satisfying prerequisites Please wait...[ERROR] autoinstaller::Adapter::DebianAdapter::installPreRequiredPackages: Could not install pre-required packages: Reading package lists...Building dependency tree...Reading state information...binutils is already the newest version.debconf-utils is already the newest version.dialog is already the newest version.libbit-vector-perl is already the newest version.libclass-insideout-perl is already the newest version.liblist-moreutils-perl is already the newest version.libscalar-defer-perl is already the newest version.libsort-versions-perl is already the newest version.libxml-simple-perl is already the newest version.lsb-release is already the newest version.wget is already the newest version.You might want to run 'apt-get -f install' to correct these:The following packages have unmet dependencies: mysql-community-server : Depends: mysql-common (= 5.7.16-1debian8) but 5.7.17-1debian8 is to be installed Depends: mysql-client (= 5.7.16-1debian8)E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
journalctl -xn output:
Code
- -- Logs begin at Sat 2016-12-31 10:53:11 CET, end at Mon 2017-01-02 22:51:39 CET. --
- Jan 02 22:51:37 server1 postfix/smtpd[31270]: sql plugin trying to open db 'imscp' on host '127.0.0.1:3306'
- Jan 02 22:51:37 server1 postfix/smtpd[31270]: warning: unknown[89.248.171.132]: SASL LOGIN authentication failed: authentication failure
- Jan 02 22:51:37 server1 postfix/smtpd[31270]: disconnect from unknown[89.248.171.132]
- Jan 02 22:51:39 server1 mysqld[30526]: Initialization of mysqld failed: 0
- Jan 02 22:51:39 server1 systemd[1]: mysql.service: control process exited, code=exited status=1
- Jan 02 22:51:39 server1 systemd[1]: Failed to start MySQL Community Server.
- -- Subject: Unit mysql.service has failed
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit mysql.service has failed.
- --
- -- The result is failed.
- Jan 02 22:51:39 server1 systemd[1]: Unit mysql.service entered failed state.
- Jan 02 22:51:39 server1 systemd[1]: mysql.service holdoff time over, scheduling restart.
- Jan 02 22:51:39 server1 systemd[1]: Stopping MySQL Community Server...
- -- Subject: Unit mysql.service has begun shutting down
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit mysql.service has begun shutting down.
- Jan 02 22:51:39 server1 systemd[1]: Starting MySQL Community Server...
- -- Subject: Unit mysql.service has begun with start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit mysql.service has begun starting up.
Any idea, what can I do?
It's a live server, so update is important to me...