Home » Infrastructure » Unix » Unable to create home directory for oracle (oracle 10g)
Unable to create home directory for oracle [message #282192] Wed, 21 November 2007 02:20 Go to next message
sailesh
Messages: 72
Registered: September 2007
Location: MAURITIUS
Member
Hi all,

I have umounted my home directory for oracle and i have lost my profile. But still i have my installatation files which are found in /oracle.

Now i have created a user oracle group dba, but i am unable to create a /home/oracle directory for oracle.

please help. Smile
Re: Unable to create home directory for oracle [message #282195 is a reply to message #282192] Wed, 21 November 2007 02:44 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
I think you should post your question in an Unix forum, this is an Oracle one.

In addition, saying "i am unable" does not give any clue why you are unable and so you can't have any accurate answer.

Regards
Michel
Re: Unable to create home directory for oracle [message #282198 is a reply to message #282195] Wed, 21 November 2007 02:52 Go to previous messageGo to next message
sailesh
Messages: 72
Registered: September 2007
Location: MAURITIUS
Member
HI Michel Cadot,

i have created the user oracle with the command below:
useradd oracle
usermod -u 104 -g dba -d /home/oracle oracle
no error

when i switch from root to oracle:

i got:

bash-3.00# su - oracle
su: No directory!

thks sailesh
Re: Unable to create home directory for oracle [message #282227 is a reply to message #282198] Wed, 21 November 2007 03:49 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
As I said, this is an Oracle forum.
Better post your problem in a Unix one.

Regards
Michel
Re: Unable to create home directory for oracle [message #282334 is a reply to message #282192] Wed, 21 November 2007 09:15 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
grep oracle /etc/passwd
most likely the line in /etc/passwd for oracle does not contain /home/oracle
Previous Topic: unix machine not booting
Next Topic: Helpless in basic shell sorting
Goto Forum:
  


Current Time: Sat Nov 23 20:48:36 CST 2024