pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Vishal Agrawal <agrawal.vishal@gmail.com>
To: Srinivasa T N <seenutn@gmail.com>
Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Re: Unable to init and run postgresql-12 on centos 8.2.2004
Date: Sun, 21 Jun 2020 09:05:25 -0700
Message-ID: <338cb691-d5d6-7931-724e-3ca9bc40c840@aklaver.com> (raw)
In-Reply-To: <CAFA+BR58iEmDvjN_z+9uvgfBacxgXeQe2hhFyf5=CzCXwaQMCw@mail.gmail.com>
References: <CAFA+BR65am9d5_muXu+aVYmKSEvTYHoo7FEu-Om_bMVRYUN4Bw@mail.gmail.com>
	<CAFruNdc2O15zeDN3AuASJNCOvSW4x=tm3vX2A2g0s0xS9imCTg@mail.gmail.com>
	<CAFA+BR58iEmDvjN_z+9uvgfBacxgXeQe2hhFyf5=CzCXwaQMCw@mail.gmail.com>

On 6/21/20 7:53 AM, Vishal Agrawal wrote:
> Seenu, I don't see any journalctl entry other than the log that 
> postmaster has been killed. (Jun 21 14:52:30 f9cbc3b08e20 systemd[1]: 
> postgresql-12.service: Killing process 1096 (postmaster) with signal 
> SIGKILL.)
> Any further suggestions on where to look ?
> 
> It does seem to work with systemd-239-18 (8.1.1911) but fails 
> with systemd-239-30 (In 8.2.2004 repo).

You might want to add report to this issue:

https://bugs.centos.org/view.php?id=17461

0017461: systemd-239-30 package prevents some units from stopping

"The postgresql unit installed in the postgresql:9.6 package on centos 
8.2 fails to stop when using systemd-239-30 and running in an LXD 
container.  ..."


> 
> On Sun, Jun 21, 2020 at 6:05 AM Srinivasa T N <seenutn@gmail.com 
> <mailto:seenutn@gmail.com>> wrote:
> 
> 
> 
>     On Sun, Jun 21, 2020, 8:57 AM Vishal Agrawal
>     <agrawal.vishal@gmail.com <mailto:agrawal.vishal@gmail.com>> wrote:
> 
>         Hello,
> 
>         I'm trying to install postgresql 12 on CentOS 8.2 as following -
> 
>         First I run docker container on the host  -
>         # docker run --privileged -dit --name pgdg centos:8.2.2004
>         /sbin/init
> 
>         Then inside the container, I run the commands given below -
> 
>         # yum -y install glibc-langpack-en glibc-locale-source
>         # localedef -i en_US -f UTF-8 en_US.UTF-8
> 
>         # dnf install
>         https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rp...
> 
> 
>         # dnf -qy module disable postgresql
> 
>         # dnf install postgresql12-server
> 
>         # /usr/pgsql-12/bin/postgresql-12-setup initdb
> 
>         # systemctl enable postgresql-12
> 
>         # systemctl start postgresql-12
> 
>         Postgresql starts at this point...
> 
>         However, when I try to stop it, it just hangs -
> 
>         # systemctl stop postgresql-12 (hangs)
> 
>         Can someone help how to resolve this?
> 
>         Thanks,
>         Vishal
> 
> 
>     Looking at logs might help.
> 
>     Regards,
>     Seenu.
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (5+ messages)  latest in thread

Message-ID: <338cb691-d5d6-7931-724e-3ca9bc40c840@aklaver.com>
Permalink:  ../338cb691-d5d6-7931-724e-3ca9bc40c840@aklaver.com/
Also on:    postgresql.org/message-id/338cb691-d5d6-7931-724e-3ca9bc40c840@aklaver.com

 · 

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: adrian.klaver@aklaver.com, agrawal.vishal@gmail.com, seenutn@gmail.com
  Subject: Re: Unable to init and run postgresql-12 on centos 8.2.2004
  In-Reply-To: <338cb691-d5d6-7931-724e-3ca9bc40c840@aklaver.com>
  References: <CAFA+BR65am9d5_muXu+aVYmKSEvTYHoo7FEu-Om_bMVRYUN4Bw@mail.gmail.com> <CAFruNdc2O15zeDN3AuASJNCOvSW4x=tm3vX2A2g0s0xS9imCTg@mail.gmail.com> <CAFA+BR58iEmDvjN_z+9uvgfBacxgXeQe2hhFyf5=CzCXwaQMCw@mail.gmail.com> <338cb691-d5d6-7931-724e-3ca9bc40c840@aklaver.com>

* 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