Bug #111812 | Unable to open '#innodb_redo/#ib_redo31_tmp', no permission | ||
---|---|---|---|
Submitted: | 19 Jul 2023 10:13 | Modified: | 19 Jul 2023 12:47 |
Reporter: | zetang zeng (OCA) | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0.33 | OS: | Linux |
Assigned to: | MySQL Verification Team | CPU Architecture: | ARM |
[19 Jul 2023 10:13]
zetang zeng
[19 Jul 2023 12:33]
MySQL Verification Team
Hi Mr. zeng, Thank you for your bug report. However, the error that you get means that ownership of some of directories of files on one of those three systems have not been set properly for the user under whose ID mysql server is running. Please, try to find out the problem. Let us know whether you succeeded. If you fix that problem and still have troubles, please provide us with all the info so that we may try to repeat the problem.
[19 Jul 2023 12:34]
MySQL Verification Team
Actually, the message that you get already indicates what is the problem. This could be also a problem with two program accessing the same file.
[19 Jul 2023 12:35]
MySQL Verification Team
Hi, Have you noticed that a file with a problem is owned by user `root` ???? That is the wrong ownership.
[19 Jul 2023 12:41]
zetang zeng
I noticed, but no one ever to change the owner of `#ib_redo31_tmp`. Mysql just create it ``` [minibase@aarch64-kylinV10-1 #innodb_redo]$stat \#ib_redo31_tmp 文件:“#ib_redo31_tmp” 大小:62914560 块:122880 IO 块:4096 普通文件 设备:10303h/66307d Inode:344981597 硬链接:1 权限:(0640/-rw-r-----) Uid:( 0/ root) Gid:( 1019/minibase) 最近访问:2023-07-18 21:09:08.572227766 +0800 最近更改:2023-07-18 21:09:08.572227766 +0800 最近改动:2023-07-18 21:09:08.572227766 +0800 创建时间:- ```
[19 Jul 2023 12:43]
MySQL Verification Team
Hi, This can happen to a number of reasons. Most often, MySQL server was started with wrong user ID. If you think that this is a bug, then please provide us with a fully repeatable test case.
[19 Jul 2023 12:47]
zetang zeng
If mysql starts with wrong userId, why other redo file has right permission?
[19 Jul 2023 12:51]
MySQL Verification Team
Hi, There are many possible explanations, one of which is that other files have not been created and / or written in that run. In any case, we require a fully repeatable test case. Can't repeat.