Monday, February 28, 2011

Re: Django+ oracle, working with apache(mod_python, wsgi) and in runserver, ora-03114 in fastcgi

also when i first run fast cgi it is working, but only first page,
second return error, after killing fcgi and run it again a can get
another page (but only one)
it;s looks like this:
1)python2.6 manage.py runfcgi host=127.0.0.1 port=9001 --
settings=settings
2) go to http://localhost <- page is working
3) go to http://localhost <- error
4) kill fcgi, run "1" point again
5) go to http://localhost <- page is working
6) go to http://localhost <- error

On 28 Lut, 16:04, lipt0n <michal.lipin...@gmail.com> wrote:
> Hi
> my application works fine in apache as mod_python and wsgi, also work
> great when I run manage.py runserver
> but I have to move it on nginx.
>
> so I run it by 'python2.6 manage.py runfcgi host=127.0.0.1 port=9001 --
> settings=settings'
> and it works fine until it have to connect to the database (oracle in
> my situation) and i get " Unhandled Exception",
> when I checked logs its what I found :
> "
> OperationalError: ORA-03114: not connected to ORACLE" while reading
> response header from upstream, client: 192.168.1.105, server:
> localhost, request: "POST / HTTP/1.1", upstream: "fastcgi://
> 127.0.0.1:9001", host: "192.168.1.50", referrer: "http://
> 192.168.1.50/"
> "
>
> ORACLE enviroment vars are set correctly, what can I do to fix this?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment