Re: [EXTERNAL] Re: BUG #18707: Installation issue - Mailing list pgsql-bugs

From Sandeep Thakkar
Subject Re: [EXTERNAL] Re: BUG #18707: Installation issue
Date
Msg-id CANFyU951fit7qm2=uY=qN-QoSrSR_+0_qMUrTqcZygN-6ryQqA@mail.gmail.com
Whole thread Raw
In response to Re: [EXTERNAL] Re: BUG #18707: Installation issue  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: [EXTERNAL] Re: BUG #18707: Installation issue
List pgsql-bugs


On Tue, Nov 19, 2024 at 6:39 AM Thomas Munro <thomas.munro@gmail.com> wrote:
On Tue, Nov 19, 2024 at 12:06 AM Sandeep Thakkar
<sandeep.thakkar@enterprisedb.com> wrote:
> Thanks for sharing the installation log. Could you once try installing postgresql-15.8-2-windows-x64.exe as I see a commit in the Git around that bug?

I wonder why the log shows "entr‚e" (instead of "entrée") in one
place, but apparently OK encoding elsewhere...  makes me pretty
suspicious of the account name "autorite nt\système", and I see there
is also an open issue in the github about "nt-autorität\system".  Just
a wild guess: would it help to use numerical SIDs instead of account
names when invoking shell commands like icacls?

Yes, I tried that recently. It works well for init cluster, but pg_ctl fails to register the service:
Executing C:\Windows\System32\cmd.exe /c "C:\Program Files\PostgreSQL\17\bin\pg_ctl.exe" register -N "postgresql-x64-17" -U "*S-1-5-20" -D "C:\Program Files\PostgreSQL\17\data" -w
Script exit code: 1 Script output:
Script stderr:
pg_ctl: could not register service "postgresql-x64-17": error code 1057


--
Sandeep Thakkar


pgsql-bugs by date:

Previous
From: Bing Xu
Date:
Subject: RE: BUG #18635: " $libdir/adminpack could not be loaded" error with pg_upgrade to PostgreSQL17
Next
From: Tender Wang
Date:
Subject: Re: BUG #18371: There are wrong constraint residues when detach hash partiton concurrently