Sponsored Content
Operating Systems Linux Red Hat Commands with options hang server Post 302741041 by manuswami on Friday 7th of December 2012 10:43:52 AM
Old 12-07-2012
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 11:52 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hang linux server :(

All greetings:) I had problem: hangs linux a server, and hangs always on miscellaneous and at various times, for example, can stand about one week, and can and in some minutes after reboot. Tried on a server to put windows 2003, with him problems do not arise. What could it be?:) I from... (4 Replies)
Discussion started by: SDaniel
4 Replies

2. UNIX for Advanced & Expert Users

Server Unixware hang up

Hi, I,ve a Unixware 7.1.4 Server, that it works OK, but suddenly it's hang up for six hours. In the server's console appears the messages of the registration product, the same that appears when the machine restart normally. while thats messages appears the console is lock and the server is out... (0 Replies)
Discussion started by: By_Jam
0 Replies

3. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

4. Red Hat

How can i disable force options for linux commands

Sir , Is there any way for me to disable force (-f ) options to linux commands like rm. I tried to alias rm -f. alias rm -f = "rm -i" but it shows bad alias name error I need this command specifically for rm. Atleast i want this command to be interactive whether I issue rm ,rm... (2 Replies)
Discussion started by: iamjayanth
2 Replies

5. Shell Programming and Scripting

Help with shell script to run the commands reading options from local file

I have to use shell script to run series of commands on another unix box by connecting through SSH and giving user credentials. For running commands on remote machine I have to use options reading from a local file. Process: Connecting to remote unix server <host1.ibm.com> through ssh Login: ... (2 Replies)
Discussion started by: itsprout
2 Replies

6. Solaris

Server Hang @ init command

Guys, I am having difficulties in bringing my server to OBP. The server hung infinitely after issuing init 0 command. I have already stopped all the applications running but to no avail. :confused: Has anyone encountered this problem before? Appreciate if you could shed some lights. ... (4 Replies)
Discussion started by: honmin
4 Replies

7. Red Hat

server hang problem

Hello everybody.. I have RHEL-4 Server with kernel - Linux 2.6.9-78.0.1.ELlargesmp x86_64 It is used for Development usage.. That server got hang and so reboot was required, when checked log file i found following messages, kernel: warning: many lost ticks. kernel: Your time source... (4 Replies)
Discussion started by: laxmikant
4 Replies

8. Red Hat

Server Hang in Linux RHEL 5.5

Dear All , One of our Oracle Database Server , which got hanged a couple of days before , so that we could not login to the Server , but it was pinging. So we tried various options and at last we did a reboot of this server. To find out the root cause of the Server Hang , when i checked the... (2 Replies)
Discussion started by: jegaraman
2 Replies

9. UNIX for Beginners Questions & Answers

Options for AIX server backups

Hello, I'm new to this forum. Forgive a question that may have been asked, but I would like to get advice on options for backups of an AIX server. The AIX server in question has about 2TB of storage, with 3 Oracle databases configured on it We're currently using tar backups to tape, LTO... (1 Reply)
Discussion started by: terrya
1 Replies

10. AIX

AIX 5.3 NFS export not mounting, rpcinfo hang/timeout on server

Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here. server: sbkovwadmd01 sbkovwadmd01# chnfsdom Current local domain: edw.dev sbkovwadmd01# lssrc -a | grep nfs | grep active nfsd ... (3 Replies)
Discussion started by: eckertd
3 Replies
nislog(1M)						  System Administration Commands						nislog(1M)

NAME
nislog - display the contents of the NIS+ transaction log SYNOPSIS
/usr/sbin/nislog [-h num | -t num] [-v] [directory...] DESCRIPTION
nislog displays the contents of the NIS+ server transaction log on the standard output. This command can be used to track changes in the namespace. The /var/nis/trans.log file contains the transaction log maintained by the NIS+ server. When updates occur, they are logged to this file and then propagated to replicas as log transactions. When the log is checkpointed, updates that have been propagated to the replicas are removed. The nislog command can only be run on an NIS+ server by superuser. It displays the log entries for that server only. If directory is not specified, the entire log is searched. Otherwise, only those logs entries that correspond to the specified directories are displayed. OPTIONS
-h num Display num transactions from the ``head'' of the log. If the numeric parameter is 0, only the log header is displayed. -t num Display num transactions from the ``tail'' of the log. If the numeric parameter is 0, only the log header is displayed. -v Verbose mode. FILES
/var/nis/trans.log transaction log ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nis+(1), rpc.nisd(1M), nisfiles(4), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 12 Dec 2001 nislog(1M)
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy