Unix/Linux Go Back    

Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Commands with options hang server

Red Hat

Thread Tools Search this Thread Display Modes
Old Unix and Linux 12-07-2012   -   Original Discussion by manuswami
manuswami manuswami is offline
Registered User
Join Date: Sep 2008
Last Activity: 12 November 2014, 2:28 AM EST
Location: New Delhi
Posts: 11
Thanks: 5
Thanked 0 Times in 0 Posts
Commands with options hang server

Hello Folks,

when i run simple ls command i am getting the output properly. See below:

[root@xxx logs]# ls
ecapPlat.err FileMover.log.2 FileScrubber.log.1 MeasServer.log mysentfile surv.log
ecapPlat.log FileMover.log.3 FileScrubber.log.2 MeasServer.log.1 netConfig.err TimeServer.log
FileMover.log FileMover.log.4 FileScrubber.log.3 MeasServer.log.2 sentryd.log
FileMover.log.1 FileScrubber.log Logd.log MeasServer.log.3 sentryReport.log
[root@xxx logs]#

But when i run ls -lrt, it simply hangs the server. See below:

[root@chnecap1A logs]# ls -lrt
total 191868
-rw-r--r-- 1 root root 764348 Dec 20 2010 mysentfile

(Above doesnt come back to command prompt)

Even ctrl+C doesnt work. Every time i need to open a new session.

Appreciate any help.


Last edited by jim mcnamara; 12-07-2012 at 11:52 AM..
Sponsored Links
Old Unix and Linux 12-07-2012   -   Original Discussion by manuswami
jim mcnamara jim mcnamara is offline Forum Staff  
Join Date: Feb 2004
Last Activity: 17 November 2017, 6:09 PM EST
Location: NM
Posts: 11,238
Thanks: 570
Thanked 1,116 Times in 1,030 Posts
I'm guessing there is an error in the filesystem structure.

Or more likely:

Is nfs is involved? If the directory is a remote directory or there are symbolic links in the directory that refer to nfs mounted directories/files then this hanging can occur.

Please show the output of these commands:

uname -a
df -h

Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
server hang problem laxmikant Red Hat 4 08-24-2009 01:50 PM
Server Hang @ init command honmin Solaris 4 07-26-2009 09:30 AM
How can i disable force options for linux commands iamjayanth Red Hat 2 06-09-2009 01:58 PM
Server Unixware hang up By_Jam UNIX for Advanced & Expert Users 0 10-06-2006 05:35 AM
Hang linux server :( SDaniel UNIX for Dummies Questions & Answers 4 06-26-2005 08:58 PM

All times are GMT -4. The time now is 09:41 AM.