Hi aji,
I see in your log this:
2018-11-09T06:38:17.243476Z 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2018-11-09T06:38:17.243536Z 0 [Note] InnoDB: Check that you do not already have 
another mysqld process using the same InnoDB data or log files.
2018-11-09T06:38:17.243578Z 0 [Note] InnoDB: Unable to open the first data file
2018-11-09T06:38:17.243617Z 0 [ERROR] InnoDB: Operating system error number 11 
in a file operation.
2018-11-09T06:38:17.243651Z 0 [ERROR] InnoDB: Error number 11 means 'Resource 
temporarily unavailable'
2018-11-09T06:38:17.243679Z 0 [Note] InnoDB: Some operating system error 
numbers are described at 
http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html
2018-11-09T06:38:17.243705Z 0 [ERROR] InnoDB: Cannot open datafile './ibdata1'
2018-11-09T06:38:17.243754Z 0 [ERROR] InnoDB: Could not open or create the 
system tablespace. If you tried to add new data files to the system tablespace, 
and it failed here, you should now edit innodb_data_file_path in my.cnf back to 
what it was, and remove the new ibdata files InnoDB created in this failed 
attempt. InnoDB only wrote those files full of zeros, but did not yet use them 
in any way. But be careful: do not remove old data files which contain your 
precious data!
2018-11-09T06:38:17.243781Z 0 [ERROR] InnoDB: Plugin initialization aborted 
with error Cannot open a file
2018-11-09T06:38:17.845925Z 0 [ERROR] Plugin 'InnoDB' init function returned 
error.
2018-11-09T06:38:17.845993Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE 
ENGINE failed.
2018-11-09T06:38:17.846020Z 0 [ERROR] Failed to initialize builtin plugins.


That seems like either a (very) unclean stop of a former service, but more 
likely a second mysql already running (or mariab or others using similar file 
layouts).

I can't really action on that as the log is not pointing to an actual
bug in Ubuntu, you'd have to check your local setup for the issue that I
outlined above to get it right.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802456

Title:
  package mysql-server-5.7 5.7.24-0ubuntu0.18.04.1 failed to
  install/upgrade: installed mysql-server-5.7 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1802456/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to