跳至内容
菜单
此问题已终结
1 回复
9415 查看

I installed OpenERP 7 on Ubuntu server and when I start server by sudo openerp-server start The system shows the error message 'Import error: No module named XXX'. It happens because the system library dose not include XXX module. So I just copy XXX module to the system library path. I want to ask if any one has the same bug and what is your solution. Because my way does not solve all problem. Thanks in ahead.

形象
丢弃
最佳答案

Try with the command

sudo /etc/init.d/openerp-server start

If I put your command got the same error, but with the upper command, all is fine

Goodluck

形象
丢弃
编写者

Thanks for your reply. Using sudo /etc/init.d/openerp-server start is fine, but it seems nothing happen after run this command. What is the different between with these two command? /etc/init/openerp-server start and openerp-server start

The main difference is that openerp-server is the main executable of the server, but /etc/init/openerp-server is a init script that surely calls openerp-server executable but before prepare the environment (load path of modules, etc...). Anyway, once the server is running you must go to firefox (or similar) and load localhost:8069

编写者

Thanks. Do you mean /etc/init/openerp-server calls some preparation work while openerp-server does not? I use '/etc/init/openerp-server' but cannot load the service from browser. I checked process list of Ubuntu and did not find openerp service running.

I really using it in a debian server, but Ubuntu maybe similar. After sudo /etc/init.d/openerp-server start nothing happens? In my system I got an "Starting openerp-server: openerp-server." Try looking in /var/log/openerp/openerp-server.log for any error. You have Postgresql installed?

相关帖文 回复 查看 活动
6
9月 24
51673
1
12月 22
16265
2
6月 20
19438
0
3月 16
5519
1
2月 16
5685