Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
16995 มุมมอง

/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
อวตาร
ละทิ้ง