[debian-mysql] Bug#853137: mariadb-server-10.1: Installation hangs, "InnoDB: Unable to lock ./ibdata1, error: 11"

Philipp Marek philipp.marek at linbit.com
Mon Jan 30 07:25:54 UTC 2017


Package: mariadb-server-10.1
Version: 10.1.21-5
Severity: normal


"apt-get dist-upgrade" hangs quite some time with

    [pid 32196] 08:21:50.246326 fcntl(4, F_SETLK, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EAGAIN (Resource temporarily unavailable)
    [pid 32196] 08:21:50.246517 write(2, "2017-01-30  8:21:50 140351672177216 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 11\n", 88) = 88
    [pid 32196] 08:21:50.246710 write(2, "2017-01-30  8:21:50 140351672177216 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.\n", 150) = 150

and then continues with

    | Job for mariadb.service failed because a timeout was exceeded.        
    | See "systemctl status mariadb.service" and "journalctl -xe" for details.
    | invoke-rc.d: initscript mysql, action "start" failed.               
    | ● mariadb.service - MariaDB database server                           
    |    Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
    |    Active: failed (Result: timeout) since Mon 2017-01-30 08:24:11 CET; 13ms ago



-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mariadb-server-10.1 depends on:
ii  adduser                   3.115
ii  debconf [debconf-2.0]     1.5.59
ii  galera-3                  25.3.19-2
ii  gawk                      1:4.1.3+dfsg-0.1+b1
ii  init-system-helpers       1.47
ii  iproute2                  4.9.0-1
ii  libaio1                   0.3.110-3
ii  libc6                     2.24-8
ii  libdbi-perl               1.636-1+b1
ii  libpam0g                  1.1.8-3.5
ii  libstdc++6                6.3.0-5
ii  lsb-base                  9.20161125
ii  lsof                      4.89+dfsg-0.1
ii  mariadb-client-10.1       10.1.21-5
ii  mariadb-common            10.1.21-5
ii  mariadb-server-core-10.1  10.1.21-5
ii  passwd                    1:4.4-1
ii  perl                      5.24.1-1
ii  psmisc                    22.21-2.1+b1
ii  rsync                     3.1.2-1
ii  socat                     2.0.0~beta4-1.1
ii  zlib1g                    1:1.2.8.dfsg-4

Versions of packages mariadb-server-10.1 recommends:
ii  libhtml-template-perl  2.95-2

Versions of packages mariadb-server-10.1 suggests:
ii  bsd-mailx [mailx]  8.1.2-0.20160123cvs-3
ii  mailutils [mailx]  1:3.1.1-1
pn  mariadb-test       <none>
ii  netcat-openbsd     1.130-1
pn  tinyca             <none>

-- debconf information:
  mariadb-server-10.1/old_data_directory_saved:
  mariadb-server-10.1/postrm_remove_databases: false
  mariadb-server-10.1/nis_warning:



More information about the pkg-mysql-maint mailing list