Hi Symon,
Checked the environment variable under the orasid and sidadm.
TST_ERROR is related to the environment variable. Checked the permission of dbenv.csh/ksh and sapenv.sh/csh
Also check the shell of the system.
With Regards
Ashutosh Chaturvedi