As this is happening , you may have some wrong entry in the
or
file which throws error.
YOu are already logged in as oracle user. Now to get the OUI from there as an Oracle root user(sysdba) run
And as your previous post,if you have configured all the prerequisites correctly it will work.