Hi Sam, Yes, you are right, i want to run Django project on my LAMP server, before i did the Django project, i also made some PHP work under /var/ www. But now the PHP work doesnt work any more. Here is the apache error: [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:53 2011] [error] Exception KeyError: KeyError(-1218464000,) in <module 'threading' from '/usr/lib/python2.6/ threading.pyc'> ignored [Tue Mar 29 23:56:54 2011] [notice] caught SIGTERM, shutting down
On 3月30日, 下午1时09分, Sam Walters <[email protected]> wrote: > Hi Yongzhen, > > Looks like you're trying to run two mis-configured web servers. > > if you're on linux stop the nginx process eg: /etc/init.d/nginx stop > The stuff you've submitted is for apache: Send us the contents of the > apache log file showing the error. > > Perhaps *if the error is long* usehttp://pastebin.com/instead of > putting the error code into the email. > > cheers > > sam_w > > > > On Wed, Mar 30, 2011 at 8:40 AM, creecode <[email protected]> wrote: > > Hello Yongzhen, > > > The first thing you might want to find out is why, apparently, nginx > > is giving you an error when you say that you are using apache/wsgi. > > > If I had to guess I'd say you might have an nginx server acting as a > > proxy in your stack somewhere. I'm not an expert though as I've just > > been getting to grips with basic proxying myself. > > > Check for an nginx error log somewhere... see what that says, if > > there... > > > On Mar 29, 2:07 pm, yongzhen zhang <[email protected]> wrote: > > >> nginx/0.7.65 > > > Toodle-loooooooo.......... > > creecode > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > 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 > > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. 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/django-users?hl=en.

