LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-23-2009, 02:17 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Server Connection Loss


I can't understand what is causing me to constantly lose connection with a new server I just build on my LAN. I created a new server:

OS = CentOS 5.2 x64
Hostname = mysql.domain.com
IP = 192.168.0.78
SM = 255.255.0.0
GW = 192.168.0.1
Static IP

Every 30 minutes the server has a connection issue as my SSH session to that machine is frozen. I can't see the page Apache is running nor can I ping that machine from my box. Now when I login to the machine directly via the console or just run a 'ls -l' from the console of that server, it suddenly comes back to life and everything works for a limited period of time. This is driving my nuts. I need this to be a production machine and I don't know what is causing this. I have re-imaged the machine so that leads me to beleive its something more serious. I replaced the Cat5e cable, I have no problems connecting for days/months to servers connecting to the same switch / subnet as the server in question.

Anyone have any suggestions?
 
Old 02-24-2009, 07:19 AM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 38
Check what mii-tool shows to see if you have a 100full connection. Also what is the output of ifconfig? Are there any errors? Did you check the log for apm events?
 
Old 02-24-2009, 08:43 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I have never used 'mii-tool' before. Am I doing it wrong?

Code:
[root@mysql log]# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
SIOCGMIIPHY on 'eth1' failed: Operation not supported
no MII interfaces found
Here is my 'ifconfig' output:

Code:
[root@mysql ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:13:72:69:AF:34  
          inet addr:192.168.0.78  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::213:72ff:fe69:af34/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:49586 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21323 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7459556 (7.1 MiB)  TX bytes:3562816 (3.3 MiB)
          Base address:0xdcc0 Memory:fe7e0000-fe800000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1988 (1.9 KiB)  TX bytes:1988 (1.9 KiB)
I am looking in /var/log/ and don't see anything particular that helps me. I really don't see anything for 'apm' just listed in /var/log...
 
Old 02-24-2009, 11:03 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Just speculation, but it sounds like the system may be going into some kind of 'sleep' mode due to lack of activity on the local console/desktop. You might consider researching ACPI online for some clues.
--- rod.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Connection Loss And USB Connection Loss. Novatian Linux - Desktop 1 11-07-2008 02:09 PM
Linux Web Server - Domain Change and loss of net connection littlered Linux - Networking 3 01-02-2006 10:08 PM
sudden connection loss Jeebizz Slackware 7 10-17-2004 10:09 PM
Need help diagnosing connection loss... breezewax Linux - Networking 3 09-29-2004 05:13 PM
networking connection loss dragon Linux - Networking 9 06-25-2003 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration