Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r1QUt-00B7Xo-Nw for pgsql-admin@arkaria.postgresql.org; Fri, 10 Nov 2023 12:20:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r1QUq-003Ira-WA for pgsql-admin@arkaria.postgresql.org; Fri, 10 Nov 2023 12:20:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r1QUq-003IrS-HL for pgsql-admin@lists.postgresql.org; Fri, 10 Nov 2023 12:20:24 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r1QUo-004uFi-2n for pgsql-admin@lists.postgresql.org; Fri, 10 Nov 2023 12:20:23 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9e61e969b1aso98713866b.0 for ; Fri, 10 Nov 2023 04:20:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1699618820; x=1700223620; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=tLE6LbNQc84Oa0BO6JKxu5uZ3UQeEAmqJOxpw2pNlWw=; b=isDla3nDBdEsx1AonJ14oPcbcnve/r3NqLnI7zErl0pv72Zu+hiot1S0DFvemfkqXL pS5kj35KZCIuyq1O6V3xvS+jVbklzQ77LX5kCeMGZWPTxqQgWl8wi9aZFj3H4g63D2hT Le6fIcGQ8cPeUMO6Fgw8jk8Y4ti4FlO/KKMET5yMPv2w61fBIfetABPo7iPdgNCVeWXO aIT5wcnc7lamH7eVAj0hm8l7/L2aKsO4pE1bTDa+9B9dCwzABY/38GVaUFRcU5r+HE59 srMToKYnswLB7vEF5ACH0RDp0W5BWSB9Z7mivO98TolyHaFDsmMECjp/KA90MVt1geWL WX1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699618820; x=1700223620; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tLE6LbNQc84Oa0BO6JKxu5uZ3UQeEAmqJOxpw2pNlWw=; b=dHUIavauUqpX4MIhwTmnNd8a/dGV5NLGkUFF+dX32NIbOZ39eMf3wxTRdNqVOkEX5D 4BOuDc3WEIcTkgDPtNNjd047tz++3oEr4HKOpdIrEXSvKkAISl8mzislBVAqlwl330N+ EdVVLfJ/tm33tW/yNBQqvlGFp3CQH1/6RcUAWS+/HjLyoNmFfaTBgFPjLRJIn6UdJNAq 0X1oA9Sfj2K3h/Vlk8RTRSkSo8UyATsu2cY5O2bkngbaROPbdTXdh0rxk7S4t64pZUq4 WuHBw09gxdjnvqJX/6sABkqzUOuBfUwRkgP7wy1Z7uLEwvLuU7F087lAGG1LG55ADwqm u/mA== X-Gm-Message-State: AOJu0YxlAJ+JTaGQZjH68a5qErDSPWqubkLEiE6fpbpx8lfffpAWFaYd rhBd6jM/sB49AWpgwaIFS1R0Bg== X-Google-Smtp-Source: AGHT+IGnV989ZLME8EEPW4QFjgFLstEFDetek0Rs/KVr1nAcQS3vKoQpEVnFdTdpUWzDjU1poYkFiw== X-Received: by 2002:a17:907:7f29:b0:9d3:2de:5cbe with SMTP id qf41-20020a1709077f2900b009d302de5cbemr7562850ejc.18.1699618820314; Fri, 10 Nov 2023 04:20:20 -0800 (PST) Received: from localhost.localdomain ([2001:871:5e:69de:5414:27ce:609d:e1f8]) by smtp.gmail.com with ESMTPSA id lt24-20020a170906fa9800b0099d798a6bb5sm3854556ejb.67.2023.11.10.04.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 04:20:20 -0800 (PST) Message-ID: <2874e719d29908405c46ddd4273222aa3544afde.camel@cybertec.at> Subject: Re: fails to start - pg_stat_tmp ? From: Laurenz Albe To: lejeczek , pgsql-admin@lists.postgresql.org Date: Fri, 10 Nov 2023 13:20:19 +0100 In-Reply-To: <3c1964cc-ac89-4378-9b4f-841d8cb0fe01@yahoo.co.uk> References: <3c1964cc-ac89-4378-9b4f-841d8cb0fe01.ref@yahoo.co.uk> <3c1964cc-ac89-4378-9b4f-841d8cb0fe01@yahoo.co.uk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 2023-11-10 at 11:33 +0100, lejeczek wrote: > I have simple cluster managed by a popular toolset, I believe, and I get = a standby/slave node which > after it was shutdown, rebooted, is unable to start, not by the that clus= ter-manager nor manually. Thatks for telling us all the detail... > =C2=A0FATAL:=C2=A0 could not open directory "/var/run/postgresql/14-paf.p= g_stat_tmp": No such file or directory > =C2=A0LOG:=C2=A0 startup process (PID 54860) exited with exit code 1 >=20 > Indeed that dir, that path does not exist on the node - from what I can s= ee, among the nodes > comprising the cluster this path exists only on the _master_ node. Looks like somebody randomly deleted directories on that machine. Create it again, and make sure it belongs to the postgres user and nobody else has write access. Yours, Laurenz Albe