Bash script to start sap system

i already create a script to start sap system under suse 15 sp1 stop and start ; everything working fine but once I run this from aws ssm i got this error
Warning: no access to tty (Inappropriate ioctl for device).

Thus no job control in this shell.

----------ERROR-------

/usr/sap/NGD/SYS/exe/run/start_script.sh: line 21: startsap: command not found

/usr/sap/NGD/SYS/exe/run/start_script.sh: line 28: sapcontrol: command not found

failed to run commands: exit status 1

@mostafa Hi and welcome to the Forum :slight_smile:
You likely need to use the full path to startsap and sapcontrol since no environment set eg $PATH etc. Or set the PATH and export at the beginning of your script.