Zhi-Wei Lu <[log in to unmask]> writes:

> After a power outage last night,  one  of my SL 4.5 (x86_64) server
> failed to do
> cd ~user
> however,
> cd /home/user
> still works fine

Any filesystem damage?  Any files found in "lost+found/" sub
directories?

> Does anyone see problem like this before?  I am using autofs via ldap to
> mount home directory.
> This prevents apache to mount user home directory
> (http://www.server.com/~user)

The "~user" to "/home/user" conversion is done through NSS.  
Check that /etc/nsswitch.conf is still around and correct.

Are you using LDAP for user info?  If so, check libnss-ldap.conf (or
whatever the equivalent might be in SL).  If just using local
passwords check /etc/password.

-Brett.