Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1igUyy-0002EB-Gu for pgsql-general@arkaria.postgresql.org; Sun, 15 Dec 2019 14:34:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1igUyx-0007VP-CH for pgsql-general@arkaria.postgresql.org; Sun, 15 Dec 2019 14:34:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1igUyx-0007VI-2J for pgsql-general@lists.postgresql.org; Sun, 15 Dec 2019 14:34:51 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1igUyv-0004Rb-5N for pgsql-general@lists.postgresql.org; Sun, 15 Dec 2019 14:34:50 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 4B7471935; Sun, 15 Dec 2019 15:34:46 +0100 (CET) Date: Sun, 15 Dec 2019 15:34:46 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: server will not start (Debian) Message-ID: <20191215143446.GA22463@hjp.at> References: <20191210114823.GA18735@panix.com> <20191210133635.GA24804@panix.com> <20191210153255.GA25615@panix.com> <2887a700-04ec-2168-4039-08752025352c@aklaver.com> <5d82c056-49a0-0512-2915-4aac6b25802b@rodonnell.ie> <20191210170330.GA432@panix.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <20191210170330.GA432@panix.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-12-10 12:03:30 -0500, stan wrote: > OK, here is the latets. If I do sudo systemctl start postgresql@12-main >=20 > the instance starts and works fine. >=20 > However, if I reboot the machine, the instance is not started. Check whether the service is enabled in systemd: # systemctl status postgresql@12-main.service=20 =E2=97=8F postgresql@12-main.service - PostgreSQL Cluster 12-main Loaded: loaded (/lib/systemd/system/postgresql@.service; enabled-runtime= ; vendor preset: enabled) ^^^^^^^ If it isn't, enable it: # systemctl enable postgresql@12-main.service hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl32RIEACgkQ8g5IURL+ KF3kMhAAnLioy6CncGffE4/SDtColHaLobBPeXY2WsVF/SoiaRJV/CRSmFAzp7vJ g31SGl67IWIMg//ocnkfommhe9LHKqlQxnIRi1xeZbAPY5bp3ILYsZpZBnHzgyPU xnT7RsMqQ+f3oplJE2/vaM8HYSdwl2jtuER5RrotbZQKJHQO4wnc3pRgLdP+uQwg rCGU8CfJ52HndUHxClLaOUt/k43Y2os54ZV7zilWJ3lHyXXNOLM5gWGYS6/p88ky QtJFE0f85rGWQkxV8lLuE2BctN0PfkzZF+URNVjEWgwhqADbRFFYlG38Q1/L5sb3 BvkVX2BN08NP5ZyHU1NvYz4JBHANBV+XFLf7ktS+qpemmHoNOD4sRKQlU+1ZSQXV dofpS9v0QMP+4pH19FVc0lJ0iKdkXl2DI66M3G6BzjdArEJn9CleqcRnQTzdhr6Y VXn4IdvPfOl9l/tszZjenbPnrKoObDOY3WYZJdiWHPxDRtGMJgQpbz6v7Xkvz/mH xl5H6ghbiXVS7mUQysD1a2wYaKTSqN8ChLWIlYPxQdOYsRxMsnkT7N6bg1CO2Clz 6zoK1CYYXVI6a/Ht/Ukq/M0C6C+wkRBboCjgcd7P16aGIBoNXb20cvwP8/cYAizx g7LxDbaknJkhPxCmsSyBynPLx83v8cNMjf+WmOt89XRQqvd98WA= =zXDi -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--