Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZffJw-0007Tw-0j for pgsql-bugs@arkaria.postgresql.org; Sat, 26 Sep 2015 02:34:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZffJu-0002jS-To for pgsql-bugs@arkaria.postgresql.org; Sat, 26 Sep 2015 02:34:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zfcc1-0001zu-Qz for pgsql-bugs@postgresql.org; Fri, 25 Sep 2015 23:41:09 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zfcbw-0002kl-2X for pgsql-bugs@postgresql.org; Fri, 25 Sep 2015 23:41:08 +0000 MIME-Version: 1.0 Subject: BUG #13641: PostgreSQL (pg_ctl.exe) conflicts with GPClient.exe To: pgsql-bugs@postgresql.org From: it@ramsoft.com Date: Fri, 25 Sep 2015 23:41:00 +0000 Message-ID: <20150925234100.3022.96933@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13641 Logged by: Nick Childs Email address: it@ramsoft.com PostgreSQL version: 9.1.18 Operating system: Windows Server 2012 R2 Description: I opened this bug over a month ago, and it has not been touched - creating a duplicate in the hopes that someone will do something about this: http://www.postgresql.org/message-id/20150829014242.2090.78049@wrigleys.postgresql.org We use PostgreSQL version 9.1.18 as part of a Pentaho deployment in our software. We have a service called, "RamSoft Essence Solution Repository Service," which runs the following command: C:/Program Files/RamSoft/Essence/postgresql/bin/pg_ctl.exe runservice -N "RamSoft Essence Solution Repository" -D "C:/Program Files/RamSoft/Essence/postgresql/data" About 6 months ago, we believe we were hit with the following bug in a previous version of PostgreSQL, which caused major login/reboot delays due to a hung gpclient process when Registry/Printer/Shortcut GPO's are applied to the server running PostgreSQL: http://www.postgresql.org/message-id/CAEB4t-NpXGiP5Bqvv3P+d+x=V4BqE+Awg+G7ennBn8icPXep_g@mail.gmail.com - it would delay the ability to log in to the server or reboot for over 40 minutes, unless gpclient.exe was force killed or the service was disabled before reboot. Our Development team provided a procedure to upgrade PostgreSQL to 9.1.18, which does appear to have successfully resolved the login/reboot delay issues with our domain-joined machines running PostgreSQL for all GPO's except a shortcut GPO that is applied in one of our datacenters. For some reason, this specific shortcut policy still triggers the bug after 9.1.18 upgrade. However, we have noticed an additional behavior/problem between pg_ctl.exe and gpclient.exe in domain environments with Registry/Printer/Shortcut GPO's applied: - Reboot VM; no extended delays are experienced - Log in to VM: no extended delays are experienced - Open Administrative Command Prompt, and run: gpupdate /force - command hangs indefinitely; never completes - Stop Essence Solution Repository Service (pg_ctl.exe) - Re-run gpupdate /force - completes very quickly, and successfully - Start Essence Solution Repository Service - Re-run gpupdate /force - completes very quickly, and successfully - Perform reboot - gpupdate /force hangs again, until we stop/start Essence Solution Repository Service Disabling Essence Solution Repository Service before the reboot allows gpupdate /force to complete quickly and successfully immediately after logging in. Starting the service after login allows gpupdate /force to complete. Setting the service to delayed start does NOT allow gpupdate /force to complete unless it is stopped/started before running the command. So, it seems that there is still some sort of conflict between the initial state of Essence Solution Repository Service (pg_ctl.exe) and gpclient.exe - it needs to be stopped before gpupdate /force can run successfully, for some reason. - Is this a known issue on 9.1.18? - Is this reproducible for you? - We also need to know why version 9.1.18 fixed the delays for all GPO settings except for Shortcut-related policies. - Is there anything we can do to help you solve this problem? Please let us know if you have any questions. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs