Case Study
Case 1

git clone https://github.com/occlum/enable_rdfsbase.git
cd enable_rdfsbase
make && make install #if still error,remake && reinstall
Case 2

Mirror is incorrect.
Curl is not installed in the container.
Case 3

Install curl within the container.
Missing sgx_default_gcnl.conf or sgx_default_qcnl.conf file
Case 4

Mirror version is not correct, please check the mirror ID.
Wrong version
Case 5

Mirroring is wrong, this time apply epid mirroring on Azure.
Case 6

Configuration file error, private key length is not correct.
Case 7


Check current configuration of max_map_count:
cat /proc/sys/vm/max_map_count
Not persistent way to modify the max_map_count:
sysctl -w vm.max_map_count=3097152
To make the changes persistent you should modify /etc/sysctl.conf
and then (optionally) execute sysctl -p
to apply the changes without reboot
echo "vm.max_map_count=3097152" >> /etc/sysctl.conf
sysctl -p
Case 8

If you are using the v0.11.9 image version of DHC, the Linux kernel version of the Operating System must be greater than 6.2. Another option is to reinstall the operating system, using at least 22.04 Ubuntu version.
Case9

If the "current peers" is 0, it means your device can not be connected through the P2P network. You should check the internet connection and the public IP first. Then you should check the security configuration of the cloud service which you can refer to the official docs for help.
Case 10

For images with versions greater than v0.12.8
, you need to add the run
command to the startup command line, for example occlum run /bin/bnk-watcher run /host/keyring.toml
.
Last updated