Solved

server goes down

Posted on 2006-11-26
14
190 Views
Last Modified: 2010-04-20
Hello,
today when I was logged in from the shell I tried to stop apache service
and the server just stopped responding! this is what I did

-(02:11 15 AM)-(root@server)-(/home) $ service httpd stop
Stopping httpd: [SSH] ERROR: An existing connection was forcibly closed by the remote host.

[SSH] INFO: DISCONNECT

can someone please tell me why is this? sometimes my server stops responding for no
reason, so I have to open a ticket and request a reboot! could it be because of stopping apache?
0
Comment
Question by:Sabrin
  • 5
  • 5
  • 2
  • +2
14 Comments
 
LVL 12

Expert Comment

by:ibu1
ID: 18017572
What are the contents of ur /var/log/messages ?
0
 

Author Comment

by:Sabrin
ID: 18017803
the server went down at 2:11am
and I see this from the file /var/log/messages

Nov 26 22:08:23 dedicated sysctl: kernel.sysrq = 0
Nov 26 22:08:23 dedicated sysctl: kernel.core_uses_pid = 1
Nov 26 22:08:23 dedicated sysctl: fs.file-max = 65000
Nov 26 22:08:23 dedicated rc.sysinit: Configuring kernel parameters:  succeeded
Nov 27 03:08:24 dedicated date: Mon Nov 27 03:08:24 EST 2006
Nov 27 03:08:24 dedicated rc.sysinit: Setting clock  (localtime): Mon Nov 27 03:08:24 EST 2006 succeeded
Nov 27 03:08:24 dedicated rc.sysinit: Loading default keymap succeeded

so the part from where the server goes down its missing!
0
 

Author Comment

by:Sabrin
ID: 18017814
nothing found from nov 27 at 2am
0
 
LVL 12

Assisted Solution

by:ibu1
ibu1 earned 100 total points
ID: 18018098
May be ur server is exceeding the no. of connection.Please check any entry in /var/log/httpd
Please also check that enough swap memory is alloted by
# free -m
0
 
LVL 10

Expert Comment

by:ssvl
ID: 18019379
If it not a hack
and
not a low memory problem
so  I think It because of h/w problems like memory

(I got the same isue in my server and thay (customer support person) told me to clean the memory and now it works fin)e  



0
 
LVL 16

Assisted Solution

by:xDamox
xDamox earned 100 total points
ID: 18019694
Hi,

Also could you check your

/var/log/secure log file for any entries made on that day when your machine stopped responding.
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18022426
I would check *any* log file in /var/log that has changed recently. Some will be no help, but one may tell you something useful.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:Sabrin
ID: 18031285
ssvl, how do I clean the memory?
0
 

Author Comment

by:Sabrin
ID: 18031615
ibu1, what do I look for in /var/log/httpd
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18035221
In the absence of an answer yet from ssvl, "re-seating" the memory may help, that may be the same thing as "clean" or may not. In other words, unplug & plug back in the memory sticks. Be sure they are firmly home. Once should be enough, if indeed this is the problem.
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 300 total points
ID: 18035233
Take precautions against static electricity: wear your wriststrap if you have one else ty to toucg the metalwork of the computer chassis as much of the time as practicable and certainly just before you start.
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18035235
toucg should be touch
0
 

Author Comment

by:Sabrin
ID: 18036921
the datacenter is 100 miles away from where I am..
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18040140
If it *is* a hardware problem, you'd have to physically fix it even if the system was at the North Pole. Pursue software possibilities first.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now