Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
9994 มุมมอง

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?

Related Posts ตอบกลับ มุมมอง กิจกรรม
6
ก.ย. 24
52496
ImportError: No module named wizard แก้ไขแล้ว
1
ธ.ค. 22
16787
2
มิ.ย. 20
20131
0
มี.ค. 16
6040
1
ก.พ. 16
6350