The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
list files commands lweegp Shell Programming and Scripting 12 04-17-2008 01:18 AM
killing nohup commands delete files? james_falco Filesystems, Disks and Memory 2 07-10-2007 09:56 PM
code that reads commands from the standard i/p and executes the commands Phrozen Smoke High Level Programming 4 01-21-2007 10:06 PM
text files, ASCII files, binary files and ftp transfers Perderabo Answers to Frequently Asked Questions 0 04-08-2004 01:25 PM
what commands are used to deal with core files on linux redhat??? TRUEST UNIX for Advanced & Expert Users 2 02-20-2003 08:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-07-2008
Registered User
 

Join Date: Nov 2006
Posts: 146
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
troublesooting commands/files

hello,

A connection to a remote server is lost frequently.

what files should I check for any hardware or network problems?

how to check what NIC card is active? how to check if any NIC card has/had problems?

I am using RHEL4.

thx
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-07-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,069
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Is this an SSH connection ? If yes, add the following line in /etc/ssh/ssh_config :
ServerAliveInterval 60
and see if it fixes the issue.
Else, troubleshooting NIC : dmesg | grep eth0 (#or appropriate NIC id), ethtool eth0 - to check the status, netstats -s - to check for dropped packets, collisions.
Reply With Quote
  #3 (permalink)  
Old 04-07-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 2,203
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
And ifconfig -a to see what network cards you have on which IP addresses in the first place. Perhaps route can help you figure out what connections use which routes.

System logging depends a lot on the platform, if dmesg is uninformative then messages.log or syslog.log might be worth looking at, as well as other files in /var/log (or wherever you have the logs). /etc/syslog.conf or some approximation will tell you how logging is set up but again, this is somewhat system-dependent; there are different syslog daemons and different conventions for how they are usually configured.
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102