<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 25/04/2014 22:23,
<a class="moz-txt-link-abbreviated" href="mailto:diogo@diogoleal.com">diogo@diogoleal.com</a> a écrit :<br>
</div>
<blockquote
cite="mid:1063395518.15837741.1398457407370.JavaMail.zimbra@diogoleal.com"
type="cite">
<pre wrap="">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:
</pre>
</blockquote>
Hello diogo,<br>
<br>
The line causing this is likely this one, in rudder-reports post
installation script:<br>
"while ! su - postgres -c "psql -q --output /dev/null -c \"SELECT
COUNT(*) FROM pg_catalog.pg_authid\"" >/dev/null 2>&1"<br>
<br>
Can you please tell me:<br>
<ul>
<li>Are you running the upgrade as root ? (Command: whoami, should
return "root")<br>
</li>
<li>Is the user "postgres" present on your system ? (Command:
"getent passwd postgres", should return a line describing the
user postgres)</li>
<li>Do you have any restrictions defined to use su ?</li>
</ul>
<p>Thanks in advance,<br>
--<br>
Matthieu CERDA<br>
</p>
</body>
</html>