LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing oracle on linux (https://www.linuxquestions.org/questions/linux-newbie-8/installing-oracle-on-linux-606263/)

imughal 12-12-2007 05:56 AM

Installing oracle on linux
 
hi,

i am new to linux trying to install oracle 9i on linux i have create a user "oracle" and set some environment variable in .bash_profile file.

before that i have also done following.

To ensure that the proper permissions are granted to group and others:
1.Log in as the oracle user and check the current umask setting for the oracle user using the following command:
# umask
2.If the umask command does not return the value 022, set it for the
oracle user by adding the following line to the .profile or .login file:
# umask 022


now problem is that when i am trying to log in using oracle account getting following error message.

/bin/bash; line 14 unmask : command not found
oracle_home
gnome-session 2776 Gtk-warning ./xsession-errors files

kindly tell how to resolve this issue.

thx in advance

Disillusionist 12-12-2007 01:41 PM

The error message suggests that you have mistyped the umask command

imughal 12-12-2007 11:09 PM

oracle on linux
 
kindly tell what is the correct sytax.

Disillusionist 12-13-2007 01:17 AM

The correct syntax is in your posting:

umask 022

However the error states:

unmask command not found

Therefore I would suggest that you have entered an n by accident when you were adding the command to line 14 in your .bash_profile

nirjharoberoi 12-13-2007 01:31 AM

what kind of Linux you are using??? if its Ubuntu(Debian Bases) .. i might be able to help out..

mean while.. check out this link..

http://www.e-gineer.com/v1/instructi...i-on-linux.htm

Peace

john_smith 12-13-2007 03:25 AM

Hi

http://www.puschitz.com/InstallingOracle9i.shtml

Regards

imughal 12-13-2007 11:36 PM

Redhat linux ES
 
i applied umask 022 don't get any error but values does not update.

Disillusionist 12-14-2007 01:34 AM

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 execute permissions for the owner.
read and execute permissions for the group.
read and execute 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:
Code:

mkdir testdir
What are the permissions? Should be "drwxr-xr-x"

Try creating a file as oracle:
Code:

touch testfile
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.


All times are GMT -5. The time now is 01:14 AM.