KnowledgeBase Glossary    Contact Us
Browse by Category KnowledgeBase .: Virtuozzo and OpenVz Based Accounts .: My Apache Web Server has stopped responding

My Apache Web Server has stopped responding

One common reason the Apache configuration file (/etc/httpd/conf/httpd.conf) stops responding is that it has been edited with a DOS editor. DOS/Windows programs use a carriage return and a line feed to designate an end of line. Linux uses just the line feed character. When a carriage return character is located at the end of a line in a Linux configuration file it can cause the application that uses that configuration file to not work correctly, or even prevent that application from starting. These carriage returns will sometimes appear as ^M at the end of a line.

To avoid this problem, you should always edit the Apache configuration file with a Linux editor (such as vi or Emacs), or using the HSPC control panel with "Unix (LF)" line breaks selected.

See the article "Removing Carriage return characters from a Linux Configuration File" for instructions for more information.

How helpful was this article to you?

Related Articles

article My websites stop responding, even though the server is up and Apache is running.
It is likely that the issue could be resolved...

  1-11-2006    Views: 13058   
article My VE won't start and it is currently in the stopped state. How can I start it?
The first thing to try is to start your VE from...

(No rating)  8-24-2005    Views: 4978   
article Where are my Apache HTTP access logs?
Log files are found in the /logs directory for...

  7-21-2005    Views: 8021   

User Comments

No comments have been posted.

.: Powered by Lore 1.5.4
Copyright 2005-2014 Advantagecom Networks, Inc. - Xen Linux Virtual Private Servers (VPS) - Paypal Accepted