View Single Post
Tuổi 30-10-2015, 09:03 AM   #1
Trả Lời: n/a
Odoo Access Denied When Creating New Database
Odoo Access Denied When Creating New Database

Sau khi cài đặt xong Odoo và truy cập vào http://IP:8069 để tạo Database đầu tiên thì bạn được yêu cầu nhập password master, nếu nhập sai thì bạn sẽ nhận thông báo lỗi sau:

After installing Odoo (previously known as OpenERP),

the following error occurred when attempting to create a new database:

Odoo Server Error Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/openerp/", line 530, in _handle_exception return
super(JsonRequest, self)._handle_exception(exception) File "/usr/lib
/python2.7/site-packages/openerp/", line 567, in dispatch result =
self._call_function(**self.params) File "/usr/lib/python2.7/site-packages
/openerp/", line 304, in _call_function return self.endpoint(*args,
**kwargs) File "/usr/lib/python2.7/site-packages/openerp/", line
796, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7
/site-packages/openerp/", line 396, in response_wrap response =
f(*args, **kw) File "/usr/lib/python2.7/site-packages/openerp/addons
/web/controllers/", line 694, in create params['create_admin_pwd'])
File "/usr/lib/python2.7/site-packages/openerp/", line 872, in
proxy_method result = dispatch_rpc(self.service_name, method, args) File
"/usr/lib/python2.7/site-packages/openerp/", line 114, in
dispatch_rpc result = dispatch(method, params) File "/usr/lib/python2.7
/site-packages/openerp/service/", line 65, in dispatch
security.check_super(passwd) File "/usr/lib/python2.7/site-packages
/openerp/service/", line 33, in check_super raise
openerp.exceptions.AccessDenied() AccessDenied: Access denied.


The error happened because the master password that was specified to create the database is not the same with the master password set in Odoo to allow the PostgreSQL database operations.


nhập password mặc định là: admin

The solution to the access denied error is easy. Just make sure that the master password for the database operations is correct.
By default, if you have never changed the master password, or if your Odoo is newly installed, or the Odoo config file doesn’t contain admin_password value, or the admin_password variable is commented out, or no configuration file is specified, then the default master password is admin.
But if the “admin” master password does not work, probably it has been changed to another password. To check the master password currently set, find and edit the Odoo configuration file, openerp-server.conf which is normally located in /etc or /etc/odoo directory, and then check the value for admin_passwd parameter.

If you cannot find the openerp-server.conf file, use the following command to help you to locate the file: locate openerp-server.conf

  Trả lời ngay kèm theo trích dẫn này