跳至內容
選單
此問題已被標幟
2 回覆
16973 瀏覽次數

/usr/bin/openerp-server --addons-path /etc/openerp/openerp-connector

ERROR:

Running as user 'root' is a security risk, aborting.

頭像
捨棄

Hi Tomasz, How do you overcome this problem?

最佳答案

OpenERP requires a user not to be a root to start. You should consider creating a special system user, that will be running that application and has rights to access Postgresql. Chekc out the guide at http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/.

頭像
捨棄
最佳答案

You have to install openerp under another user, such as openerp. You have to:

  • install necessary packages
  • create openerp user
  • create directory where you will install openerp
  • grant rwx permissions to the openerp user
  • install openerp under the openerp user
  • finally, run openerp with the openerp user
頭像
捨棄