Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

OpenERP7.0 centos 原生安装 初始化数据库时失败



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



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


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待