LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to load home directory (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-load-home-directory-887265/)

abhinav4 06-20-2011 02:08 AM

Unable to load home directory
 
Hi I am getting the following error. But when I checked under what login I am, it gives me my name. I checked /home directory and /export/home/ but I do not have a folder with my username. What is this can someone explain?

Using keyboard-interactive authentication.
Password:
Last login: Fri Jun 17 18:13:54 2011 from 192.168.120.38
Could not chdir to home directory /export/home/abhinav: No such file or directory
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
testing-01: /$ whoami
abhinav
testing-01: /$

ganesh24pal@gmail.com 06-20-2011 02:30 AM

While you log in please give below command and post output.

#pwd

abhinav4 06-20-2011 02:57 AM

Quote:

Originally Posted by ganesh24pal@gmail.com (Post 4390478)
While you log in please give below command and post output.

#pwd

testing-01: /$ pwd
/
testing-01: /$

ssrameez 06-20-2011 03:17 AM

Abhinav,
You have already found the solution also..
You said that the directory /export/home/abhinav is not present. Create one in the required directory.

If it is a NFS/autofs directory, create the same in the NFS server.

--Rameez

abhinav4 06-21-2011 09:43 PM

Quote:

Originally Posted by ssrameez (Post 4390518)
Abhinav,
You have already found the solution also..
You said that the directory /export/home/abhinav is not present. Create one in the required directory.

If it is a NFS/autofs directory, create the same in the NFS server.

--Rameez

Hi Rameez,

I have 100+ servers where i use the same credentials. I use my ldap credentials to log into those servers.
Do I need to create my home directory manually in 100+ servers.

Thanks
Abhinav

linuxlover.chaitanya 06-22-2011 12:27 AM

I dont think you need to create the directory in all the servers but from the server which exports the home directory when you login. This typically could be a NFS server. If you are not incharge of the servers then you could ask one of the administrators to create the directory for you.

ssrameez 06-22-2011 01:05 AM

As in the previous post, you need to create only in the NFS server.

--Rameez

theNbomr 06-22-2011 10:06 AM

Quote:

Originally Posted by ssrameez (Post 4392439)
As in the previous post, you need to create only in the NFS server.

--Rameez

Just curious... what makes you believe that the home directory exists on a shared NFS server? I cannot see anything to suggest that it is.

--- rod.

ssrameez 06-23-2011 03:38 AM

I am taking back my suggestion..

I came to an assumption because of the path /export/home/blabla..

Before coming to the conclusion..

Abhinav,

Please fire the following command and give us the results..

df -hP |grep export

Thanks
Rameez


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