Re: Unable to init and run postgresql-12 on centos 8.2.2004

Поиск
Список
Период
Сортировка
От Srinivasa T N
Тема Re: Unable to init and run postgresql-12 on centos 8.2.2004
Дата
Msg-id CAFruNdc2O15zeDN3AuASJNCOvSW4x=tm3vX2A2g0s0xS9imCTg@mail.gmail.com
обсуждение исходный текст
Ответ на Unable to init and run postgresql-12 on centos 8.2.2004  (Vishal Agrawal <agrawal.vishal@gmail.com>)
Ответы Re: Unable to init and run postgresql-12 on centos 8.2.2004  (Vishal Agrawal <agrawal.vishal@gmail.com>)
Список pgsql-general


On Sun, Jun 21, 2020, 8:57 AM Vishal Agrawal <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 -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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Vishal Agrawal
Дата:
Сообщение: Unable to init and run postgresql-12 on centos 8.2.2004
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Definition of REPEATABLE READ