Hi erolerten, Not really. Sometimes doing like this (jsut to try) could help confirming that it is an issue with the access rights, but the server should not run like that during normal operation. At your place, I would try to identify each step and piece of software involved (script, configuration) during boot till the server is running. In my configuration, it was created by the all-in-one script (1) I indicate previously, a deamon is started from: /etc/init.d/openerp-server This script (2) is run as sudo at boot time by the machine or later to restart the server by example. In this script (2) there are these key parameters: DAEMON=/usr/bin/openerp-server NAME=openerp-server DESC=openerp-server USER=openerp A case statement is used to do start, stop, restart, ... Here by example the start one: start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \ --chuid ${USER} --background --make-pidfile \ --exec ${DAEMON} -- --config=/etc/openerp-server.conf The daemon (server that run in background) is launched as USER and with a given configuration file /etc/openerp-server.conf by the --config command.
The DAEMON is a script (3) (/usr/bin) which is launched as user USER (openerp in my case): #!/bin/sh cd /usr/lib/python2.5/site-packages/openerp-server exec /usr/bin/python ./openerp-server.py $@ So finally there is a CD to the server directory and the server python file (4) is launched with the parameter provided in the script in init.d. This for the user selected in the initial script (2). So the user (USER parameter in the script (2)) should be the owner of the server directory "/usr/lib/python2.5/site-packages/openerp-server" in my case. He should be also owner for addons directory and the famous filestore. All this organisation was created when the all-in-one script (1) was executed. It is also kept the same when this script (1) is used to update the system. I used this script from OpenERP 5.0.5 and now 5.0.10 and Ubuntu 8.04LTS. I hope it helps and don't confuse you more. -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=56316#56316 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
