Hi,
Thanks for your reply.
I do have tried to restart, stop/start Apache, it does not work.
I'm 
following 
http://blog.stannard.net.au/2010/12/11/installing-django-with-apache-and-mod_wsgi-on-ubuntu-10-04/
 
as a guide to deploy it. (Sorry that I'm a newbie, cannot tell if it is 
embedded or daemon)
 

On Wednesday, September 5, 2012 8:42:27 AM UTC-4, Graham Dumpleton wrote:
>
> Are you using embedded mode or daemon mode? 
>
> Are you trying to restart or shutdown Apache when you get the error? 
>
> Graham 
>
> On 5 September 2012 22:17, Qitong Hu 
> <[email protected]<javascript:>> 
> wrote: 
> > Hi all, 
> > I am trying to use wsgi with django. 
> > Now, when I use django's python manage.py runserver, it works fine. 
> > But when I use apache directly, there is an error [error] child process 
> > 11571 still did not exit, sending a SIGKILL and Error opening file for 
> > reading: Permission denied 
> > [Wed Sep 05 12:07:36 2012] [error] [client ****] Premature end of script 
> > headers: django.wsgi 
> > 
> > In the python code, I think it is caused by gensim and nltk module 
> loading, 
> > since if I comment that, the apache works fine. 
> > Does any one have experienced similar situation and could help me here 
> to 
> > solve this problem? 
> > Thanks a lot 
> > 
> > -- 
> > 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/-/esNfoCEdx4QJ. 
> > To post to this group, send email to [email protected]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:>. 
> > For more options, visit this group at 
> > http://groups.google.com/group/modwsgi?hl=en. 
>

-- 
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/-/gXcM2vmUfdYJ.
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.

Reply via email to