Odoo Help


v8: Properly run two instances of OpenERP

on 5/13/14, 2:41 PM 1,927 views

I'm running Openerp v8, but now I had the need to run a second instance of Openerp but whenever I install it somehow the second instance of OpenERP tries to access the first one, and the second one crashes. Here is a little bit about the log file:

File "/home/user/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/serving.py", line 177, in run_wsgi execute(self.server.app) File "/home/user/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/serving.py", line 165, in execute application_iter = app(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/service/server.py", line 273, in app return self.app(e, s)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/service/wsgi_server.py", line 215, in application return application_unproxied(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/service/wsgi_server.py", line 201, in application_unproxied result = handler(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/http.py", line 1097, in __call__ return self.dispatch(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/http.py", line 1074, in __call__ return self.app(environ, start_wrapped)

File "/home/user/lib/python2.7/Werkzeug-0.9.4-py2.7.egg/werkzeug/wsgi.py", line 579, in __call__ return self.app(environ, start_response)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/http.py", line 1234, in dispatch result = ir_http._dispatch() #####---> Noticed that here it changes the directory here I don't know why!

File "/home/user/openerp-8.0/openerp/addons_test/trunk-restaurant-addons/base/ir/ir_http.py", line 106, in _dispatch werkzeug.exceptions.Forbidden))

File "/home/user/openerp-8.0/openerp/addons_test/trunk-restaurant-addons/base/ir/ir_http.py", line 101, in _dispatch auth_method = self._authenticate(func.routing["auth"])

File "/home/user/openerp-8.0/openerp/addons_test/trunk-restaurant-addons/base/ir/ir_http.py", line 76, in _authenticate request.session.check_security()

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/http.py", line 801, in check_security security.check(self.db, self.uid, self.password)

File "/home/user/openerp-8.0-acmlpsc/openerp-8.0/openerp/service/security.py", line 36, in check return res_users.check(db, uid, passwd)

File "/home/user/openerp-8.0/openerp/addons_test/trunk-restaurant-addons/base/res/res_users.py", line 463, in check cr = self.pool.db.cursor()

AttributeError: 'Registry' object has no attribute 'db'

Can you help me with my problem Thank you


Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 6/19/14, 12:23 PM


Did you start another server with a different port?


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 5/13/14, 2:41 PM
Seen: 1927 times
Last updated: 3/16/15, 8:10 AM