安装Odoo之后,我去了网页面板,要求创建新的数据库。
当我输入详细信息时,我收到了错误消息。我可以成功更改主密码。 我已经在putty上创建了数据库,并且在/ etc /文件夹下没有openerp-server.conf文件。
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.
答案 0 :(得分:9)
使用以下命令,您将获得.conf文件的位置
locate openerp-server.conf
现在转到该路径并打开它并检查主密码是否与创建新数据库时的相同。
答案 1 :(得分:5)
@Danish主密码应为" admin "它需要新建数据库
答案 2 :(得分:2)
用于创建数据库的主密码与为PostgreSQL服务器设置的主密码不同。
答案 3 :(得分:0)
@Danish