Improve company productivity with a Business Account.Sign Up

x
?
Solved

Apache web server problem

Posted on 2011-03-24
4
Medium Priority
?
263 Views
Last Modified: 2012-05-11
Hi,
Our web application (apache+php+oracle) is not stable for 2 days. it stoped working (page can not be displayed/time out) frequently. This happened after we had an oracle problem (our client stations lost connection to oracle for about 10 minutes) Tuesday AM.
Any adea how can we fix this problem?
Thanks a lot,
Luchuan
0
Comment
Question by:luchuanc
4 Comments
 
LVL 7

Assisted Solution

by:Pr1z
Pr1z earned 600 total points
ID: 35208802
Could be almost anything ... are there any errors in the Apache, Oracle, PHP or OS log files that may be relevent??

Is it something as silly as a full disk/partition??

Priz
0
 
LVL 20

Assisted Solution

by:gatorvip
gatorvip earned 600 total points
ID: 35214720
In addition to checking the logs for errors, make sure you check your network connections
0
 
LVL 4

Accepted Solution

by:
nemagee earned 800 total points
ID: 35218917
Agreed with the two experts above -- you should check that your have a working network connection by pinging or nslookuping something:
 
  nslookup www.google.com
  ping www.yahoo.com

Check if you have any disc partitions full at 100%:

  df

Check if Apache is indeed running:

  ps aux | grep apache    (or)
  ps aux | grep httpd

Those commands should list a number of apache processes handling connections.

It's often the simple things that are difficult to think of to check, when things are crashing, but they're definitely worth checking.
0
 

Author Closing Comment

by:luchuanc
ID: 35219001
Hi All,
We finally found out the root cause: A new web server(under testing) and the current web server have the same IP address.

Thanks a lot for your ideas.

Luchuan
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

585 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