Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
9566 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Autor

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?

Powiązane posty Odpowiedzi Widoki Czynność
6
wrz 24
51879
1
gru 22
16446
2
cze 20
19671
0
mar 16
5671
1
lut 16
5935