Commands with options hang server | Unix Linux Forums | Red Hat

  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


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-07-2012
manuswami manuswami is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 16 September 2014, 12:52 PM EDT
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:


Code:
[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:


Code:
[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.

ManU

Last edited by jim mcnamara; 12-07-2012 at 10:52 AM..
Sponsored Links
    #2  
Old 12-07-2012
jim mcnamara jim mcnamara is online now Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 24 October 2014, 12:39 PM EDT
Location: NM
Posts: 10,250
Thanks: 282
Thanked 803 Times in 747 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:


Code:
uname -a
df -h

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:50 PM
Server Hang @ init command honmin Solaris 4 07-26-2009 08:30 AM
How can i disable force options for linux commands iamjayanth Red Hat 2 06-09-2009 12:58 PM
Server Unixware hang up By_Jam UNIX for Advanced & Expert Users 0 10-06-2006 04:35 AM
Hang linux server :( SDaniel UNIX for Dummies Questions & Answers 4 06-26-2005 07:58 PM



All times are GMT -4. The time now is 12:56 PM.