1844112 Members
3315 Online
110227 Solutions
New Discussion

Re: cd to a dir hangs

 
T G Manikandan
Honored Contributor

cd to a dir hangs

When i login as a particular user and do a cd to a directory it just hangs.
Nothing works like cd,pwd,ls

I checked the syslog file and found no errors in the syslog file.

This happened only to a particular directory for the user.


Will that be due to a file system block corruption.

Even that should put entries in syslog file.

How to overcome such problems is future.
Please advise
9 REPLIES 9
Michael Tully
Honored Contributor

Re: cd to a dir hangs

Hi,

Does this directory/filesystem happen to be an NFS mount point client?

Regards
Michael
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: cd to a dir hangs

No Micheal,
It is local.

The directory was a clearcase view on the machine.
I cannot guess what the problem would have been.


Thanks


Dirk Wiedemann
Respected Contributor

Re: cd to a dir hangs

Is the spoken to directory a mount point for a lokal filesystem? And if so, what are the permissions to the mount point when unmounted?
regards
Dirk
T G Manikandan
Honored Contributor

Re: cd to a dir hangs

It is not a mount point just a directory beneath the mount point.

the user is the owner for that directory.


Thanks
Dirk Wiedemann
Respected Contributor

Re: cd to a dir hangs

another question: Is the dot "." in the $PATH variable of that user and are there suspicious executables in the dir?
Dirk
Dirk Wiedemann
Respected Contributor

Re: cd to a dir hangs

Hello again
*DOH* (my last message)
I think, a forums king doesn't need such a trivial tip. Sorry.
Dirk
U.SivaKumar_2
Honored Contributor

Re: cd to a dir hangs

Hi,
Does that user login to /home or some other filesystem ?( eg. oracle ). If yes , check whether the filesystem is accessible as root
cd /mount_point
ls -al
Does it hangs ??
If yes , problem may be that disk has gone offline. Restart the disk if it is external.
or if possible the server.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Paula J Frazer-Campbell
Honored Contributor

Re: cd to a dir hangs

HI

Two options:-

1. Unmount and fsck

2. Make a new dir and copy all the files from the dir that is causing problems, remember to chmod and chown the new dir and files.

On option two can the user then cd into the dir?


HTH

Paula

If you can spell SysAdmin then you is one - anon
T G Manikandan
Honored Contributor

Re: cd to a dir hangs

Paula,
I resolved the same doing a fsck on the file system by umounting it and then things were okay.

But I would like to know the source of the problem so that it does not arise in future.

Please revert.

Thanks