求助,执行odoo绿色版报错!
-
我复制绿色版到ubuntu14.04桌面版的/OPT下面,执行start.sh,可以启动到8069,但打开浏览器运行localhost:8070系统报错,请问是什么问题?
我的日志:
2014-06-12 06:07:31,413 6921 INFO ? openerp: OpenERP version 7.saas~5
2014-06-12 06:07:31,413 6921 INFO ? openerp: addons paths: ['data/addons/7.saas~5', u'/opt/odoo-saas5/source/addons', '/opt/odoo-saas5/source/openerp/addons']
2014-06-12 06:07:31,413 6921 INFO ? openerp: database hostname: 127.0.0.1
2014-06-12 06:07:31,413 6921 INFO ? openerp: database port: 5432
2014-06-12 06:07:31,414 6921 INFO ? openerp: database user: openerp
2014-06-12 06:07:31,701 6921 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8070
2014-06-12 06:08:11,632 6921 WARNING ? openerp.addons.website_event.controllers.main: Please install GeoIP python module to use events localisation.
2014-06-12 06:08:11,670 6921 INFO ? openerp.http: HTTP Configuring static files
2014-06-12 06:08:11,675 6921 ERROR None openerp.sql_db: Connection to the database failed
Traceback (most recent call last):
File "/opt/odoo-saas5/source/openerp/sql_db.py", line 502, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
File "/opt/odoo-saas5/runtime/python/lib/python2.7/site-packages/psycopg2/init.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: could not connect to server: 拒绝连接
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
2014-06-12 06:08:11,676 6921 ERROR None openerp.http: could not connect to server: 拒绝连接
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
Traceback (most recent call last):
File "/opt/odoo-saas5/source/openerp/http.py", line 92, in dispatch_rpc
result = dispatch(method, params)
File "/opt/odoo-saas5/source/openerp/service/db.py", line 75, in dispatch
return fn(*params)
File "/opt/odoo-saas5/source/openerp/service/db.py", line 358, in exp_list
with closing(db.cursor()) as cr:
File "/opt/odoo-saas5/source/openerp/sql_db.py", line 546, in cursor
return Cursor(self.__pool, self.dbname, serialized=serialized)
File "/opt/odoo-saas5/source/openerp/sql_db.py", line 177, in init
self._cnx = pool.borrow(dsn(dbname))
File "/opt/odoo-saas5/source/openerp/sql_db.py", line 439, in _locked
return fun(self, *args, **kwargs)
File "/opt/odoo-saas5/source/openerp/sql_db.py", line 502, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
File "/opt/odoo-saas5/runtime/python/lib/python2.7/site-packages/psycopg2/init.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: could not connect to server: 拒绝连接
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?