I am trying to restore a xtra backup into new machine using xtrabackup --copy-back option. After successfully restoring the backup when i initiate the instance, it throws the following exceptions. Apparently it looks that its permissions issue, but its actually not permission issue. How can i resolve this issue ?
[ERROR] InnoDB: ./ibdata1 can’t be opened in read-write mode
[ERROR] InnoDB: The system tablespace must be writable!
[ERROR] Plugin ‘InnoDB’ init function returned error.
[ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported storage engine: InnoDB
[ERROR] Aborting
If MySQL starts then you’ll need to either keep the security feature disabled, or edit the configuration to permit reads from /data-dir-path you can follow the instructions from this post https://blogs.oracle.com/mysql/apparmor-and-mysql-v2