Hi Graham,
Thank your for responding to my tweets. Sorry , i should have done posting
my query here.
This is my project Structure. ( under /var/www/)
bingoproject
|-- manage.py
|-- bingo
| |-- __init__.py
| |-- __init__.pyc
| |-- settings.py
| |-- settings.pyc
| |-- urls.py
| |-- wsgi.py
| `-- wsgi.pyc
`-- bingoapp
|-- __init__.py
|-- __init__.pyc
|-- migrations
| |-- 0001_initial.py
| |-- 0001_initial.pyc
| |-- __init__.py
| `-- __init__.pyc
|-- models.py
|-- models.pyc
|-- static
| `-- admin
| |-- css
this is httpd.conf:
ServerName bingo
WSGIPythonHome /usr/local
WSGILazyInitialization on
#WSGIRestrictEmbedded on
This is bingo.conf file :
<VirtualHost *:80>
ServerName www.bingo.com
WSGIDaemonProcess venukulala-bingo user=venukulala group=venukulala
processes=2 threads=5 python-eggs=/tmp/python-eggs/ python-path=/$
WSGIProcessGroup venukulala-bingo
WSGIScriptAlias / /var/www/bingoproject/bingo/wsgi.py
<Directory /var/www/bingoproject/>
Order deny,allow
Allow from all
</Directory>
Alias /static
/usr/local/lib/python2.7/dist-packages/django/contrib/admin/static
<Directory/usr/local/lib/python2.7/dist-packages/django/contrib/admin/static
>
Order allow,deny
Allow from all
SetHandler None
FileETag none
Options FollowSymLinks
</Directory>
ErrorLog /var/log/apache2/bingo-error.log
LogLevel info
CustomLog /var/log/apache2/bingo-access.log combined
</VirtualHost>
i have tried changing the WSGIPythonHome to actual path in /usr/lib , also
creating a virtual env and then pointing to this path ...didnt work.
These are the errors i see in the error.log ...
[Wed Jun 19 14:31:03 2013] [info] [client 10.74.152.157] mod_wsgi
(pid=29245): Connect after WSGI daemon process restart, attempt #1.
[Wed Jun 19 04:01:03 2013] [info] mod_wsgi (pid=5253): Stopping process
'venukulala-bingo'.
[Wed Jun 19 04:01:03 2013] [info] mod_wsgi (pid=5253): Destroying
interpreters.
[Wed Jun 19 04:01:03 2013] [info] mod_wsgi (pid=5253): Destroy interpreter '
www.bingo.com|'.
[Wed Jun 19 04:01:03 2013] [info] mod_wsgi (pid=5253): Cleanup interpreter
''.
[Wed Jun 19 04:01:03 2013] [info] mod_wsgi (pid=5253): Terminating Python.
[Wed Jun 19 14:31:03 2013] [info] mod_wsgi (pid=7585): Create interpreter '
www.bingo.com|'.
[Wed Jun 19 14:31:03 2013] [info] [client 10.74.152.157] mod_wsgi
(pid=7585, process='venukulala-bingo', application='www.bingo.com|'):
Loading WSGI script '/var/www/bingoproject/bingo/wsgi.py'.
[Wed Jun 19 04:01:03 2013] [info] mod_wsgi (pid=5253): Python has shutdown.
[Wed Jun 19 14:31:03 2013] [info] mod_wsgi (pid=7699): Attach interpreter '
Any help is greatly appreciated.
Thanks,
Venu
--
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/groups/opt_out.