Skip to content

mySQL can't start, then ee can't be uninstalled #321

@ghost

Description

Installed the current ee on top of newly installed and updated U 14.04 Server x64.
Then mySQL couldn't start because of the missing mysql.sock.
After various tries I gave up and decided to uninstall, which also didn't work.

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

# ee version
EasyEngine (ee) version: 2.1.0

# ee stack purge
....
Setting up libterm-readkey-perl (2.31-1) ...
Setting up mysql-client-core-5.5 (5.5.38-0ubuntu0.14.04.1) ...
Setting up mysql-client-5.5 (5.5.38-0ubuntu0.14.04.1) ...
Setting up mysql-server-core-5.5 (5.5.38-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.5 (5.5.38-0ubuntu0.14.04.1) ...
141009 14:11:28 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.5 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up gdb (7.7-0ubuntu3.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 package mysql-server (--configure):
 dependency problems - leaving unconfigured
Setting up percona-toolkit (2.2.7-1~dfsg1) ...
Setting up libc6-dbg:amd64 (2.19-0ubuntu6.3) ...
Setting up mysqltuner (1.2.0-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Errors were encountered while processing:
 mysql-server-5.5
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
[ Thu Oct  9 14:11:43 PDT 2014 ] Unable to install MySQL, exit status =  100

# tail -f /var/log/syslog
Oct  9 14:11:38 ubuntu kernel: [ 1453.992362] init: mysql main process (22147) terminated with status 1
Oct  9 14:11:38 ubuntu kernel: [ 1453.992374] init: mysql main process ended, respawning
Oct  9 14:11:38 ubuntu kernel: [ 1454.037057] init: mysql post-start process (22148) terminated with status 1
Oct  9 14:11:38 ubuntu kernel: [ 1454.045663] type=1400 audit(1412889098.649:61): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/mysqld" pid=22194 comm="apparmor_parser"
Oct  9 14:11:40 ubuntu kernel: [ 1455.974616] init: mysql main process (22206) terminated with status 1
Oct  9 14:11:40 ubuntu kernel: [ 1455.974639] init: mysql main process ended, respawning
Oct  9 14:11:40 ubuntu kernel: [ 1456.088756] init: mysql post-start process (22208) terminated with status 1
Oct  9 14:11:40 ubuntu kernel: [ 1456.100089] type=1400 audit(1412889100.701:62): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/mysqld" pid=22253 comm="apparmor_parser"
Oct  9 14:11:42 ubuntu kernel: [ 1458.048719] init: mysql main process (22265) terminated with status 1
Oct  9 14:11:42 ubuntu kernel: [ 1458.048730] init: mysql respawning too fast, stopped

Now installation doesn't work either

# ee stack install
Adding rtCamp NGINX launchpad repository, please wait...
Adding Ondrej PHP5 launchpad repository, please wait...
Executing apt-get update, please wait...
Installing nginx-custom, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
nginx-custom is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.5 (5.5.38-0ubuntu0.14.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.5 (--configure):
 subprocess installed post-installation script returned error exit status 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 package 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)
[ Thu Oct  9 14:16:08 PDT 2014 ] Unable to install nginx-custom, exit status =  100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions