Apache errors and warnings

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


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


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.

Leave a Reply

Protected by WP Anti Spam