Look like you managed to break back of Oracle binaries. I believe you require /usr/ucb in your path, make sure that it comes after /usr/bin and /usr/ccs/bin in the $PATH setting. Then try reinstalling it.