Under /home there is no files and folders


 
Thread Tools Search this Thread
Operating Systems Solaris Under /home there is no files and folders
# 1  
Old 09-07-2012
Network Under /home there is no files and folders

When I'm logging as a user(i.e., oracle), I don't find any files and folders in /home

Attached error message below, while logging...

Last login: Fri Sep 7 08:08:09 2012 from ko.domain
Could not chdir to home directory /home/oracle: No such file or directory
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have mail.

SmilieSmilieSmilieSmilieSmilieSmilieSmilie
# 2  
Old 09-07-2012
perhaps its not mounted properly.
also, I think, in Solaris, home is usually in /export/home
# 3  
Old 09-07-2012
Checked everything. Everything is alright.

Your saying user home as /export/home Even I am logging as some user,
even it's saying folder not exists.

I didn't even delete anything manually.Smilie
# 4  
Old 09-07-2012
Quote:
Originally Posted by karthikn
Checked everything. Everything is alright.
Was /home/oracle populated before ?

/home is by default an automount point. What says:
Code:
grep home /etc/auto_master
cat /etc/auto_home

?
# 5  
Old 09-07-2012
Code:
$ grep home /etc/auto_master
/home auto_home -nobrowse
$ cat /etc/auto_home
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)auto_home 1.6 03/04/28 SMI"
#
# Home directory map for automounter
#
+auto_home
sunone 127.0.0.1:/export/home/sunone
wls81user suntech.tech.rsil.ramco.com:/home/wls81user
wls10user 127.0.0.1:/export/home/wls10user
wlg103user 127.0.0.1:/export/home/wlg103user
oracle 127.0.0.1:/app1/oracle

what is it mean????????? help me

Moderator's Comments:
Mod Comment Please view this code tag video for how to use code tags when posting code and data.

Last edited by Corona688; 09-07-2012 at 12:32 PM.. Reason: query
# 6  
Old 09-07-2012
If /home/oracle is empty, that means you have disabled the automounter or similar issue.

What says
Code:
svcs -xv "*auto*"

(please use code tags)
# 7  
Old 09-07-2012
Hi harthikn, this means that the user sunone have the home in /export/home/sunone in the local machine an oracle have the home in /app1/oracle in the local machine, so, these folders must be created in order to be able to login correctly. Also, if you are not using NIS, you don't need the +auto_home entry, this can be a problem. Make sure that the folders are created and all the permissions are the correct and comment the +auto_home entry in the /etc/auto_home file. Also make sure that the /etc/nsswitch.conf file is correctly configured, the "automount:" key must have a file entry in the fist position or only this entry. After that, you can restart the autofs daemon or reboot the machine. I think that this can solve your problem.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to copy files/folders and show the files/folders?

Hi, So i know we use cp -r as a basic to copy folders/files. I would like this BUT i would like to show the output of the files being copied. With the amazing knowledge i have i have gone as far as this: 1) find source/* -exec cp -r {} target/ \; 2) for ObjectToBeCopied in `find... (6 Replies)
Discussion started by: Imre
6 Replies

2. Shell Programming and Scripting

List all the files in the present path and Folders and subfolders files also

Hi, I need a script/command to list out all the files in current path and also the files in folder and subfolders. Ex: My files are like below $ ls -lrt total 8 -rw-r--r-- 1 abc users 419 May 25 10:27 abcd.xml drwxr-xr-x 3 abc users 4096 May 25 10:28 TEST $ Under TEST, there are... (2 Replies)
Discussion started by: divya bandipotu
2 Replies

3. UNIX for Dummies Questions & Answers

Searching for folders/parent folders not files.

Hello again, A little while back I got help with creating a command to search all directories and sub directories for files from daystart of day x. I'm wondering if there is a command that I've overlooked that may be able to search for / write folder names to an output file which ideally... (2 Replies)
Discussion started by: Aussiemick
2 Replies

4. Shell Programming and Scripting

Script to copy User home folders to mounted windows share

First of all, let me state that I am a windows admin. I have a windows share mounted to /mnt/server I need a script that will either login as sudo or perform commands with sudo rights. I need the script to copy all of the users /home folders to the mounted windows share. Now If I can... (7 Replies)
Discussion started by: EricM
7 Replies

5. Shell Programming and Scripting

Compare 2 folders to find several missing files among huge amounts of files.

Hi, all: I've got two folders, say, "folder1" and "folder2". Under each, there are thousands of files. It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command. However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies

6. Shell Programming and Scripting

copy some files from users home folders to my folder

i have users home directories in /home all the users have some files starting with character e and i want to copy all these files in a folder in my (root) home using a script i tried the script for i in m5 do cd m5 cp e1* /home/pc/exam cd .. done but get these... (3 Replies)
Discussion started by: pcrana
3 Replies

7. Shell Programming and Scripting

Replace missing standard folders from home directories.

Hi, I want to develop a script to replace missing folders from home directories. These may have been deleted by the user. A standard home directory will have these folders in it and nothing else: Desktop, Documents, Downloads, Library, Movies, Music, Pictures, Public, Sites I also want to... (3 Replies)
Discussion started by: z399y
3 Replies

8. HP-UX

to get the timestamp of files from the files and folders in Unix

Hi, I had a directory and many subdirectories and files with in it. Now i want to get the timestamp of files from the files and folders recursively. :( Please help me to generate a script fort he above mentioned requirement! Appreciate for ur qick response Thanks in advance! ... (2 Replies)
Discussion started by: kishan
2 Replies

9. Shell Programming and Scripting

list only files or folders

Hi experts, i wanna to list either file or folder. please help me Thanks (in advance) :confused:Jagannath (6 Replies)
Discussion started by: jagnikam
6 Replies

10. Shell Programming and Scripting

removing old files except configuration files and folders

Dear all, I want to remove files older than 2 months in the /home/member directory. But except the configuration files (like .bash_profile .config/ .openoffice/ .local/ .kde/ etc..) I have tried with the command find . -mtime +60 -wholename './.*' -prune -o -print -exec mv {} \; but it... (1 Reply)
Discussion started by: jamcalicut
1 Replies
Login or Register to Ask a Question