Does the bladmin unix user had write permissions in the cwd ? what directory are you in when you run the 'cd ;' ?
Not the bladelogic 'BLAdmin' user, the local unix 'bladmin' user.
Just add this to the script:
Before the getlic runs
Info Mar 5, 2010 3:11:47 PM uid=502(bladmin) gid=502(bladmin) groups=502(bladmin)
Info Mar 5, 2010 3:11:48 PM /tmp
It is working now /tmp has the sticky bit set so we could not write to it.