Couchbase Server start/stop operations from TWS

Hi,

We are using Couchbase Community Edition 6.0.0 build 1693 installed as non-root on RHEL server,
and starting the server as per couchbase recommendation using the following command:

./bin/couchbase-server – -noinput -detached

This working fine from the shell, however, when we invoke this command from our IBM TWS Scheduler (same user, and we check all the environment variables match), the couchbase-server script is getting stuck on the _check_inet_mode function not returning any output which means the startup script does not continue.

If we comment out the erlang command and just return false, the script continues and the Couchbase server starts but we are concerned it is not starting properly and could mask/hide other potential issues.

Anyone ever encounter this issue?

Thanks in advance.