After updating from Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8o
DAV/2 PHP/5.2.11 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.1+ to
Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze14 with Suhosin-Patch
mod_wsgi/3.3 Python/2.7.1+
my server gives an internal error 500:
[error] mod_wsgi (pid=21042): Target WSGI script '/var/www/config.wsgi'
cannot be loaded as Python module.
[error] mod_wsgi (pid=21042): Exception occurred processing WSGI script
'/var/www/config.wsgi'.
[error] Traceback (most recent call last):
[error] File "/var/www/config.wsgi", line 25, in <module>
application.__call__(environ, start_response)
[error] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 252,
in __call__response = middleware_method(request, response)
[error] File
"/usr/lib/python2.7/dist-packages/django/contrib/sessions/middleware.py",
line 36, in process_response request.session.save()
[error] File "/usr/lib/python2.7/dist-packages/redisession/backend.py",
line 90, in save hkey = conf['HASH_KEY_GENERATOR'](self.session_key)
[error] File
"/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py",
line 152, in _get_session_key self._session_key =
self._get_new_session_key()
[error] File
"/usr/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py",
line 144, in _get_new_session_key if not self.exists(session_key):
[error] File "/usr/lib/python2.7/dist-packages/redisession/backend.py",
line 138, in exists 'data')
[error] File "/usr/lib/python2.7/dist-packages/redis/client.py", line 1042,
in hexists return self.execute_command('HEXISTS', name, key)
[error] File "/usr/lib/python2.7/dist-packages/redis/client.py", line 280,
in execute_command connection.send_command(*args)
[error] File "/usr/lib/python2.7/dist-packages/redis/connection.py", line
242, in send_command self.send_packed_command(self.pack_command(*args))
[error] File "/usr/lib/python2.7/dist-packages/redis/connection.py", line
225, in send_packed_command self.connect()
[error] File "/usr/lib/python2.7/dist-packages/redis/connection.py", line
173, in connect raise ConnectionError(self._error_message(e))
[error] ConnectionError: Error 2 connecting to unix socket:
/var/run/redis.sock. No such file or directory.
Is there an idea what's going wrong?
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/modwsgi/-/-r0Zmi-nWa8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en.