┌───────────────────────Configuring mysql-server-5.5─────────────────────────┐ │ Unable to set password for the MySQL "root" user │ │ │ │ An error occurred while setting the password for the MySQL │ │ administrative user. This may have happened because the account already │ │ has a password, or because of a communication problem with the MySQL │ │ server. │ │ │ │ You should check the account's password after the package installation. │ │ │ │ Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for │ │ more information. [....] Starting MySQL database server: mysqld [FAIL. . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libmpc2:amd64 (0.9-4) ... Setting up cpp-4.7 (4.7.2-5) ... Setting up cpp (4:4.7.2-1) ... Setting up gcc-4.7 (4.7.2-5) ... Setting up gcc (4:4.7.2-1) ... Setting up libc-dev-bin (2.13-38) ... Setting up linux-libc-dev:amd64 (3.2.51-1) ... Setting up libc6-dev:amd64 (2.13-38) ... Setting up libbz2-dev:amd64 (1.0.6-4) ... Setting up libmysql++3 (3.1.0-2+b1) ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up libmysqlclient-dev (5.5.31+dfsg-0+wheezy1) ... Setting up libmysql++-dev (3.1.0-2+b1) ... Setting up libtinfo-dev:amd64 (5.9-10) ... Setting up libreadline6-dev:amd64 (6.2+dfsg-0.1) ... Setting up libssl-dev (1.0.1e-2) ... Setting up libssl-doc (1.0.1e-2) ... Setting up manpages-dev (3.44-1) ... Setting up mysql-client (5.5.31+dfsg-0+wheezy1) ... dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.5 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)
А самое главное вчера на другом VDS с той же системой и в том же ДЦ все работало.
~# mysql -udebian-sys-maint -p3v56Dxms9vCMKGDr ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Добавлено (08.01.2014, 02:12) --------------------------------------------- И из-за чего это такое произошло, если вчера все было нормально?
Dinoza, Ну вот смотри мой порядок действий.Я на чистую ОС ставлю стандарт пакеты и update. Потом пытаюсь установить и все равно одно и тоже ,за то если ставлю Debian 6 там все норм, но я заметил на 6 ставиться 5.0.1 версия мускула ,а на 7 ставиться 5.5.3
┌──────────────────────Configuring mysql-server-5.5─────────────────────────┐ │ While not mandatory, it is highly recommended that you set a password │ │ for the MySQL administrative "root" user. │ │ │ │ If this field is left blank, the password will not be changed. │ │ │ │ New password for the MySQL "root" user: │ │ ┌───────────────────────────────────────────────────────────────────────┐ │ │ │ │ │ ├─└───────────────────────────────────────────────────────────────────────┘─┤ │ < OK > │ └───────────────────────────────────────────────────────────────────────────┘
┌───────────────────────Configuring mysql-server-5.5─────────────────────────┐ │ Unable to set password for the MySQL "root" user │ │ │ │ An error occurred while setting the password for the MySQL │ │ administrative user. This may have happened because the account already │ │ has a password, or because of a communication problem with the MySQL │ │ server. │ │ │ │ You should check the account's password after the package installation. │ │ │ │ Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for │ │ more information. │ │ │ │ │ ├────────────────────────────────────────────────────────────────────────────┤ │ < OK > │ └────────────────────────────────────────────────────────────────────────────┘
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libbz2-dev:amd64 (1.0.6-4) ... Setting up libhtml-template-perl (2.91-1) ... Setting up libmysql++3 (3.1.0-2+b1) ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up libmysqlclient-dev (5.5.33+dfsg-0+wheezy1) ... Setting up libmysql++-dev (3.1.0-2+b1) ... Setting up libtinfo-dev:amd64 (5.9-10) ... Setting up libreadline6-dev:amd64 (6.2+dfsg-0.1) ... Setting up libssl-dev (1.0.1e-2+deb7u3) ... Setting up libssl-doc (1.0.1e-2+deb7u3) ... Setting up mysql-client (5.5.33+dfsg-0+wheezy1) ... dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.5 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)
┌──────────────────────Configuring mysql-server-5.5─────────────────────────┐ │ While not mandatory, it is highly recommended that you set a password │ │ for the MySQL administrative "root" user. │ │ │ │ If this field is left blank, the password will not be changed. │ │ │ │ New password for the MySQL "root" user: │ │ ┌───────────────────────────────────────────────────────────────────────┐ │ │ │ │ │ ├─└───────────────────────────────────────────────────────────────────────┘─┤ │ < OK > │ └───────────────────────────────────────────────────────────────────────────┘
┌───────────────────────Configuring mysql-server-5.5─────────────────────────┐ │ Unable to set password for the MySQL "root" user │ │ │ │ An error occurred while setting the password for the MySQL │ │ administrative user. This may have happened because the account already │ │ has a password, or because of a communication problem with the MySQL │ │ server. │ │ │ │ You should check the account's password after the package installation. │ │ │ │ Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for │ │ more information. │ │ │ │ │ ├────────────────────────────────────────────────────────────────────────────┤ │ < OK > │ └────────────────────────────────────────────────────────────────────────────┘
┌──────────────────────Configuring mysql-server-5.5─────────────────────────┐ │ While not mandatory, it is highly recommended that you set a password │ │ for the MySQL administrative "root" user. │ │ │ │ If this field is left blank, the password will not be changed. │ │ │ │ New password for the MySQL "root" user: │ │ ┌───────────────────────────────────────────────────────────────────────┐ │ │ │ │ │ ├─└───────────────────────────────────────────────────────────────────────┘─┤ │ < OK > │ └───────────────────────────────────────────────────────────────────────────┘
┌────────────────────Configuring mysql-server-5.5───────────────────────┐ │ Password input error │ │ │ │ The two passwords you entered were not the same. Please try again. │ │ │ │ │ ├───────────────────────────────────────────────────────────────────────┤ │ < OK > │ └───────────────────────────────────────────────────────────────────────┘
┌──────────────────────Configuring mysql-server-5.5─────────────────────────┐ │ While not mandatory, it is highly recommended that you set a password │ │ for the MySQL administrative "root" user. │ │ │ │ If this field is left blank, the password will not be changed. │ │ │ │ New password for the MySQL "root" user: │ │ ┌───────────────────────────────────────────────────────────────────────┐ │ │ │ │ │ ├─└───────────────────────────────────────────────────────────────────────┘─┤ │ < OK > │ └───────────────────────────────────────────────────────────────────────────┘
┌───────────────────────Configuring mysql-server-5.5─────────────────────────┐ │ Unable to set password for the MySQL "root" user │ │ │ │ An error occurred while setting the password for the MySQL │ │ administrative user. This may have happened because the account already │ │ has a password, or because of a communication problem with the MySQL │ │ server. │ │ │ │ You should check the account's password after the package installation. │ │ │ │ Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for │ │ more information. │ │ │ │ │ ├────────────────────────────────────────────────────────────────────────────┤ │ < OK > │ └────────────────────────────────────────────────────────────────────────────┘
[....] Starting MySQL database server: mysqld [FAIL. . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error exit status 1 Setting up libhtml-template-perl (2.91-1) ... dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.5; however: Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.5 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)