Problem with validateuser.exe in unattended mode

Started by David Wolffover 11 years ago3 messagesbugs
Jump to latest
#1David Wolff
david.wolff@lios-tech.com

Hi,

I have problems with the validateuser.exe during installation in unattended mode.

I'm trying to update an 9.2.8.1 to 9.2.9.3 windows 7 x64 installation.

In GUI mode the validation works. But in unattended mode it always fails with:

"Incorrect password for user..."

I also reproduced the error with 9.2.9.3 windows 7 x86 installer running the following command twice:

postgresql-windows-x86.exe --mode unattended --superaccount postgres --serviceaccount postgres --servicepassword "postgres" --prefix "C:\Program Files (x86)\PostgreSQL\ProgramData\PostgreSQL\9.2\Data" --superpassword "postgres" --serverport 5432

#2Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: David Wolff (#1)
Re: Problem with validateuser.exe in unattended mode

Hi

Did you provide the same configure flags for GUI installation? May be your
service account was the default i.e "NT AUTHORITY\NetworkService" . You may
check the installation logs in the system temp as well to confirm that.

On Thu, Nov 13, 2014 at 3:12 PM, David Wolff <david.wolff@lios-tech.com>
wrote:

Hi,

I have problems with the validateuser.exe during installation in
unattended mode.

I'm trying to update an 9.2.8.1 to 9.2.9.3 windows 7 x64 installation.

In GUI mode the validation works. But in unattended mode it always fails
with:

"Incorrect password for user..."

I also reproduced the error with 9.2.9.3 windows 7 x86 installer running
the following command twice:

postgresql-windows-x86.exe --mode unattended --superaccount postgres
--serviceaccount postgres --servicepassword "postgres" --prefix "C:\Program
Files (x86)\PostgreSQL\ProgramData\PostgreSQL\9.2\Data" --superpassword
"postgres" --serverport 5432

--
Sandeep Thakkar

#3David Wolff
david.wolff@lios-tech.com
In reply to: Sandeep Thakkar (#2)
Re: Problem with validateuser.exe in unattended mode

Hi,

I didn't use GUI for the initial installation. I can only use unattended mode for my use case.

If you call the installer for initial installation and update with the exact same flags the problem occurs.

Initial installation in unattended mode seems to work. The postgres user definitly exists and is used for the pg service.

But running the installer again in unattended mode (e.g. update) raises an error in validateuser.exe.

If you update in GUI mode using the same password the validation works.

-----Ursprüngliche Nachricht-----
Von: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
Gesendet: Don 13 November 2014 14:04
An: David Wolff <david.wolff@lios-tech.com>
CC: pgsql-bugs@postgresql.org
Betreff: Re: [BUGS] Problem with validateuser.exe in unattended mode

Hi

Did you provide the same configure flags for GUI installation? May be your service account was the default i.e "NT AUTHORITY\NetworkService" . You may check the installation logs in the system temp as well to confirm that.

On Thu, Nov 13, 2014 at 3:12 PM, David Wolff <david.wolff@lios-tech.com <mailto:david.wolff@lios-tech.com> > wrote:
Hi,

I have problems with the validateuser.exe during installation in unattended mode.

I'm trying to update an 9.2.8.1 to 9.2.9.3 windows 7 x64 installation.

In GUI mode the validation works. But in unattended mode it always fails with:

"Incorrect password for user..."

I also reproduced the error with 9.2.9.3 windows 7 x86 installer running the following command twice:

postgresql-windows-x86.exe --mode unattended --superaccount postgres --serviceaccount postgres --servicepassword "postgres" --prefix "C:\Program Files (x86)\PostgreSQL\ProgramData\PostgreSQL\9.2\Data" --superpassword "postgres" --serverport 5432

--
Sandeep Thakkar