Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
9559 Weergaven

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.

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur

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

Auteur

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?

Gerelateerde posts Antwoorden Weergaven Activiteit
6
sep. 24
51866
1
dec. 22
16439
2
jun. 20
19663
0
mrt. 16
5665
1
feb. 16
5921