LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2007, 06:56 AM   #1
imughal
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Rep: Reputation: Disabled
Exclamation 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
 
Old 12-12-2007, 02:41 PM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,036

Rep: Reputation: 96
The error message suggests that you have mistyped the umask command
 
Old 12-13-2007, 12:09 AM   #3
imughal
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Original Poster
Rep: Reputation: Disabled
oracle on linux

kindly tell what is the correct sytax.
 
Old 12-13-2007, 02:17 AM   #4
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,036

Rep: Reputation: 96
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
 
Old 12-13-2007, 02:31 AM   #5
nirjharoberoi
LQ Newbie
 
Registered: Nov 2007
Location: India
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 15

Rep: Reputation: 0
Smile

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

Last edited by nirjharoberoi; 12-13-2007 at 02:32 AM.
 
Old 12-13-2007, 04:25 AM   #6
john_smith
Member
 
Registered: Apr 2006
Posts: 42

Rep: Reputation: 15
Hi

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

Regards
 
Old 12-14-2007, 12:36 AM   #7
imughal
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Original Poster
Rep: Reputation: Disabled
Redhat linux ES

i applied umask 022 don't get any error but values does not update.
 
Old 12-14-2007, 02:34 AM   #8
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,036

Rep: Reputation: 96
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing oracle 9i on linux hassanj Linux - Software 2 12-22-2004 10:15 PM
Installing Oracle on Linux RedRabbit Linux - Software 1 11-15-2004 11:52 AM
Installing Oracle on Linux. AmitC Linux - Software 2 03-22-2004 10:29 PM
Installing Oracle 9.2 on mandrake linux jpatadia Mandriva 0 12-21-2003 02:09 AM
Linux Hang When Installing ORACLE 9i yuewang Linux - Software 4 10-11-2002 12:27 AM


All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration