See:
Realize that the openhab user has a limited environment with limited permissions and paths. So be sure the openhab user is a member of the right groups, has permissions to read/write/execute everything need, and use the full path to executables.