Re: Error when installing PostgreSQL 16.3.2 under system context NT AUTHORITY\SYSTEM

From: Muhammad Ikram <mmikram(at)gmail(dot)com>
To: Harald(dot)Munsch(at)it(dot)nrw(dot)de
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, Claudia(dot)Siepmann(at)it(dot)nrw(dot)de
Subject: Re: Error when installing PostgreSQL 16.3.2 under system context NT AUTHORITY\SYSTEM
Date: 2024-07-08 06:13:19
Message-ID: CAGeimVotKdVoKcYr8V_D7EtTywxR9-=ghWRj7=SJTsSQRpCUTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Harald.Munsch,

Thanks for sharing it with me. Could you try the solution suggested ?

For quite sometime, I have not worked on Windows so don't have environment
with me to try things for you.

Regards,
Muhammad Ikram

On Mon, Jul 8, 2024 at 11:01 AM <Harald(dot)Munsch(at)it(dot)nrw(dot)de> wrote:

> Hello,
>
>
>
> thank you for your fast response.
>
>
>
> I checked the permissions: the SYSTEM-account has full permissions to the
> TEMP-folder.
>
>
>
> In the internet i found a correspondence regarding an older version of
> PostgreSQL from a user with a similar problem. Please see following link:
>
>
> https://www.postgresql.org/message-id/SL2P216MB0666FD5553AA70BAE3092060F9D00%40SL2P216MB0666.KORP216.PROD.OUTLOOK.COM
>
>
>
> Maybe the cause of the current error is similar?
>
>
>
> Kind regards,
>
> Harald
>
>
>
>
>
> *Von:* Muhammad Ikram <mmikram(at)gmail(dot)com>
> *Gesendet:* Sonntag, 7. Juli 2024 12:57
> *An:* Munsch, Harald (IT.NRW) <Harald(dot)Munsch(at)it(dot)nrw(dot)de>
> *Cc:* pgsql-bugs(at)lists(dot)postgresql(dot)org; Siepmann, Claudia (IT.NRW) <
> Claudia(dot)Siepmann(at)it(dot)nrw(dot)de>
> *Betreff:* Re: Error when installing PostgreSQL 16.3.2 under system
> context NT AUTHORITY\SYSTEM
>
>
>
> Hi,
>
>
>
> Have you checked whether the system user has the right permissions on Temp
> which is being used ? Please navigate to the temp that SYSTEM is using and
> check permissions and adjust accordingly. Right click on the Temp
> directory, move to the Security tab and ensure that the system user has
> full control permissions.
>
>
>
> You may get more detailed logging by trying to install using a terminal.
>
>
>
> postgresql-16.3-2-windows-x64.exe /S /L*v %TEMP%\postgresql-install.log
>
>
>
> Hope this helps
>
>
>
> Regards,
>
> Muhammad Ikram,
>
> Bitnine Global.
>
>
>
>
>
> On Sun, Jul 7, 2024 at 3:11 PM <Harald(dot)Munsch(at)it(dot)nrw(dot)de> wrote:
>
> Hello,
>
>
>
> when installing PostgreSQL version 16.3.2 on a windows 10 client with the
> setup: „postgresql-16.3-2-windows-x64.exe“ via SCCM, i.e. in
> SYSTEM-context, the installation failes with following error-message:
>
> (The error occures directly after starting the installation.)
>
>
>
> *„There has been an error. Unable to write inside TEMP environment path“*
>
>
>
> Even though the system-account has full permissions to this path.
>
> An Installation with an Administrative account (not NT AUTHORITY\SYSTEM )
> on the same client runs succesfully.
>
>
>
> We want to deploy the software with SCCM, therefore, we need to use the
> SYSTEM-account.
>
> Can you please provide us with a setup that works in SYSTEM-context ?
>
>
>
>
>
>
>
>
>
>
>
> Thank you for your support.
>
> Kind regards
>
>
>
> Mit freundlichen Grüßen
>
> Harald Munsch
>
>
>
> --
>
>
>
> Information und Technik
>
> Nordrhein-Westfalen (IT.NRW)
>
>
>
>
>
> mailto:harald(dot)munsch(at)it(dot)nrw(dot)de <harald(dot)munsch(at)it(dot)nrw(dot)de>
>
>
>
>
>
> --
>
> Muhammad Ikram
>

--
Muhammad Ikram

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2024-07-08 09:01:47 RE: Potential data loss due to race condition during logical replication slot creation
Previous Message Harald.Munsch 2024-07-08 06:01:48 AW: Error when installing PostgreSQL 16.3.2 under system context NT AUTHORITY\SYSTEM