The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Home directory Query mmg2711 UNIX for Dummies Questions & Answers 2 10-25-2007 09:30 AM
home directory security prvnrk UNIX for Advanced & Expert Users 5 08-09-2007 02:13 AM
home directory nokia3100 UNIX for Dummies Questions & Answers 1 05-07-2007 11:16 AM
cd into home directory ~ here2learn UNIX for Dummies Questions & Answers 4 04-12-2005 06:20 AM
c++ home directory?? user666 UNIX for Dummies Questions & Answers 3 03-16-2002 05:49 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2005
Registered User
 

Join Date: Aug 2005
Posts: 3
Stumble this Post!
Could not chdir to home directory

I have SunOS 5.8.

Yesterday when i tried to log in I got message:
Could not chdir to home directory /export/home/blahblah: No such file or directory

Instead of the home directory i used to get in, I was bounced to the root directory. I searched through the filesystems but could not find my home directory

Since we don't have admin for this machine, no one know what happened

What could be the cause? Anyway to diagnose it and how do i fix it?

Any suggestion would be greatly appreciated
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-27-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Stumble this Post!
Check /etc/vfstab - see if there is a mount point that overlays /export or /export/home. See if that is mounted (df -k /export or df -k /export/home). If it crashed or got dismounted, then it would look like your home directory was gone (which it would be ). Try to fsck the device (/dev/rdsk/something) and then try mounting it to the appropriate mount point.
Reply With Quote
  #3 (permalink)  
Old 05-22-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 672
Stumble this Post!
y must you go through such hard process? maybe the dir itself does not exists? a good practise is to specify the home dir during a/c creation using useradd cmd with -d option
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0