LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-14-2003, 12:08 AM   #1
narinder31
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
installing Ora9iAS on RH 9.0


Hi,
I installed RH 9.0 dual boot with WinXP. Now I want to install Oracle 9i AS.
I am not very well familiar with how file system is arranged in linux, I am still learning, but if I am not wrong, I proceeded with installing oracle in /opt directory
I have 2 harddisks in my PC, One for linux and one for XP. Now the XP one is partitioned say A and B. A is NTFS and B is FAT formatted by XP. Linux was installed with default partitions.
In opt I created a directory "oracle".
So the directory structure is /opt/oracle.
And mounted /opt/oracle to partition B by adding a line to /etc/fstab as below: dont know whether the syntax is correct or not, got this from some newsgroup and it worked.
/dev/hda2 /opt/oracle vfat auto,user,mask=0 0 0

Previously I used to get an error while mounting cdrom device, such as error on line 9 in /etc/fstab not in correct format (I cant remember the exact string of this error). But after going thru few newsgroup I fixed it by correcting the spacing in this line and then it was fine.

when I run "df" command I am able to see this mounted with space available. I did all this with root access.

Now for oracle I have to create a new user say "oracle" belonging to oinstall group. I log in as oracle, open a terminal window and type su to become root and create a new directory under /opt/oracle/oserver
As root now I try to change the owner of this directory chown -R oracle.oinstall /opt/oracle I get an error as below:
chown: changing ownership of '/opt/oracle': Operation not permitted
chown: changing ownership of '/opt/oracle/oserver': Operation not permitted

I am not able to change the ownership n hence it also does not allows me to create any directory under this folder.
Can any one tell me how to fix this thing.
Thanks in advance
Narinder
 
Old 12-06-2003, 12:54 AM   #2
GAVollink
Member
 
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
First general rule of installing Oracle... create the user and directory.

Make sure the /opt/oracle directory does not exist.
Log in as root and create a group called "oracle" and a user called "oracle". (You may want to create an "oraoper" and "oradba" groups as well).

# groupadd oracle
# useradd -c "Oracle User" -d /opt/oracle -m -g oracle -u oracle
# password oracle
Set the password for the oracle user.

Then log in as "oracle" (the user creation "-m" will make the oracle user the owner of the created /apps/oracle directory).

% /cdrom/runInstaller

The rest is up to you (though I've installed Oracle on three different Linux dists, and may end up putting HOW-TO type posts in the Member Success Stories forum).
 
  


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
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 09:25 PM
installing from iso9660 - restarts installation without installing anything scuzzman Slackware 1 10-24-2004 08:46 PM
installing windows without re-installing FC ur-unholyness Linux - Software 1 10-17-2004 07:48 PM
Installing Windows XP after installing Red Hat 9 BluePyre Linux - General 7 03-09-2004 04:37 PM
Installing RAID Drivers before Installing RH 9 kwright Linux - Newbie 3 08-25-2003 10:57 AM


All times are GMT -5. The time now is 07:06 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