Configuration Assistant
Issue: install_configure_mysql.sh fails with “Permission denied” error
Error Message:
[ERROR] [MY-013276] [Server] Failed to set datadir to '<veridata_installation_dir>/mysql-commercial-*.*.**-linux-glibc2.17-x86_64-minimal/data/'
(OS errno: 13 - Permission denied)
Troubleshooting Options
-
Check Directory Permissions:
-
Run the following command to check access permissions (Note:
"/ogg/app/oracle/veridata/23is an example path of<veridata_installation_dir>):ls -ld /ogg /ogg/app /ogg/app/oracle /ogg/app/oracle/veridata /ogg/app/oracle/veridata/23 /ogg/app/oracle/veridata/23/mysql-commercial-*.*.**-linux-glibc2.17-x86_64-minimal -
If any parent directories lack the x (execute) permission, then
vdtrepouseris unable to access the data directory.
-
-
Verify SELinux Policy:
-
Switch to the root user.
-
Navigate to:
<veridata_installation_dir>/mysql-commercial-*.*.**-linux-glibc2.17-x86_64-minimal/bin -
Run the command:
ls -lt ../data -
If the directory permission output does not include a trailing “.” (for example,
drwxr-x---.), then SELinux is not the issue. Otherwise, setSELinuxto Permissive or Disabled mode.
-