Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fyOdM-0004Ca-Rz for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Sep 2018 21:49:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fyOdL-0006v8-7N for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Sep 2018 21:49:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fyOdK-0006v0-Tq for pgsql-bugs@lists.postgresql.org; Fri, 07 Sep 2018 21:49:43 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fyOdI-0005w0-BA for pgsql-bugs@lists.postgresql.org; Fri, 07 Sep 2018 21:49:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w87LncM1024267; Fri, 7 Sep 2018 17:49:38 -0400 From: Tom Lane To: eluther@smartleaf.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15369: Postgres fails to start with default "ssl = true" configuration In-reply-to: <153635602607.23141.11387954289570596564@wrigleys.postgresql.org> References: <153635602607.23141.11387954289570596564@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Fri, 07 Sep 2018 21:33:46 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24265.1536356978.1@sss.pgh.pa.us> Date: Fri, 07 Sep 2018 17:49:38 -0400 Message-ID: <24266.1536356978@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Bug_reporting_form?= writes: > Starting PostgreSQL 9.6 database server: mainThe PostgreSQL server failed to > start. Please check the log output: 2018-09-07 16:49:56.926 EDT [3990] > FATAL: could not access private key file > "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied 2018-09-07 Did you check permissions on the directories leading to ssl-cert-snakeoil.key? The fact that you had to use sudo to list that directory is, shall we say, suspicious. regards, tom lane