Just some followup on our experience with running multiple server instances 
under different user:group combinations and on different ports.  The init 
script that I showed above is working very well and we are able to start a 
number of different process instances without problem.

Our main OpenERP server is linux-based.  When we install OpenERP the install 
tree is owned by root:root.  When we test from the command line we are 
generally running as root:root.  When we are running in production mode we are 
running as tinyerp:tinyerp (non-privileged user and group).

One of the issues that has come up is that in working with PDF generation we 
are finding that we ran into permissions problems between test mode and 
production mode due to the different process ownership.  So the way we solved 
this was to make sure that all writes from server processes were outside of the 
install tree.  We are using an area under /var for this purpose.  You also need 
to make sure that you use unique filenames that are not going to be overrun by 
other server processes trying to write the same filename.

I hope this will help others who may run into this problem when they start 
running multiple server instances.

Regards,
Gerry




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=24641#24641

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to