Search Postgresql Archives

RE: Postgres 10.7 Systemd Startup Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
Cc: 'Christopher Browne' <cbbrowne@xxxxxxxxx>; 'Francisco Olarte' <folarte@xxxxxxxxxxxxxx>; Kelly, Kevin <Kevin.Kelly@xxxxxxxxxxxxxxxxx>; 'pgsql-general@xxxxxxxxxxxxxx' <pgsql-general@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
Cc: Christopher Browne <cbbrowne@xxxxxxxxx>; Francisco Olarte <folarte@xxxxxxxxxxxxxx>; Kelly, Kevin <Kevin.Kelly@xxxxxxxxxxxxxxxxx>; pgsql-general@xxxxxxxxxxxxxx
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@xxxxxxxxxxxxx]
Sent: Friday, June 07, 2019 10:04 AM
To: Lu, Dan <Dan.Lu@xxxxxxxxxxxxxxxxx>
Cc: Christopher Browne <cbbrowne@xxxxxxxxx>; Francisco Olarte <folarte@xxxxxxxxxxxxxx>; Kelly, Kevin <Kevin.Kelly@xxxxxxxxxxxxxxxxx>; pgsql-general@xxxxxxxxxxxxxx
Subject: Re: Postgres 10.7 Systemd Startup Issue

"Lu, Dan" <Dan.Lu@xxxxxxx> 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.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux