On Nov 17, 10:58 am, Damon Jablons <damonjabl...@gmail.com> wrote: > Hey, > > I'm running Nginx which proxies Apache and on my website, I get the > following error when I tail the Apache log: > > [Mon Nov 16 23:51:08 2009] [error] [client 127.0.0.1] No WSGI daemon > process called 'sub.domain.net' has been configured: /var/www/django/ > scribblitt/deploy/domain.wsgi
Is 'sub.domain.net' really what you use in your configuration or have you changed the name to protect what you are using? In this case it is critical that the unmodified original configuration is seen because you changing names to protect stuff could have destroyed parts of the original configuration that show the problem. Anyway, the basis of the error message is that for whatever value you have set WSGIProcessGroup, there is no corresponding WSGIDaemonProcess directive of the same name to match against. BTW, state what version of mod_wsgi you are using and make sure you aren't using mod_wsgi older than 2.4 in case you are getting hit by rare configuration corruption bug. Graham > Here's my Apache config for this site: > <VirtualHost *:8080> > #Basic setup > ServerAdmin w...@domain.net > ServerNamewww.sub.domain.net > ServerAlias sub.domain.net > > <Directory /var/www/django/domain/deploy> > Order deny,allow > Allow from all > </Directory> > > LogLevel warn > ErrorLog /var/log/apache2/sub.domain.net.error.log > CustomLog /var/log/apache2/sub.domain.net.log common > > WSGIDaemonProcess sub.domain.net user=www-data group=www-data > threads=25 > WSGIProcessGroup sub.domain.net > > WSGIScriptAlias / /var/www/django/domain/deploy/domain.wsgi > </VirtualHost> > > Thinking permissions were the problem, I ran: # chown -Rf www-data:www- > data /var/www/django/ > and then: # chmod -Rf 755 /var/www/django/ > after restarting Apache, I receive the same error. > > Here's my wsgi file: > import os > import sys > import site > > os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' > os.environ['PYTHON_EGG_CACHE'] = '/var/www/django/.python-eggs' > > site.addsitedir('/var/www/django/domani/env/lib/python2.6/site- > packages') > sys.path.append('/var/www/django/domain/src') > > import django.core.handlers.wsgi > _application = django.core.handlers.wsgi.WSGIHandler() > > def application(environ, start_response): > environ['wsgi.url_scheme'] = environ.get('HTTP_X_URL_SCHEME', > 'http') > return _application(environ, start_response) > > Any ideas? > > Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=.