Interestingly, when I ran strace on ls it returned immediately.  I tried 
piping ls into more and it returned immediately also.  Finally, I switched 
from my X session to a console and tried ls /var/www/html.  While it also 
hung, when I broke out of it via Ctrl-C I got an error message about 
smb_lookup.  I realized that I had mounted a Windows directory so as to be 
able to test out some php code under Apache and the Windows machine was no 
longer available on the network.  When I umounted the directory everything 
went back to normal.

Mystery solved, although I can't say that I understand everything that 
happened.

David Suna.

On 30 Jan 2005 at 17:37, David Suna <[EMAIL PROTECTED]> wrote:

I have a RedHat 9 system.  Everything seems to be working fine.  I tried 
to do an ls /var/www/html and the command hangs.  Doing the same on other 
directories is fine.  I assume that some process has the directory open 
which is why the ls is hanging.  I tried restarting httpd but that didn't 
help.

1. How can I find out why ls is hanging on that particular directory?  
lsof blocks as well.  Running lsof with -b runs but doesn't list any open 
files in /var/www
2. What would cause this to happen?  Is this an indication that the system 
has been compromised?

On a different topic, what is the recommended way for keeping a RedHat 9 
system up to date?

Thanks,
David Suna
David's Consultants R.G.A Ltd
[EMAIL PROTECTED]
972-2-993-8613


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

David Suna
David's Consultants R.G.A Ltd
[EMAIL PROTECTED]
972-2-993-8613


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to