besu-pro-testnet icon indicating copy to clipboard operation
besu-pro-testnet copied to clipboard

Getting an error /tmp/....so: failed to map segment from shared object

Open eum602 opened this issue 4 years ago • 0 comments

During installation process ansible throws an error stating that it is not possible to create public/private keys for orion.

This happens because java needs to load some executable files to /tmp and sometimes OS does not have allowed executable files for /tmp.

To solve this you have to allow executable permissions to /tmp folder. A suggest to do that is the following:

  • vi /etc/fstab
  • find all the references to /tmp and make sure it does NOT have "nonexec", so at the end your /tmp reference would look something like this:
/tmp    xfs     defaults,nodev,nosuid,exec

/tmp /var/tmp none rw,exec,nosuid,nodev,bind 0 0

PD: This problem also applies to Besu if /tmp does not have proper permissions.

eum602 avatar Mar 06 '20 22:03 eum602