Portal Home > Knowledgebase > Articles Database > Stumped. ls and top and ? suddenly just hang...
Stumped. ls and top and ? suddenly just hang...
Posted by XLT_Frank, 05-14-2014, 10:49 PM |
Even as root, I am finding a CentOS Xen server I help manage just went stupid. Top won't work at all, ls will not work in numerous directories. They all result in SSH hanging. I can navigate to most directories, just not view them. For directories I can view, if I do a touch abc.txt, no problem with appropriate own/mod. If I do vi abc.txt and it will not let me edit it.
Thoughts?
|
Posted by manhalab, 05-15-2014, 01:29 AM |
Hi check,
Make sure you are not logged in a sudo user
Check login user root .. uid,guid etc ..
who -a
Could be disk space issue.
df -h
fdisk -l
and
df -i
Also would be a great idea to check the permissions and ownerships of the binaries of the commands that you are having issues with.
Last edited by manhalab; 05-15-2014 at 01:37 AM.
|
Posted by XLT_Frank, 05-15-2014, 06:46 AM |
So here are some examples....
FAIL
FAIL
Here is the disk issues....
Here is some attempts to look at permissions. When I went to do history for referencing something, the terminal locked again...
It looks like someone dorked up some permissions....
|
Posted by manhalab, 05-17-2014, 10:22 AM |
for binary commands like chmod or chown try giving it parameters with actual files and then provide output, so that we can actually see the error
|
Add to Favourites Print this Article
Also Read