Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenERP Server Error Access denied

After installing Odoo, I went to web panel where it asked create new database.

As I entered details I got error. I can change master password successfully. I already created database on putty and there is no openerp-server.conf file under /etc/ folder.

    Odoo
OpenERP Server Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 500, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 517, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 284, in _call_function
    return self.endpoint(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 733, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 376, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 714, in create
    params['create_admin_pwd'])
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 807, in proxy_method
    result = dispatch_rpc(self.service_name, method, args)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 100, in dispatch_rpc
    result = dispatch(method, params)
  File "/usr/lib/python2.7/dist-packages/openerp/service/db.py", line 62, in dispatch
    security.check_super(passwd)
  File "/usr/lib/python2.7/dist-packages/openerp/service/security.py", line 33, in check_super
    raise openerp.exceptions.AccessDenied()
AccessDenied: Access denied.
like image 425
Danish Avatar asked Dec 02 '22 15:12

Danish


2 Answers

Using following command you will get location of .conf file

locate openerp-server.conf

Now go to that path and open it and check out master password whether it's same as you given while creating a new database.

like image 118
Bhavesh Odedra Avatar answered Dec 04 '22 04:12

Bhavesh Odedra


@Danish the master password should be "admin" it is required to newly create your database

like image 44
Nwawel A Iroume Avatar answered Dec 04 '22 03:12

Nwawel A Iroume