OpenERP7.0 centos 原生安装 初始化数据库时失败
-
我使用的是7.0版本,在centos 6.5上使用源码安装的,
依赖的包和数据都配置好后,执行以下命令启动:
[]# su - openerp -c "/usr/local/bin/python /data/openerp/main/openerp-server -c /data/openerp/main/openerp-server.conf"
openerp-server.conf 的配置内容如下:
[options]
; This is the password that allows database operations:
admin_passwd = admin
db_host = 127.0.0.1
db_port = 5432
db_user = pgsql
db_password = 123456
db_template = template1
list_db = true
log_handler = ["[':INFO']"]
log_level = info
#logfile = /data/openerp/log/main.log
login_message = False
logrotate = True
netrpc = False
netrpc_interface =
netrpc_port = 8070
xmlrpc = True
xmlrpc_interface =
xmlrpc_port = 8069
xmlrpcs = false
xmlrpcs_interface =
xmlrpcs_port = 8071
addons-path = /data/openerp/main/openerp/addons
启动后后显示如下内容:
[color=pink]2015-01-19 05:38:15,964 12583 INFO ? openerp: OpenERP version 7.0-20121227-07562
4
2015-01-19 05:38:15,964 12583 INFO ? openerp: addons paths: /data/openerp/main/o
penerp/addons
2015-01-19 05:38:15,964 12583 INFO ? openerp: database hostname: 127.0.0.1
2015-01-19 05:38:15,964 12583 INFO ? openerp: database port: 5432
2015-01-19 05:38:15,964 12583 INFO ? openerp: database user: pgsql
2015-01-19 05:38:23,028 12583 INFO ? openerp.service.wsgi_server: HTTP service (
werkzeug) running on 0.0.0.0:8069
2015-01-19 05:38:23,033 12583 INFO ? openerp: OpenERP server is running, waiting
for connections...[/color]
第一次运行的时候我创建一了个数据库 叫 oe2spark,创建的过程中退出了,但是我查看psql是有这个数据库的
我再次启动的,访问的时候就显示如下内容,然后就退出了:
2015-01-19 05:38:15,964 12583 INFO ? openerp: OpenERP version 7.0-20121227-07562
4
2015-01-19 05:38:15,964 12583 INFO ? openerp: addons paths: /data/openerp/main/o
penerp/addons
2015-01-19 05:38:15,964 12583 INFO ? openerp: database hostname: 127.0.0.1
2015-01-19 05:38:15,964 12583 INFO ? openerp: database port: 5432
2015-01-19 05:38:15,964 12583 INFO ? openerp: database user: pgsql
2015-01-19 05:38:23,028 12583 INFO ? openerp.service.wsgi_server: HTTP service (
werkzeug) running on 0.0.0.0:8069
2015-01-19 05:38:23,033 12583 INFO ? openerp: OpenERP server is running, waiting
for connections...
2015-01-19 05:38:37,552 12583 INFO oe2spark openerp.modules.loading: module base
: loading objects
2015-01-19 05:38:37,596 12583 INFO oe2spark openerp.modules.module: module base:
creating or updating database tables
2015-01-19 05:38:40,969 12583 INFO oe2spark openerp.modules.loading: module base
: loading base_data.xml
请问这是怎么回事,也没有提示这里是什么错误!