pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bryce Pepper <BPepper@KCSouthern.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: RE: RHEL 7 (systemd) reboot
Date: Thu, 11 Oct 2018 17:43:51 +0000
Message-ID: <f3d88aa476d94195874ef050f0e73379@WNEXMBFEP03.KCSCP.CORP> (raw)
In-Reply-To: <9d666846-4e6e-bed5-0979-a8c00b515855@aklaver.com>
References: <49f8b4546d9948d798d81e1fd32bfb4f@WNEXMBFEP03.KCSCP.CORP>
	<532b0c39-6b76-658f-fe45-852dd964d7ba@aklaver.com>
	<5de197dc0e9241c59caad6cb3f69ef25@WNEXMBFEP03.KCSCP.CORP>
	<5c30d3c8-ddd0-452c-a667-cb1356c10c47@aklaver.com>
	<b8db64244cf74bcc989502fb46e8ac97@WNEXMBFEP03.KCSCP.CORP>
	<711aa192-9733-8a4c-90a1-46b40876fad9@aklaver.com>
	<21090661bc8a446680cb108fac2486f9@WNEXMBFEP03.KCSCP.CORP>
	<3ed34f32-02e7-dd35-cc16-a346cae7e88f@aklaver.com>
	<80a901bef41b4cfda5dda8c1140e4b7d@WNEXMBFEP03.KCSCP.CORP>
	<9d666846-4e6e-bed5-0979-a8c00b515855@aklaver.com>

I disabled and removed the CTM_Postgre.service as it didn't help (and I didn't want too many moving parts left out there).

I did find a post https://superuser.com/questions/1016827/how-do-i-run-a-script-before-everything-else-on-shutdown-wit... that I think is getting me closer.

I tried    RequiresMountsFor=/data00    which starts the script much sooner but unfortunately  the  postgresql instance is unreachable by the time the script gets there.

These are two unique datacenter shutdowns: ctmdist  & ctmlinux 

Oct 11 09:20:00 kccontrolmt01 stop_ctmdist_server.sh[10316]: setenv: Too many arguments.
Oct 11 09:20:00 kccontrolmt01 stop_ctmdist_server.sh[10316]: Stopping CONTROL-M application Oct 11 09:20:00 kccontrolmt01 stop_ctmdist_server.sh[10316]: SQL Server is not running.
Oct 11 09:20:00 kccontrolmt01 stop_ctmlinux_server.sh[10318]: setenv:
Too many arguments.
Oct 11 09:20:00 kccontrolmt01 stop_ctmlinux_server.sh[10318]: Stopping CONTROL-M application Oct 11 09:20:00 kccontrolmt01 stop_ctmlinux_server.sh[10318]: SQL Server is not running.



view thread (13+ messages)  latest in thread

Message-ID: <f3d88aa476d94195874ef050f0e73379@WNEXMBFEP03.KCSCP.CORP>
Permalink:  ../f3d88aa476d94195874ef050f0e73379@WNEXMBFEP03.KCSCP.CORP/
Also on:    postgresql.org/message-id/f3d88aa476d94195874ef050f0e73379@WNEXMBFEP03.KCSCP.CORP

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: BPepper@KCSouthern.com, adrian.klaver@aklaver.com
  Subject: Re: RHEL 7 (systemd) reboot
  In-Reply-To: <f3d88aa476d94195874ef050f0e73379@WNEXMBFEP03.KCSCP.CORP>
  References: <49f8b4546d9948d798d81e1fd32bfb4f@WNEXMBFEP03.KCSCP.CORP> <532b0c39-6b76-658f-fe45-852dd964d7ba@aklaver.com> <5de197dc0e9241c59caad6cb3f69ef25@WNEXMBFEP03.KCSCP.CORP> <5c30d3c8-ddd0-452c-a667-cb1356c10c47@aklaver.com> <b8db64244cf74bcc989502fb46e8ac97@WNEXMBFEP03.KCSCP.CORP> <711aa192-9733-8a4c-90a1-46b40876fad9@aklaver.com> <21090661bc8a446680cb108fac2486f9@WNEXMBFEP03.KCSCP.CORP> <3ed34f32-02e7-dd35-cc16-a346cae7e88f@aklaver.com> <80a901bef41b4cfda5dda8c1140e4b7d@WNEXMBFEP03.KCSCP.CORP> <9d666846-4e6e-bed5-0979-a8c00b515855@aklaver.com> <f3d88aa476d94195874ef050f0e73379@WNEXMBFEP03.KCSCP.CORP>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox