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 1gkWEe-000654-Ug for pgsql-general@arkaria.postgresql.org; Fri, 18 Jan 2019 15:39:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gkWEd-0007sq-NJ for pgsql-general@arkaria.postgresql.org; Fri, 18 Jan 2019 15:39:07 +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 1gkWEc-0007sV-2l for pgsql-general@lists.postgresql.org; Fri, 18 Jan 2019 15:39:07 +0000 Received: from [64.147.123.25] (helo=wout2-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkWEX-00032r-Gb for pgsql-general@postgresql.org; Fri, 18 Jan 2019 15:39:05 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 085571E6D; Fri, 18 Jan 2019 10:38:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 18 Jan 2019 10:38:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=S qP062CXhAxusn8VWDa830pbQhg03RpI0bkpyR2yoZQ=; b=oq5SOAOWR9XhRaOOn fLB33FPOdcpiyrAd0UlV1g6Ej7mSmty7StCXgdYf/Q2tAxaxL8Q5R/jPtBnWLMzt PuaOTqB7hC0nUZbT32Gd4kZMOZVAfABG5pN7ydnhJxlUyRDiGe01kOhMYNIJ7B+0 Wk/W2BSIvVRX9E0G0uRQbY72J22SVfFyid9FPhNDAmzt8O/Iu0UJgSHZO/WoonzV AkWAv5+dh2dWAs/n5+sUl6hfk2QRTPsD5s0bQgHxiIQesVgRmNjqkex2nqxJAaXg 2NyNtrfFMCgbJdUP2o9M+nYzeWgg3fW0K1e1fjuduYeJh+PtqClWpTSWkQnGcutN 7RcIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=SqP062CXhAxusn8VWDa830pbQhg03RpI0bkpyR2yo ZQ=; b=FZcGMR/HVu+54EHvXaMqD75LRgEF2RG7zwSqbVjbV0YiLeQb4ATC5VDIw vfo5EsW4g6ZHVCU9b/FC0Y8o4CVudPJSMcpQIsil9gmQAGdmQEH8RkAJjo6TDQm7 uDDHvlhHPz3Fu75BLib6gwtZNFBMSH/Dy3lJrw4LEpZWcawf99anriFaV0g+Eicx UqGA0CguONQ8+yxCHP7TVkR4LzBmpVRTrhVMJSeAw5opMSiiDyg5Cl/YEaSonYqB 2N6TsrMH6rCRzMFCBIAGdq2J2stA/gYGvwpP0ofEU+DHIRr3PIWeY7KbRbsptXT3 iKXWPM1NznL1F//e67XsyCOVsBpXA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrhedtgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpe etughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgv rhdrtghomheqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdqrghrtghhihhvvgdroh hrghdpphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeejuddrvdduvddrudefgedrfeen ucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvh gvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.2] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 5DA70E461F; Fri, 18 Jan 2019 10:38:37 -0500 (EST) Subject: Re: Upgrading from 9.2.15 to 9.4.20 To: Michal , pgsql-general@postgresql.org References: <1547807459253-0.post@n3.nabble.com> <0cefb0b6-6ee0-d2ca-6127-3c5104df1b80@matrix.gatewaynet.com> <1547812238246-0.post@n3.nabble.com> From: Adrian Klaver Message-ID: <57cad5fd-4ef3-5a13-c4b8-9f6aa83efdd9@aklaver.com> Date: Fri, 18 Jan 2019 07:38:36 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <1547812238246-0.post@n3.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.25 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 1/18/19 3:50 AM, Michal wrote: > Is anywhere where IP adress of the server must be set? Because im doing > upgrade on test and this is copy of the VM of production (upgrading Jira > PostgreSQL)...Checks when Postgres 9.2.15 running gives me ok when i stop > both instances and try to upgrade i have error what i writed. What OS.version are you using? https://www.postgresql.org/docs/10/runtime-config-connection.html > > Can you be please more specific what can i do? > > directory /run/postgresql when Postgres 9.2.15 running contains this : > pg_upgrade_internal.log pg_upgrade_server.log pg_upgrade_utility.log Is this when it is running not in upgrade mode? If so the I would try the command the pg_upgrade_server.log showed was used to start the server in upgrade mode(making sure the server is not running before you do the below): /usr/bin/pg_ctl -w -l pg_upgrade_server.log -D /var/lib/pgsql/data -o "-p 50432 -b -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directory='/run/postgresql'" start Then look in /run/postgresql. If the server does not start I would look in the system logs to see if there is a permissions problem preventing Postgres from writing to /run/postgresql. > > and how can i make local UNIX connections trusted in pg_hba.conf? > pg_hba.conf contains this : https://www.postgresql.org/docs/10/client-authentication.html > > # TYPE DATABASE USER ADDRESS METHOD > So: > # "local" is for Unix domain socket connections only Turn this: > #local all all peer into: local all all trust Then restart the server. > # IPv4 local connections: > #host all all 127.0.0.1/32 ident > # IPv6 local connections: > #host all all ::1/128 ident > # Allow replication connections from localhost, by a user with the > # replication privilege. > #local replication postgres peer > #host replication postgres 127.0.0.1/32 ident > #host replication postgres ::1/128 ident > local all all trust > host all all 127.0.0.1/32 trust > > Thanks for help > > > > -- > Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html > > -- Adrian Klaver adrian.klaver@aklaver.com