package openerp-server
tags 513263 + patch
thanks

Le mardi 27 janvier 2009 à 19:15 +0100, Julien Valroff a écrit :
> Package: openerp-server
> Version: 5.0.0~rc3-1
> Severity: normal
> 
> Hi,
> 
> I might have forgotten something but have simply followed the step by step
> procedure described in the README.Debian file.
> 
> When restarting the server, I get the following in the openerp.log:
> [Tue Jan 27 2009 19:10:40] INFO:server:version - 5.0.0_rc3
> [Tue Jan 27 2009 19:10:40] INFO:server:addons_path - 
> /usr/lib/openerp-server/addons
> [Tue Jan 27 2009 19:10:40] INFO:server:database hostname - localhost
> [Tue Jan 27 2009 19:10:40] INFO:objects:initialising distributed objects 
> services
> [Tue Jan 27 2009 19:10:40] INFO:dbpool:Connecting to openerp
> [Tue Jan 27 2009 19:10:40] ERROR:dbpool:Unable to connect to openerp: FATAL:  
> authentification Ident échouée pour l'utilisateur « openerp »
> 
[...]

it seems openerp-server needs to run as postgres user, and the init
script misses the USER variable.
Here is a short patch making things work (might not be the right thing
to do however!)

diff -ruN openerp-server.orig openerp-server
--- openerp-server.orig 2009-01-27 20:06:26.000000000 +0100
+++ openerp-server      2009-01-27 20:05:00.000000000 +0100
@@ -16,6 +16,7 @@
 DAEMON=/usr/bin/openerp-server
 NAME=openerp-server
 DESC=openerp-server
+USER=postgres
 
 test -x ${DAEMON} || exit 0
 
Cheers,
Julien




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to