openerp server doesn't start until line "pidfile = /var/run/openerp.pid" is removed from /etc/openerp-server.conf

Bug #362132 reported by Mantas Kriaučiūnas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-server (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: openerp-server

openerp server doesn't start even if you fix bug #352299 (I add USER=openerp into /etc/init.d/openerp-server) - duplicate pid file creation problem prevents server to start as unprivileged user. Problem is, that folder /var/run is writable only by root, but /etc/openerp-server.conf has line "pidfile = /var/run/openerp.pid" - because of this openerp server itself tries to create another pid file (one pid file is created by /etc/init.d/openerp-server script).

So, please remove the line "pidfile = /var/run/openerp.pid" from /etc/openerp-server.conf

Revision history for this message
Schmirrwurst (schmirrwurst) wrote :

I've submitted an update from the package that should correct this, you can try it, I hope some motu will commit it...
https://bugs.launchpad.net/ubuntu/+source/openerp-server/+bug/337759

Changed in openerp-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Hahler (blueyed) wrote :

Markings as duplicate of bug 337759 according to the last comment.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.