On 30/06/2014, at 9:21 PM, Graham Dumpleton <[email protected]> wrote:
> > 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? And the missing bit was what are these set to when you don't supply any options. HTTPD="/usr/sbin/httpd -f /tmp/mod_wsgi-localhost:8000:502/httpd.conf -DWSGI_SERVER_METRICS" WSGI_RUN_USER="${WSGI_RUN_USER:-graham}" WSGI_RUN_GROUP="${WSGI_RUN_GROUP:-staff}" Graham -- 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.
