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
DOVEADM-LOG(1)							      Dovecot							    DOVEADM-LOG(1)

NAME
doveadm-log - Locate, test or reopen Dovecot's log files SYNOPSIS
doveadm [-Dv] log errors [-s min_timestamp] doveadm [-Dv] log find [directory] doveadm [-Dv] log reopen doveadm [-Dv] log test DESCRIPTION
The doveadm log commands are used to locate and reopen the log files of dovecot(1). It's also possible to test the configured targets of the *log_path settings. OPTIONS
Global doveadm(1) options: -D Enables verbosity and debug messages. -v Enables verbosity, including progress counter. COMMANDS
log errors doveadm log errors [-s min_timestamp] The log errors command is used to show the last - up to 1,000 - errors and warnings. If no output is generated, no errors have occurred since the last start. -s min_timestamp An integer value, representing seconds since the epoch - also known as Unix timestamp. When a min_timestamp was given, doveadm(1) will only show errors occurred since that point in time. log find doveadm log find [directory] The log find command is used to show the location of the log files, to which dovecot(1) sends its log messages. If dovecot(1) logs its messages through syslogd(8) and doveadm(1) could not find any log files, you can specify the directory where your syslogd writes its log files. log reopen doveadm log reopen This command causes doveadm to reopen all log files, configured in the log_path, info_log_path and debug_log_path settings. These settings are configured in /etc/dovecot/conf.d/10-logging.conf. This is for example useful after manually rotating the log files. log test doveadm log test This command causes doveadm to write the message "This is Dovecot's priority log (timestamp)" to the configured log files. The used prior- ities are: debug, info, warning, error and fatal. EXAMPLE
This example shows how to locate the log files used by dovecot(1). doveadm log find Looking for log files from /var/log Debug: /var/log/dovecot.debug Info: /var/log/mail.log Warning: /var/log/mail.log Error: /var/log/mail.log Fatal: /var/log/mail.log REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is avail- able at: http://dovecot.org/bugreport.html SEE ALSO
doveadm(1) Dovecot v2.2 2013-11-24 DOVEADM-LOG(1)
All times are GMT -4. The time now is 02:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy