Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UWtGs-00058f-GS for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Apr 2013 18:57:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UWtGr-00085k-R5 for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Apr 2013 18:57:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UWtGr-00085e-0T for pgsql-bugs@postgresql.org; Mon, 29 Apr 2013 18:57:53 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UWtGj-0006g1-1I for pgsql-bugs@postgresql.org; Mon, 29 Apr 2013 18:57:52 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r3TIvZm12282; Mon, 29 Apr 2013 11:57:35 -0700 Message-ID: <517EC29A.5060903@hogranch.com> Date: Mon, 29 Apr 2013 11:57:30 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org CC: pradip29@gmail.com Subject: Re: BUG #8125: server connecting error References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 4/29/2013 12:02 AM, pradip29@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 8125 > Logged by: Pradip Patel > Email address:pradip29@gmail.com > PostgreSQL version: 9.0.0 > Operating system: Windows > Description: > > i have a backup of only the "data" folder of postgres and my serer was > crashed now i m trying to install thesame version of postgres and restore > that file but after that i m unable to connect with postgres server > > that showing me the following error > > ""could not connect to server: Connection refused (0x0000274D/10061) Is the > server running on host "localhost" and accepting TCP/IP connections on port > 5432? "" this is not a bug, and shouldn't be on the bug list. would best to bring this to the pgsql-general email list. at a minimum, after installing the new postgres software, you'd have to STOP postgres, THEN restore your data directory, then restart postgres. if it doesn't restart, then check the logfiles and/or event viewer to see why. if postgres was running when you made your data backup, odds are pretty good that backup is no good, unless you used backup software that used Windows Volume Snapshot Service (VSS). -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs