[rudder-users] update Rudder

diogo at diogoleal.com diogo at diogoleal.com
Wed Apr 30 23:07:14 CEST 2014


CERDA, 

It really was a problem in su -. 
For security, our servers have sudo su - disabled. 

Thanks. 

Diogo Leal [estranho] 
http://diogoleal.com 
talk: estranho at jabber-br.org 

----- Original Message -----

> From: "Matthieu CERDA" <matthieu.cerda at normation.com>
> To: diogo at diogoleal.com, "Rudder Users list"
> <rudder-users at lists.rudder-project.org>
> Sent: Tuesday, April 29, 2014 5:34:26 AM
> Subject: Re: [rudder-users] update Rudder

> Le 25/04/2014 22:23, diogo at diogoleal.com a écrit :

> > Hello,
> 

> > I'm updating the Rudder Server, version 2.6.10 -> 2.6.12 and during the
> > upgrade Postgresql he is asking me for a password.
> 

> > I put the password is in /opt/rudder/etc/rudder-web.properties but, gives
> > authentication error
> 

> > Does anyone know where I get this password?
> 

> > Installing new version of config file /etc/rsyslog.d/rudder.conf ...
> 
> > rsyslog stop/waiting
> 
> > rsyslog start/running, process 14500
> 
> > Waiting postgresql to be up
> 
> > Password:
> 
> > su: Authentication failure
> 
> > .Password:
> 

> Hello diogo,

> The line causing this is likely this one, in rudder-reports post installation
> script:
> "while ! su - postgres -c "psql -q --output /dev/null -c \"SELECT COUNT(*)
> FROM pg_catalog.pg_authid\"" >/dev/null 2>&1"

> Can you please tell me:

> * Are you running the upgrade as root ? (Command: whoami, should return
> "root")
> * Is the user "postgres" present on your system ? (Command: "getent passwd
> postgres", should return a line describing the user postgres)
> * Do you have any restrictions defined to use su ?

> Thanks in advance,
> --
> Matthieu CERDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140430/26eea066/attachment.html>


More information about the rudder-users mailing list