?
Solved

after change ip address,apache become slow

Posted on 2003-03-31
3
Medium Priority
?
308 Views
Last Modified: 2010-03-04
Hi,
 I am a beginner.I use redhat8.0+apache(rpm)+sendmail,it worked good before.
  After change ip,apache become very slow. Default page takes me 40 seconds(0.1s before).
  I checked apache error_log,a new error"directory index is forbidden by rule...."appears after ip change.
  Thanks.
   
0
Comment
Question by:swm9999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
ag0ny earned 225 total points
ID: 8251847
This looks like a problem with the name resolution. Looks like Apache is trying to resolve the IP where the requests come from, but it is unable to do so and it doesn't reply until the DNS query timeouts.

Please make sure that you updated /etc/hosts after the IP change.
0
 

Author Comment

by:swm9999
ID: 8258588
I have sloved this problem.
I made a mistake in dns configuration,added a wrong dns IP address.I checked /etc/sysconfig/network-scripts/   /etc/sysconfig/network . After completely removed wrong dns settings,apache is working good now.
Thanks you,agOny.
0
 
LVL 1

Expert Comment

by:burnsj2
ID: 20140644
Hi swn9999,
Can you relay some details about what was wrong with your /etc/sysconfig/network-scripts/   /etc/sysconfig/network or other DNS?  I am having a similar problem and can't seem to crack it.
Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 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