Skip to content

Installing SAP HANA, express edition with Docker - ERROR: Insufficient permissions on /hana/mounts. Required permissions: rwx #3065

@the1bit

Description

@the1bit

Tutorial URL: https://developers.sap.com/tutorials/hxe-ua-install-using-docker.html

I have an issue at Step 8: Start SAP HANA, express edition Container, when I execute the command:

docker run -p 39013:39013 -p 39017:39017 -p 39041-39045:39041-39045 -p 1128-1129:1128-1129 -p 59013-59014:59013-59014 -v /data/saphana:/hana/mounts \
--ulimit nofile=1048576:1048576 \
--sysctl kernel.shmmax=1073741824 \
--sysctl net.ipv4.ip_local_port_range='40000 60999' \
--sysctl kernel.shmmni=524288 \
--sysctl kernel.shmall=8388608 \
--name saphanaexpress01 \
store/saplabs/hanaexpress:2.00.033.00.20180925.2 \
--passwords-url file://data/masterpwd.json \
--agree-to-sap-license

Error message: ERROR: Insufficient permissions on /hana/mounts. Required permissions: rwx

======== Starting HANA container run script ========
Started at: Mon Feb 11 12:09:24 UTC 2019
Script parameters: --passwords-url file://data/masterpwd.json --agree-to-sap-license
HANA version: 2.00.033.00.1535711040
Linux kernel version: 4.9
New host: '19eddacfba7f'
Setting HANAs host name to '19eddacfba7f' ...
Checking allowed mountpoints ...
ERROR: Insufficient permissions on /hana/mounts. Required permissions: rwx

Tryings, which don'4 work:

  • I tried execute command in name of root
  • I tried execute command in name of non-root user
  • I modified the permission of /data/saphana to 777
  • I modified the permission of masterpwd.json to 777

Please help me to solve this issue.

Other information:

  • Base OS: Ubuntu 18.04 LTE (WSL on W10)
  • Docker version: 18.09.1, build 4c52b90

Feel free to get in touch with any questions.

Thank you for your help in this matter.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions