Hi I'm developing a module and constantly making changes to the module.
To stop and start the deb Openerp server I use
sudo /etc/init.d/openerp stop and
sudo /etc/init.d/openerp start
However I've noticed its not very consistent! More often than not, errors are not cleared
I'm having do a
sudo reboot to make sure , but this is very time consuming!
Does anyone know of a better way? OR is their another service I need to stop?
EDIT The behavior is ....I'll right some bad code (I'm good at this) transfer the module to the addons folder restart the openerp server and I'll get some error message (openerp obviously runs through the addons code to check and validate it), Then I'll remove the module, restart the server, but the error wont clear until I reboot.
THOUGHTS Could it be a python or postgresql service?
If if I use
ps -Al to list running services then
sudo /etc/init.d/openerp stop followed by `
ps -Al again, I can identify that
openerp-server is stopped by this command!
Sometimes it happens that there is a deadlock in postgresql. You can see such situations if you see
waiting postgres processes when you execute
ps ax .
For a complete restart perform:
service openerp-server stop
service postgresql restart
service openerp-server start
(I assume that you have the required scripts in /etc/init.d)
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/4/13, 8:45 PM|
|Seen: 33078 times|
|Last updated: 10/12/16, 6:39 AM|