字體:小 中 大 | |
|
|
2016/06/15 22:06:34瀏覽188|回應0|推薦3 | |
[夏肇毅知識運算網 Mark Hsia's Knowledge Computing Web] 如何在Ubuntu上使用不同使用者偵錯OpenERP(Odoo) Debug the Odoo in Ubuntu with different user nameOnce we've installed the Odoo as a service in Ubuntu, Odoo will be started up automatically. If we want to debug the Odoo, we should stop the Odoo service first. Also, we will encounter the "Peer authentication failed for user "odoo"" error if our login user name is not odoo. In order to conquer these problems we should do the following steps:1. Stop service:
sudo service odoo stop
2. set the user odoo as a trusted user to all databases from local:
sudo nano /etc/postgresql/9.3/main/pg_hba.conf
then add the following line into the file:
local all odoo trust then restart the postgresql:
sudo service postgresql restart3. Start odoo with the db user odoo:
cd /usr/bin./odoo.py -r odoo Reference: Peer authentication failed for user "odoo" |
|
( 知識學習|隨堂筆記 ) |