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 1iei6t-0006WP-9n for pgsql-general@arkaria.postgresql.org; Tue, 10 Dec 2019 16:11:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iei6s-0001gN-3G for pgsql-general@arkaria.postgresql.org; Tue, 10 Dec 2019 16:11:38 +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 1iei6r-0001f6-PO for pgsql-general@lists.postgresql.org; Tue, 10 Dec 2019 16:11:37 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iei6p-00005d-Je for pgsql-general@lists.postgresql.org; Tue, 10 Dec 2019 16:11:37 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 507AB2211C; Tue, 10 Dec 2019 11:11:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 10 Dec 2019 11:11:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=Q TMOec2iHYilP/bq8q6IEreGfFKzJAuDLL1Td9c18P0=; b=pXbCgfM8sp4zGlTYO In+ESL6xolYX5D2V3sTnzNYEjIxsAB8IFQNTxJFRaN+3kSY5HsY1RIv4ciMWTc3e W+qo6VDM0kJrmTe8Dgg6F26xymhcO5+cLJX6XiI/X65dg2+VGozneEpp8wiebL+r ukTMmt/e+Fiwto5ov8ElY0X/QFDYBX6RFV56bmIjH3Pn3yqu2pyUo9gIp/9smM6V 4DpyTDTLK/kR8GSVccEUqxgKVY8D838w7ja8fOiDip4Rn3mZfCQA33reryQpkW2K jqULjX0pfaSmLTAhJ3aHaxOxix9xMhj6mkWBMDRN2N4CFYm+DeILrOSPwbIi8tNx qxQ7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=QTMOec2iHYilP/bq8q6IEreGfFKzJAuDLL1Td9c18 P0=; b=tZV0ljJDHb3sJwgnn/oYblhGZGlWeuFGCu8iLtnYdYF80EhD+MIZTTnES OtAWFjVqyRrg1fOP+23AkoPL4ujplY4/FOp8jf2N7KFtjfZw+IDj+DX37QtoK3ir h7+aGHd2Sd3b6ct7ZRkfk6kb+v9RYAqLy1d7aWR5Nh9OpVfeobwIE1xCQvdH1I5J NpyaNKtx8ZvkWhRAhcubvu9jL8riy63dM13ksQWi7JD3AJJsvZXl+g7gp88jOqPs g4wrANeKgCeHfiuG4UJbQZRoJTDWWlwYP5c0jD6+D1nCwOSUjKKYX/LFw7zt2JTY U5sbqjJEHk8WBxZmhrqNJ8qPPuhcw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudelfedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecukfhppeejuddrvdduvddrudefledrud ejnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.2] (unknown [71.212.139.17]) by mail.messagingengine.com (Postfix) with ESMTPA id 8C3158005B; Tue, 10 Dec 2019 11:11:33 -0500 (EST) Subject: Re: server will not start (Debian) To: stan , Justin Cc: pgsql-general@lists.postgresql.org References: <20191210114823.GA18735@panix.com> <20191210133635.GA24804@panix.com> <20191210153255.GA25615@panix.com> From: Adrian Klaver Message-ID: <2887a700-04ec-2168-4039-08752025352c@aklaver.com> Date: Tue, 10 Dec 2019 08:11:32 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20191210153255.GA25615@panix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/10/19 7:32 AM, stan wrote: > On Tue, Dec 10, 2019 at 08:55:02AM -0500, Justin wrote: >> Hi Stan >> >> Check security make sure V12 postgres has the correct credentials.... >> > OK, > > postgres@stantest:/var/run/postgresql$ ls -ld > drwxrwsr-x 2 postgres postgres 40 Dec 10 08:35 . > > Looks correct to me. > > This sundirectory 12-main.pg_stat_tmp keeps getting deleted. > > If I create it by hand as user psotgres, the DB starts up when I run: > > /usr/lib/postgresql/12/bin/postgres -D /var/lib/postgresql/12/main -c > config_file=/etc/postgresql/12/main/postgresql.conf > > But tring to start it with /etc/ini.d/postgresql start fails > How did you install Postgres 12? Why are you using the file in init.d/ instead of pg_ctlcluster? -- Adrian Klaver adrian.klaver@aklaver.com