Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Apache errors and warnings  (Read 2729 times)

0 Members and 1 Guest are viewing this topic.

Haripriya H

  • Guest
Apache errors and warnings
« on: November 19, 2013, 10:43:52 pm »
If your apache server stops and if you are getting the following errors when you restart apache services

[error] VirtualHost — mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

Then you missed an port number entry in the virtual host entries in the main configuration file

Follow the steps to resolve the problem :


1.Goto apache configuration file

#vi /usr/local/apache/conf/http.conf

2.Locate the Virtual host which doesn’t have an port number specified in it and add the port number as below
Change the line from

VirtualHost xx.xx.xx.xx
ServerName servername.domain.tls
DocumentRoot /usr/local/apache/htdocs

to
VirtualHost xx.xx.xx.xx:80
ServerName servername.domain.tls
DocumentRoot /usr/local/apache/htdocs


This will fix the problem.

IF you are getting any warning messages as below

WARNING: MaxClients of 850 exceeds ServerLimit value of 700 servers,lowering MaxClients to 700. To increase, please see the ServerLimitdirective.

Open the configuration file and edit the line

ServerLimit 700
MaxClients 850

to
ServerLimit 850
MaxClients 850


You are getting this error message just because you have set the server to respond only 700 concurrent connections and the maximum client requests as 850.