我刚刚在 Linux Mint 中安装了 Odoo。安装过程是正确的。我在安装Postgre时丢失了数据库数据,当我启动openerp-server并加载localhost:8069时,网页显示:“服务器遇到内部错误,无法完成您的请求。服务器过载或存在应用程序中的错误。”
在 Odoo 日志中,错误是:
2014-08-10 11:02:55,941 4924 ERROR ? openerp.addons.bus.bus: Bus.loop error, sleep and retry
Traceback (most recent call last):
File "/home/xxxx/odoo/openerp/addons/bus/bus.py", line 136, in run
self.loop()
File "/home/xxxx/odoo/openerp/addons/bus/bus.py", line 114, in loop
with openerp.sql_db.db_connect('postgres').cursor() as cr:
File "/home/xxxx/odoo/openerp/sql_db.py", line 565, in cursor
return Cursor(self.__pool, self.dbname, serialized=serialized)
File "/home/xxxx/odoo/openerp/sql_db.py", line 176, in __init__
self._cnx = pool.borrow(dsn(dbname))
File "/home/xxxx/odoo/openerp/sql_db.py", line 458, in _locked
return fun(self, *args, **kwargs)
File "/home/xxxx/odoo/openerp/sql_db.py", line 521, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
File "/usr/local/lib/python2.7/dist-packages/psycopg2-2.5.3-py2.7-linux-i686.egg/psycopg2/__init__.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: fe_sendauth: no password supplied
如何更正它并正确配置 Odoo 和 Postgre 之间的数据连接?我是这些程序的新手,感谢详细的分步帮助解决:)
提前致谢!