Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-11-2012
Registered User
 
Join Date: Jun 2011
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
User's home directory not being created

I am trying to create Oracle user. I will install oracle after that. But my problem is /home/oracle directory is not being created.

Code:
bash-3.2# useradd -g oinstall -G dba,oper -d /home/oracle -m oracle
cp: /home/oracle: Operation not applicable
chown: /home/oracle: No such file or directory


Code:
bash-3.2# more /etc/passwd 
...
oracle:x:101:101::/home/oracle:/bin/sh
bash-3.2# ls -altr /home/oracle
/home/oracle: No such file or directory


Code:
bash-3.2# mkdir -p /home/oracle
mkdir: "/home/oracle": Operation not applicable

how can I solve this problem I used "-m" option during adding user.
Sponsored Links
    #2  
Old 06-11-2012
methyl methyl is offline Forum Staff  
Moderator
 
Join Date: Mar 2008
Posts: 6,388
Thanks: 286
Thanked 668 Times in 640 Posts
Please post what Operating System and version you are running and what Oracle version you are about to install.

If this is Solaris, just Google the error message on this site or the www. It's a very common quirk of Solaris, but will need you to know whether you are using NFS for home directories.
Sponsored Links
    #3  
Old 06-11-2012
Registered User
 
Join Date: Jun 2011
Posts: 15
Thanks: 3
Thanked 0 Times in 0 Posts
It is solaris 10. I am trying to install Oracle 11g

I googled it and checked many many pages and answers about this question. the conclusion is creating the directory under "/export/home/." But I wonder why I can't use /home :S
    #4  
Old 06-11-2012
methyl methyl is offline Forum Staff  
Moderator
 
Join Date: Mar 2008
Posts: 6,388
Thanks: 286
Thanked 668 Times in 640 Posts
I put the error message into the Search Forums (above) and this was one of the hits:
http://www.unix.com/unix-dummies-que...kdir-home.html


If you read advice to disable the automounter on /home , only consider this if you will never be in a cluster and will never want to use NFS home directories.

Hmm this used to be easy to Google on the Sun site, but now the word Oracle appears on every page it is nigh on impossible.
Sponsored Links
Closed Thread

Tags
home directory, mkdir, solaris 10

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
User's home directory jredx Red Hat 5 05-05-2010 09:10 AM
Restricting SFTP user to a defined directory and home directory sftpuser Solaris 1 10-16-2009 07:00 PM
how to find out the home directory of a user?? wrapster Shell Programming and Scripting 7 04-08-2008 03:05 PM
Find all files created by a specified user in a directory and its subdirectories abhilashnair UNIX for Dummies Questions & Answers 5 06-13-2007 02:37 AM
Specifying FTP user Home Directory annointed3 UNIX for Dummies Questions & Answers 0 04-05-2007 09:52 PM



All times are GMT -4. The time now is 04:49 AM.