473,387 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

HTTPD and SENDMAIL (maybe others) go dead after weeks

dlite922
1,584 Expert 1GB
I'm no linux guru, but I get around the OS fine. I deployed a CentOS 5 server and with PHP 5, Apache 2.2 and MySQL 5 a couple of months ago. I noticed that apache and sendmail just go dead after a few weeks (2 times that it has happened so far, and I'm guessing it will happen again). Had to kill the services and restart them. I have no clue how to diagnose this.

Can someone point me to a direction, how to log it when it happens again (if its not already logged, or at all possible) etc.

Could it be hardware related? It's a Xeon with Intel Entry board with 2G DDR2 533

Thanks guys!


Dan
Nov 12 '08 #1
2 1947
mac11
256 100+
It's a bit of a red flag to me that both apache and sendmail go silent. To me that makes me want to investigate some external problem - a network issue of some sort - maybe something in your network is conflicting your server or diverting his traffic.

I don't know what your network setup is like, and I won't claim to know much about networking, in fact, I hate it.

Anyway, your apache is probably logging stuff unless you've told it not to. You could start by looking at the logs. Your httpd.conf file will tell you where the log lives. I never set up a sendmail so I don't know about it's logging. You could also try poking through your other logs just to see if anything fishy is going on.
Nov 12 '08 #2
dlite922
1,584 Expert 1GB
ya thanks, logs is the first thing I checked, they all looked cleaned and in order (as if the services were still running but no requests have been made)

"frozen logs" i guess is a good description.

The server has not had this problem since, so I'm hoping I don't see it again, if I do I'll be sure to post the solution here, if anybody else is having the same issue. (Don't hold your breath though)



Dan
Nov 19 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Babaloo | last post by:
Hello, I am having a problem with PHP 4.2.2 and RH 8. PHP is working fine except email. I have a test script to send mail, I have sendmail_path = '/usr/lib/sendmail -t -i' set in php.ini,...
6
by: Sumith Bandula | last post by:
Hi all, I am using a simple php script to send a mail. <?php if (mail($to, $sub, $message, $from)) echo "sent mail successfully<br>\n"; ?> It GOES $to = "me@localhost.localdomain"
1
by: John | last post by:
Hi. I am in the httpd file in the Apache folder and need to change the part that says AllowOverride from None to All, so that when I create a ..htaccess file it wont ignore it. However in the...
4
by: jim | last post by:
Hello, I am having a problem w/SendMail reporting: " No recipient addresses found in header". Funny thing is though, I properly recieve the email message. Thanks for your help. -jim
2
by: mike | last post by:
I've spent a couple of days on this and I'm to the "bang-my-head 'gainst the monitor and babble in tongues" mode. First - SuSE Pro 9.3, Linux 2.6.11.4-21.7, Apache 2.0.53, PHP 4.3.10 I have...
7
by: Shelly | last post by:
I submitted this to comp.mail.sendmail, but maybe someone here can help me as well. OK, this has most likely been asked and answered several times, but I am still confused after searching. Here...
3
by: swangdb | last post by:
I have a Sun Server running Solaris 10 and Sendmail 8.13.7. I have Majordomo and Listproc installed on this server and they work. I have several production majordomo and listproc mailing lists...
13
by: RJ_32 | last post by:
looking here: http://www.devarticles.com/c/a/PHP/Getting-Intimate-With-PHPs-Mail-Function/2/ it says that I have to be careful about what I send to the sendmail process via popen(). Does that...
3
by: digitaldiva | last post by:
Hi I am new here and once upon a time I worked with Perl, now I am trying again and need some help: I wrote a Perl script a few years ago that opened an order entry TXT file and sent each...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.