Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Server Admin stubs its toe on MinSpareServers

Hello. For mod_wsgi, I reinstalled Apache using this config:


CFLAGS="-arch x86_64" # only Intel64

./configure --enable-layout=Darwin --with-mpm=worker


Apparently Server Admin application doesn't like this setup. Upon attempting to save a Virtual host config I get this error:


Cannot save changes

Some configuration data is invalid: The Minimum Spare Servers field must not be empty.


In order to get Apache to run with mod_wsgi I had to comment out these 2 directives:

MinSpareServers 16

MaxSpareServers 64


I think this is because mpm=worker compiles-in the multithreading function:

apachectl configtest

Syntax error on line 46 of /etc/apache2/httpd.conf:

Invalid command 'MinSpareServers', perhaps misspelled or defined by a module not included in the server configuration


How to get Server Admin to disregard the MinSpareServers parameter? Is this a bug?

Posted on May 31, 2011 5:57 AM

Reply
1 reply

May 31, 2011 8:12 AM in response to Gnarlodious

Probably not the answer you want... If you have decided to roll your own software deployments and your own updates, then you also get to do your own management and tools and updates, too.


The Server Tools management tools have historically tended to tip over when various of their underlying products and dependencies change.


There are some options. Manual management of the configuration files, or by installing and using different management tools, potentially by using a packaged versions of the required tools (eg: MAMP or XAMPP), potentially by following this (client?) set-up discussion or this discussion (and using a pre-built or side-built module rather than a full Apache rebuild), or (if this is something your environment commonly requires) by using an OS platform where these sorts of OS configuration changes are typical practice.

Server Admin stubs its toe on MinSpareServers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.