Обсуждение: Bug - 11.8

Поиск
Список
Период
Сортировка

Bug - 11.8

От
"Panchal, Avanish"
Дата:

Hi,

 

While installing postgre11.8 with ./configure, followed by make install.

 

Commands:

 

./configure –prefix= /pghome/11.8

 

make -j 4 && make install

 

Ran into 2 issues

 

  1. postgresql.service not present in systemd.

 

-bash-4.2$ sudo ls -ltr /usr/lib/systemd/system/postgres*
ls: cannot access /usr/lib/systemd/system/postgres*: No such file or directory

 

Also realized, code was complied with "with_systemd='no'. Potential reason of file not present in system.

 

Found rc file:  /pgbackup/postgresql-11.8/contrib/start-scripts and try to edit postgresql.service with respective paths per install.

 

  1. postgresql-11-check-db-dir not present

Apparently bin directory doesn’t have postgresql-11-check-db-dir so unable to put it at ExecStartPre=/pghome/11.8/bin/postgresql-11-check-db-dir ${PGDATA}

 

Please let me know if any steps missed.

 

Regards,

 

Avanish Panchal

 



________________________________________
IMPORTANT - PLEASE READ: This electronic message, including its attachments, is CONFIDENTIAL and may contain PROPRIETARY or LEGALLY PRIVILEGED or PROTECTED information and is intended for the authorized recipient of the sender. If you are not the intended recipient, you are hereby notified that any use, disclosure, copying, or distribution of this message or any of the information included in it is unauthorized and strictly prohibited. If you have received this message in error, please immediately notify the sender by reply e-mail and permanently delete this message and its attachments, along with any copies thereof, from all locations received (e.g., computer, mobile device, etc.). To the extent permitted by law, we may monitor electronic communications for the purposes of ensuring compliance with our legal and regulatory obligations and internal policies. We may also collect email traffic headers for analyzing patterns of network traffic and managing client relationships. For further information see: https://www.iqvia.com/about-us/privacy/privacy-policy. Thank you.

Re: Bug - 11.8

От
"David G. Johnston"
Дата:
On Tuesday, July 21, 2020, Panchal, Avanish <Avanish.Panchal@iqvia.com> wrote:

Hi,

 

While installing postgre11.8 with ./configure, followed by make install.

 

Commands:

 

./configure –prefix= /pghome/11.8

 

make -j 4 && make install

 

Ran into 2 issues

 

  1. postgresql.service not present in systemd.

 Where are you seeing the installing from source is supposed to create systemd units?


  1. postgresql-11-check-db-dir not present

Apparently bin directory doesn’t have postgresql-11-check-db-dir so unable to put it at ExecStartPre=/pghome/11.8/bin/postgresql-11-check-db-dir ${PGDATA}

 


Same, where is it documented this a source installation installs this binary?

Or, at least, installing from the source provided by the core project.  Maybe you want to download platform specific source packages and install those?  Or just use platform specific binary packages?

In short there is no bug here and you should post a more detailed message with goals to the -general discussion list.

David J.