Hi Sullyvan, from your log: [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. [Note] InnoDB: Retrying to lock the first data file [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 [...] [Note] InnoDB: Unable to open the first data file [ERROR] InnoDB: Operating system error number 11 in a file operation. [ERROR] InnoDB: Error number 11 means 'Resource temporarily unavailable' [Note] InnoDB: Some operating system error numbers are described at http://dev.mysql.com/doc/refman/5.7/en/operating-system-error-codes.html [ERROR] InnoDB: Cannot open datafile './ibdata1' [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! [ERROR] InnoDB: Plugin initialization aborted with error Cannot open a file
Are there any mysql services still running, like sharing with another version running concurrently. It also could be a daemon that aborted in a really bad state. You could start checking if that file is actually open by any process via using "lsof". Most similar cases [1] also seem to point to still running processes that you have to clean up. As I suggested lsof is probably the best start tp get this sorted out. [1]: https://serverfault.com/questions/477448/mysql-keeps-crashing- innodb-unable-to-lock-ibdata1-error-11 ** Changed in: mysql-5.7 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1729595 Title: package mysql-server-5.7 5.7.20-0ubuntu0.17.04.1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1729595/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs