Setting the umask is only a tiny part of setting up oracle.
umask 022 means that any directories you create will be given:
read
write e
xecute permissions for the owner.
read and e
xecute permissions for the group.
read and e
xecute permissions for everyone else.
Any files you create will be given:
read and
write permissions for the owner.
read permissions for the group.
read permissions for everyone else.
Try creating a directory as oracle:
What are the permissions? Should be "drwxr-xr-x"
Try creating a file as oracle:
What are the permissions? Should be "-rw-r--r--"
Normally when installing Oracle you should have a (sometimes quite long) list of requirements.
Ensure that any package dependencies are met and that any kernel parameters that need modifying are.
Have you looked at the links posted by
nirjharoberoi or
john_smith?
Both these links clearly indicate that you are (almost definitely) going to need to increase the amount of shared memory available to oracle.