Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFYHX-0006Vz-PE for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Aug 2021 08:47:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mFYHW-0004H6-Q4 for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Aug 2021 08:47:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFYBQ-0008RF-Vc for pgsql-bugs@lists.postgresql.org; Mon, 16 Aug 2021 08:41:25 +0000 Received: from relay09.alfahosting-server.de ([109.237.142.247]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mFYBM-0005jT-1y for pgsql-bugs@lists.postgresql.org; Mon, 16 Aug 2021 08:41:24 +0000 Received: by relay01.alfahosting-server.de (Postfix, from userid 1001) id 1788532C4343; Mon, 16 Aug 2021 10:41:18 +0200 (CEST) X-Spam-DCC: : X-Spam-Level: X-Spam-Status: No, score=0.0 required=7.0 tests=BAYES_50,HTML_MESSAGE, WEIRD_PORT autolearn=disabled version=3.2.5 Received: from alfa3207.alfahosting-server.de (alfa3207.alfahosting-server.de [109.237.140.52]) by relay01.alfahosting-server.de (Postfix) with ESMTPS id 862CF32C5029; Mon, 16 Aug 2021 10:41:15 +0200 (CEST) Received: from [192.168.178.31] (dynamic-077-013-215-040.77.13.pool.telefonica.de [77.13.215.40]) by alfa3207.alfahosting-server.de (Postfix) with ESMTPSA id 17DDEA0B35A5; Mon, 16 Aug 2021 10:41:13 +0200 (CEST) Date: Mon, 16 Aug 2021 10:40:38 +0200 From: "=?utf-8?Q?Zh=C3=A9xu=C3=A9_M._=40Study?=" To: Tom Lane Cc: pgsql-bugs@lists.postgresql.org Message-ID: <51211b69-528d-4054-8b50-4ce25615b45b@Canary> In-Reply-To: <4096440.1628797801@sss.pgh.pa.us> References: <2ae168c1-a39a-440d-8a06-f38614a0e9d1@Canary> <4096440.1628797801@sss.pgh.pa.us> Subject: Re: Postgresql - Service hangs.... MIME-Version: 1.0 Content-Type: multipart/signed; boundary="611a2486_327b23c6_1030"; protocol="application/pgp-signature" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --611a2486_327b23c6_1030 Content-Type: multipart/alternative; boundary="611a2486_6b8b4567_1030" --611a2486_6b8b4567_1030 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all, please excuse the late reply. to the 1st question: Error message NO, no error message appears in the LOG regarding this. It looks like the script is waiting for something, but according to =22ps= -ef=22 the database server is there and running. According to pgAdmin al= so.... To question 2: Installation I installed the =22update=22 via apt upgrade and it also ran through with= out errors. However, the subsequent steps regarding conversion of the DB = to the new release were not purposeful, but the database =22main=22 was s= ubsequently defective and he also =22simply=22 deleted the data structure= / storage that I created (ext. Volume, etc.).... I found out over the weekend that something was bothering him regarding =22= huge=5Fpages=22 in connection with the buffersize settings, etc. On the question of where the script came from: Well, I use the script to start on postgresql, which is installed togethe= r with the package. I don't change anything there either, I just analyze = it if something doesn't work. What can I do now=3F Because, as I said before, the server does not start= via =22systemctl start....=22 when the system is rebooted. After that I = can start the script, but have to cancel it with Ctrl-C, so I can continu= e working on this session. Best regards Matthias -------------------------------------------------------------------------= The diversity of human dignity =22Jede Handlung, die mit gutem Willen und Wirksamkeit ausgef=C3=BChrt wird, ist eine mystische Handlung=22 > On Donnerstag, Aug. 12, 2021 at 9:50 PM, Tom Lane wrote: > =22=3D=3Futf-8=3FQ=3FZh=3DC3=3DA9xu=3DC3=3DA9=5FM.=5F=3D40Study=3F=3D=22= writes: > > Today, i installed the Release 14 beta 3 on my System and with this v= ersion, the Service > > don't want to start automatic if the system is coming up. > > How did you install it exactly --- from source=3F somebody's packaging > (whose=3F) Where did you get the systemd unit file for it from=3F > > What this sounds like is the server isn't acting the way the systemd > unit file expects it to, thus I suspect a mismatch. > > If you built from source and tried to use an existing unit file, > the most likely bet is you forgot to configure --with-systemd. > > regards, tom lane > --611a2486_6b8b4567_1030 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <= meta name=3D=22viewport=22 content=3D=22width=3Ddevice-width, initial-sca= le=3D1.0, user-scalable=3Dno=22>

Hello all,
please excuse = the late reply.

to the 1st question: Error messa= ge
NO, no error message appears in the LOG regarding this.
It looks like the script is waiting for something, but according to= =22ps -ef=22 the database server is there and running. According to pgAd= min also....

To question 2: Installation
I installed the =22update=22 via apt upgrade and it also ran through w= ithout errors. However, the subsequent steps regarding conversion of the = DB to the new release were not purposeful, but the database =22main=22 wa= s subsequently defective and he also =22simply=22 deleted the data struct= ure / storage that I created (ext. Volume, etc.)....

=
I found out over the weekend that something was bothering him regard= ing =22huge=5Fpages=22 in connection with the buffersize settings, etc.

On the question of where the script came from:
Well, I use the script to start on postgresql, which is installed= together with the package. I don't change anything there either, I just = analyze it if something doesn't work.

What can I= do now=3F Because, as I said before, the server does not start via =22sy= stemctl start....=22 when the system is rebooted. After that I can start = the script, but have to cancel it with Ctrl-C, so I can continue working = on this session.

Best regards

Matthias
-------------------------------------------------= ------------------------
The diversity of human digni= ty
=22Jede Handlung, die mit gutem Willen und Wirksamke= it
ausgef=C3=BChrt wird, ist eine=C2=A0mystische Handlung=22

On = Donnerstag, Aug. 12, 2021 at 9:50 PM, Tom Lane <tgl=40sss.pgh.pa.us> wrote:
=22= =3D=3Futf-8=3FQ=3FZh=3DC3=3DA9xu=3DC3=3DA9=5FM.=5F=3D40Study=3F=3D=22 <= ;study=40xn--zhxu-cpac.eu> writes:
T= oday, i installed the Release 14 beta 3 on my System and with this versio= n, the Service
don't want to start automatic if the system is coming = up.

How did you install it exactly --- from source=3F= somebody's packaging
(whose=3F) Where did you get the systemd unit f= ile for it from=3F

What this sounds like is the server isn't act= ing the way the systemd
unit file expects it to, thus I suspect a mis= match.

If you built from source and tried to use an existing uni= t file,
the most likely bet is you forgot to configure --with-systemd= .

regards, tom lane

--611a2486_6b8b4567_1030-- --611a2486_327b23c6_1030 Content-Type: application/pgp-signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: Canary PGP V3 iQJJBAABCgAzLBxaaMOpeHXDqSBNLiBLcmF3dXRzY2hrZSA8c3R1ZHlAemjDqXh1 w6kuZXU+BQJhGiSGAAoJEM22iwCVMSJYP/4QAI2LUWju/vxrccGQrvpzi/qhGfnd tra8o7flzYNmN1PbPGJI+O08EuF2z1DoqZUeHHetjTJtWnbuPNMklSAjCdNaHP13 MNpslys382Qlp+GwPnMJ8FrWcJNOi53QyrMXMXcCRBUqEkK44CDZGVpK0smoAAt2 hJ3yABDh3wLfpseKrafpPmokHJUBjHZi7I5Uoe/Df9bt4YRdOFZ9V25pwJn/zWW6 farwSy0+Lzgw4M3T68v4rqyPeEfdvJRpfqrQNtR5vulGMPzs+eyfOgBbszdDsIQb dr/3z6LBPHzcQBG9u0cyC0CZswkkIFaw95+WJ5RFkiE7MvVeLDqVG6DPky8kVVH/ e+4J72ZtmX3AQwlrLZjDpyeP/GxLcbQloORUmVgoJ74GO5u06+/JQLqDONVYsuig ei7w0qTiSFqXxFI+tkftc1CMytcB69YA1p/PKR4C8gNjstfLUMcKkbvL9Egx9gon jo7Vj5/ZgDzsdymSCbETcKMeOJpItOXL2oEKWqoHVFdE2H4S2kGJ4Jyyu7eXVSU0 5YF+ZtU3T5gPs6vHTcPFkbE0Uf58PtkEr4NEOseoCb9MDH2Afj7dIT1KmnzoSUKf RtG6PSUpjJwLGTwjcl8qIEJ/m1xmia7433mVSLtCE130BmBPBtHcTZFTh3T51tvB UGSprwDJRa6LPA46 =OHhL -----END PGP SIGNATURE----- --611a2486_327b23c6_1030--