RE: Postgres 10.7 Systemd Startup Issue

From: "Lu, Dan" <Dan(dot)Lu(at)sig(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Browne <cbbrowne(at)gmail(dot)com>, Francisco Olarte <folarte(at)peoplecall(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: RE: Postgres 10.7 Systemd Startup Issue
Date: 2019-10-14 16:23:22
Message-ID: 787ded14e7e84194a5780f2dc3bad725@sig.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greeting,

I have a follow-up question regarding PostgreSQL configure option.

Example:
./configure --prefix=/hostname/pg/PostgreSQL-11.5 --with-systemd --with-openssl

Above example I configure PG with 2 options:
1. with-systemd
2. with-openssl

Is there a catalog view that I can query to see what options were used to configure the PG instance? We will be taking over administration of existing PG instance, but we would need to know what configuration option was used during build.

Your feedback and help is much appreciated.

Dan

-----Original Message-----
From: Lu, Dan
Sent: Friday, June 07, 2019 3:22 PM
To: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 'Christopher Browne' <cbbrowne(at)gmail(dot)com>; 'Francisco Olarte' <folarte(at)peoplecall(dot)com>; Kelly, Kevin <Kevin(dot)Kelly(at)msx(dot)bala(dot)susq(dot)com>; 'pgsql-general(at)postgresql(dot)org' <pgsql-general(at)postgresql(dot)org>
Subject: RE: Postgres 10.7 Systemd Startup Issue

Hello All,

I ended up removing all configuration. Re-unzip the binary tar files we downloaded. Re-configure with the option "--with-systemd" and now it is working.

We really appreciate all your help!

Dan

-----Original Message-----
From: Lu, Dan
Sent: Friday, June 07, 2019 10:11 AM
To: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Browne <cbbrowne(at)gmail(dot)com>; Francisco Olarte <folarte(at)peoplecall(dot)com>; Kelly, Kevin <Kevin(dot)Kelly(at)msx(dot)bala(dot)susq(dot)com>; pgsql-general(at)postgresql(dot)org
Subject: RE: Postgres 10.7 Systemd Startup Issue

I apologize, it was a copy/paste error. I did include the option "--with-systemd".

This is our first install of postgresql. I am in the process of getting standard in place for future deployment. We don't have any large footprint of postgresql here. We run mostly Oracle, SQL Server and MySQL in production so far.

Dan

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Friday, June 07, 2019 10:04 AM
To: Lu, Dan <Dan(dot)Lu(at)msx(dot)bala(dot)susq(dot)com>
Cc: Christopher Browne <cbbrowne(at)gmail(dot)com>; Francisco Olarte <folarte(at)peoplecall(dot)com>; Kelly, Kevin <Kevin(dot)Kelly(at)msx(dot)bala(dot)susq(dot)com>; pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres 10.7 Systemd Startup Issue

"Lu, Dan" <Dan(dot)Lu(at)sig(dot)com> writes:
> Even with the added option “—with-systemd”, it is not working still.

Hmmm ....

> To outline what I did.

> 2) Configure PostgreSQL to new location mkdir
> /hostname/pg/PostgreSQL-10.7_2 ./configure
> --prefix=/hostname/pg/PostgreSQL-10.7_2

Is it just a copy-and-paste mistake that you don't actually have a --with-systemd option here?

Also, it seems fairly unusual for anyone to build a production installation with absolutely no configuration options --- it'd work, but you'd get a really plain-vanilla server. You might consider reviewing

https://www.postgresql.org/docs/10/install-procedure.html

to see what other things might make sense to turn on.

regards, tom lane

________________________________

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-10-14 18:19:11 Re: Postgres 10.7 Systemd Startup Issue
Previous Message Adrian Klaver 2019-10-14 14:15:48 Re: Too many SET TimeZone and Application_name queries