تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
43232 أدوات العرض

Hi, I have just installed OpenERP v7.0 on a Centos 6.3 server (minimal x64) with PostgreSQL 9.2 and now when I try create db from db manager in OpenERP Web Interface, the application show me this error:

OpenERP Server Error (code) Server Access denied.

I have used a script to install openERP, and works fine...but when I try create db from web interface, doesn't work. During script execution doesn't tell me nothing about master password of postgres or similar.

Thanks!

الصورة الرمزية
إهمال

createdb -O bn_openerp testdb

أفضل إجابة

You can give bn_openerp user the right to create database (superuser), so you won't need to go through the cli to manage DB.

http://doc.openerp.com/v7.0/install/linux/postgres/index.html#first-method

الصورة الرمزية
إهمال
الكاتب

Thanks! solved.

Click on the check mark on the left then ;)

أفضل إجابة

Solved. The problem is that script doesn't create any database for openerp. Solution: postgres=# create database testdb; postgres=# alter database testdb owner to bn_openerp;

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
مارس 15
17338
1
يوليو 22
2414
6
يناير 24
15271
2
يناير 17
5536
0
مايو 16
4821