Bash script to start sap system

edited February 25 in Developer Sandbox

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.


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

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

failed to run commands: exit status 1


  • malcolmlewismalcolmlewis Knowledge Partner

    @mostafa Hi and welcome to the Forum :)
    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.

Sign In or Register to comment.