Hi Andreas, 

I can connect using "python manage.py dbshell" it connects without any 
error. 

Is there a difference, if i am not mistaken the dbshell test shows that the 
configuration of the DB is correct and that i can connect from the machine, 
correct ?? From the stack trace it seems that the real issue is not 
returned and the only thing i get is the "NOT CONNECTED TO ORACLE" error


Regards,
Alex

On Friday, February 20, 2015 at 7:12:05 PM UTC+2, Andréas Kühne wrote:
>
>
> 2015-02-20 17:18 GMT+01:00 <[email protected] <javascript:>>:
>
>> Hi, 
>>
>> I migrated my project to a new infrastructure but i kept the same 
>> versions Apache 2.2 + mod_wsgi + python 2.6.1 + Django 1.2.1  
>>
>> I am trying to run my project and i am getting the below exception that 
>> seems to be from Django and i need help pin pointing the exact cause, 
>> because i think that the actual exception is never caught and returned to 
>> the log and all i am getting is the OperationalError: ORA-03114: not 
>> connected to ORACLE. I checked the Oracle DB and i can connect to it. 
>>
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] mod_wsgi 
>> (pid=27565): Exception occurred processing WSGI script 
>> '/opt/wgt_proxy/wgtproxyProj/wgtproxy/apache/django.wsgi'.
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] Traceback (most 
>> recent call last):
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]   File 
>> "/opt/wgt_proxy/wgtproxyProj/wgtproxy/apache/django.wsgi", line 50, in 
>> __call__
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]     return 
>> self.__application(environ, _start_response)
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]   File 
>> "/opt/webtier/python_64/lib/python2.6/site-packages/django/core/handlers/wsgi.py",
>>  
>> line 248, in __call__
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]     
>> signals.request_finished.send(sender=self.__class__)
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]   File 
>> "/opt/webtier/python_64/lib/python2.6/site-packages/django/dispatch/dispatcher.py",
>>  
>> line 162, in send
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]     response = 
>> receiver(signal=self, sender=sender, **named)
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]   File 
>> "/opt/webtier/python_64/lib/python2.6/site-packages/django/db/__init__.py", 
>> line 82, in close_connection
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]     conn.close()
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]   File 
>> "/opt/webtier/python_64/lib/python2.6/site-packages/django/db/backends/__init__.py",
>>  
>> line 70, in close
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx]     
>> self.connection.close()
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] OperationalError: 
>> ORA-03114: not connected to ORACLE
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] 
>> [Fri Feb 20 17:40:51 2015] [error] [client xx.xx.xx.xx] Request Failed 
>> for : /wgtproxy/admin/, Resp Code : [500]
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/88d2de85-f330-4c35-9818-9c19addcc1cf%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/88d2de85-f330-4c35-9818-9c19addcc1cf%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> What happens if you try to do "python manage.py dbshell"? Are you able to 
> connect to the database then?
>
> Regards,
>
> Andréas
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/71056041-36f4-4392-9303-4775dc80a510%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to