LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-11-2013, 04:42 PM   #1
drhood
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Rep: Reputation: Disabled
Frequent offline debian apache2 server


Hi All,

I have a debian (wheezy) web server (home built machine) that frequently (once a day) goes offline mysteriously. I administer the server via ssh and when it goes offline a "Broken pipe"g message appears, which means that the SSH connection died. Websites are no longer reachable. If I connect a monitor to the webserver after the server is unreachable by SSH and sites unreachable, the monitor screen remains black (entire system is dead?). The only thing I can do is a force reboot via the power button. Many times it takes two reboots for the server to become reachable again.

I have reviewed /var/log files and searched and have come up empty on a possible the cause.

When this happens, I notice that /var/log/syslog file reports one or more tables in a mysql database has crashed and needs repair. However, repairing the database tables via myphpadmin does not prevent the server from going offline again, which may indicate the database table crash was due to the force reboots.

I have checked the server for rootkts with rkhunter (1.4.0) and none are found.

I can post only 2 minutes of the syslog file and doubtful it will be very informative.

Any suggestion on what to look for in my log files or any kind of pointer will be appreciated.

System: Debian (Wheezy)
Services: apache2, fail2ban, squirrelmail, pure-ftp, courier, bind, autofs
Hardware: 1.7 Ghz CPU, 2Gb RAM, 1TB disk space,

Update (Oct 14): Apparent cause was postfix not running, see post below dated Oct 14. Started the service with the /etc/init.d/postfix start command.

Last edited by drhood; 10-14-2013 at 05:35 AM. Reason: [Solved] Apparent solution below
 
Old 10-12-2013, 03:26 AM   #2
tux111
Member
 
Registered: Oct 2012
Location: Germany
Distribution: CentOS 6.5
Posts: 51

Rep: Reputation: Disabled
Quote:
Originally Posted by drhood View Post
Many times it takes two reboots for the server to become reachable again.
is there any message at the first attempt to boot?
 
Old 10-12-2013, 10:07 PM   #3
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon
Posts: 276

Rep: Reputation: Disabled
With the information available it sounds like a hardware issue. Heat?? Ram?? Had that happen with an old IBM 300 and it turned out to be bad ram.
 
Old 10-14-2013, 05:33 AM   #4
drhood
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you tux11 and leandean for the replies.

I noticed that postfix was not running, so I started the postfix service. Since starting postfix, the problem appears to have disappeared. I say disappeared because I feel like I have not done enough to know the absence of postfix was causing the problem. The system has been running for the past 30 or so hours, which is significantly longer than the 1 hr or less that was happening.

For now, I will call this problem apparently solved.

Thanks again.
 
Old 11-04-2013, 05:15 AM   #5
drhood
LQ Newbie
 
Registered: Oct 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
[SOLVED] Heat was the cause

This is just a follow up post with the final solution that was causing the problem described in the first post of this thread. The root cause was heat, which was due to a faulty power supply. The symptoms described above has gone away after replacing the power supply. The system has been running for over a week without issue.

Thanks tux111 and leandean for replying. The replies helped pave the way to a resolution.

Last edited by drhood; 11-04-2013 at 05:17 AM. Reason: Added specificity
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
setting up and starting Apache2 to work offline cre84j Linux - Server 4 07-12-2011 07:02 AM
Memory usage increasing Debian Lenny Apache2 server johnsan Linux - Newbie 4 05-11-2010 06:50 AM
Subversion server with Apache2 on Debian Etch indienick Linux - Server 1 09-02-2008 11:03 AM
I need help setting up my Debian/apache2/php/mysql server antinull Linux - Newbie 17 10-31-2007 05:18 AM
Apache2 + Debian: how to hide information about server? Warp22 Linux - Software 5 04-11-2005 12:27 AM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration