[debian-mysql] Bug#853137: 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 12:21:03 UTC 2017


> >> > > InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
> >> >
> >> > Did you?
> >> >
> >> > What does 'ps fax | grep mysql' yield?
> 
> >     # ps fax | grep maria
> >      5550 ?        Sl    17:27  \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --user=mysql --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
> >
> > But that's not that much more information anyway.
> 
> What does 'ps fax | grep mysql' yield? The process name is not 'maria'.
now, 2 hours after I killed the old process and fixed the installation, the 
output is

    # ps fax | grep mysql
    22121 pts/15   S+     0:00  |           \_ grep mysql
    10755 ?        Ssl    0:08 /usr/sbin/mysqld


The point is, that the _still running_ process wasn't seen during the 
upgrade - "systemd" or whatever else should be caring about that seems to 
have indicated that the service was stopped, while it wasn't.



More information about the pkg-mysql-maint mailing list