i don't see anything in either of those files that would cause that. try them one by one.
do you see any errors/output?
if so, then try to narrow it down. is the "dtool" program a binary or a text script? you can check with:
try to run that command by itself and see if it causes the error:
/appl/smarttrust/dpa/dp/bin/dtool diag -l 10.162.7.179 10100
Note: be prepared to Ctrl+C or whatever to cancel it, if necessary.