Hi All.

I have a big problem to connect to my DB2 with nginx+uwsgi+web2py.
everything works fine via "python web2py.py -p 8080"

If start my Webpage,i get this error:

Error ticket for "init"
Ticket ID

127.0.0.1.2016-08-26.04-58-56.762c9daf-b362-412c-a0e5-8597f467f3a0
<type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: 
Traceback (most recent call last): File 
"/var/www/web2py/gluon/packages/dal/pydal/base.py", line 437, in __init__ 
self._adapter = ADAPTERS[self._dbname](**kwargs) File 
"/var/www/web2py/gluon/packages/dal/pydal/adapters/base.py", line 57, in 
__call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File 
"/var/www/web2py/gluon/packages/dal/pydal/adapters/db2.py", line 93, in 
__init__ if do_connect: self.reconnect() File 
"/var/www/web2py/gluon/packages/dal/pydal/connection.py", line 104, in 
reconnect self.connection = f() File 
"/var/www/web2py/gluon/packages/dal/pydal/adapters/db2.py", line 88, in 
connector return self.driver.connect(cnxn, **driver_args) Error: (' ', '[ ] 
[unixODBC][IBM][CLI Driver] SQL10007N Message "0" could not be retrieved. 
Reason code: "3".\n (-1390) (SQLDriverConnect)') 

Can help someone ?

Thanks!

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to