On 30/06/2014, at 8:31 PM, Liam Thompson <[email protected]> wrote: > Hi there > > I am trying to get the mod_wsgi-express PyPi package working on my system in > virtualenv with Apache 2.4.6 running Ubuntu 13.10, fully updated. > The system I'm developing for unfortunately needs to run 2.6.9, so there is a > discrepancy between the needed python and the system default (2.7.5) > and the compiled mod_wsgi. > > In any event, following the instructions on PyPi I am getting > > "AH00534: apache2: Configuration error: More than one MPM loaded."
Exactly what version of mod_wsgi are you installing? What do you get when you run: /usr/sbin/apache2 -M > when trying to run > > "mod_wsgi-express start-server apache/apache.wsgi --port 8001 > --httpd-executable=/usr/sbin/apache2 --user=www-data --group=www-data" You don't need the options: --user=www-data --group=www-data if you are running as normal user, they will do nothing. They should only be needed in special cases if using 'setup-server' to allow creation of scripts to later run as root. What are the following set to in the 'apachectl' directory created under the temporary 'Server Root' created by mod_wsgi express when you don't supply any options? > No variation of the above that I have tried seems to make any difference. > > I've tried to find more information on how not to load more than one MPM, but > there does not seem to be much info on it, or my search terms are wrong. > There is a post on SO by another person experiencing this same problem, but I > think this module is still quite new for lots of DIY tips to be around. > > I have seen a suggestion of recompiling Apache to support shared MPM > (--enable-mpms-shared), but that is something I'm hoping to avoid at this > point. > > I would be most grateful for any suggestions. > > Thanks > Liam > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/modwsgi. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
