5.1) The Solaris 2.x application XX fails with a mysterious error condition.
Try truss(1). truss -f -o file cmd args ...
will put a trace of all system calls in "file".
This often helps as a first step in diagnosing many failure modes,
such as insufficient permissions on certain files etc..