From renjibabu@ymail.com Fri Jun 8 09:07:13 2012 Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 8DB16D84656 for ; Fri, 8 Jun 2012 06:07:13 -0300 (ADT) Received: from nm39-vm0.bullet.mail.bf1.yahoo.com ([72.30.239.144]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Scv9y-0003PM-IQ for pgsql-bugs@postgresql.org; Fri, 08 Jun 2012 09:07:13 +0000 Received: from [98.139.212.146] by nm39.bullet.mail.bf1.yahoo.com with NNFMP; 08 Jun 2012 09:06:57 -0000 Received: from [98.139.212.213] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 08 Jun 2012 09:06:57 -0000 Received: from [127.0.0.1] by omp1022.mail.bf1.yahoo.com with NNFMP; 08 Jun 2012 09:06:57 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 797502.56320.bm@omp1022.mail.bf1.yahoo.com Received: (qmail 80119 invoked by uid 60001); 8 Jun 2012 09:06:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1339146417; bh=IORbtKSb1TnN07SATZ6JTivKDOi8Ef14bLRyPbCD++o=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=TTlg9eBLa+GkoGril+3bwE1ydX9GnUn4Hn6Zoa1u64KZLnet1L8Em2bOQqjO6LpWVZ7D2Z//JcR+8hAiTkPnWje/L1lPi3EqHxDbk5BfygWWCIlX3NTjELAiQYsCt6W0MZCnLXVCG/noPgBhhUKVlvR8+hpWVSZ18oWMT2qP64U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=EsyZ06/JFIaIOr2nLhsz8bkACh0mIW2vTMJGw3R+mS3TXVg44KSNE1ld3QRSc56OcosLKmzElOq83JEC/ONhrds2mJbkcAOt8C+vgoAFou04llUJ6Ju/ehvDa1XmvmqdUfNkX66Dx40QFk4nC+6R6eTjitHadp+CYNlBwJtP8pw=; X-YMail-OSG: p3xg2uQVM1mgsSmw_QnBEHPaBbwqsk49jOua9JWptjA9HUx 4tWw7Lxfqq38tHxhH0CmVNaNU9h7.7ey0MSeOOXZu3gzEAR7uZNC3laRwkoV pb_Bs0fGjgicDga7CmRVSqaT_SuOPK7BKIXsOKRX7NqnihrCCVdHBSdzF.T. FRM5gbfvP1wuED09Xzxm_Ffslf6_OyrdlCGu43tq0emX_sFKJbKn.P6.4qAw mTH2sTpE1nTDcDEhh4UYjoQEPK57rnEIxaUHAzWHyYz9QRzTIvldJ1VtSVk9 HA2lyZA6aqtkNyCMUwA_eKKCrlNzS42FPp91z2NqJpM49m7Uc.27L08XgX3U Enm8XlsNf9kBDPrWjHSl1HOr_i7gB7hXGYnZgAO2Kfg6h3vD6ZfJxvmsuN0q S24aOWs12NVEUvpuD56dxE0knVTlIbGVoVszwFCNWxF0_5.mFsmQj1TvJNnQ p Received: from [117.211.100.45] by web162201.mail.bf1.yahoo.com via HTTP; Fri, 08 Jun 2012 02:06:57 PDT X-Mailer: YahooMailWebService/0.8.118.349524 References: Message-ID: <1339146417.67636.YahooMailNeo@web162201.mail.bf1.yahoo.com> Date: Fri, 8 Jun 2012 02:06:57 -0700 (PDT) From: Renji Babu Reply-To: Renji Babu Subject: error connecting to postgresql by pgadmin To: "pgsql-bugs@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1252958027-1741680982-1339146417=:67636" X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/63 X-Sequence-Number: 33290 ---1252958027-1741680982-1339146417=:67636 Content-Type: text/plain; charset=us-ascii Hi, I have installed PostgreSQL 9.1 on windows 7 and I am unable to connect to the database after I restart the machine. When I first installed postgres from pgadmin III, Service started and database also got connected. But when I shutdown and tried to start the service again, it is showing as the service is connected and if I try to connect to database it's giving the following message: "could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?" Renji Babu ---1252958027-1741680982-1339146417=:67636 Content-Type: text/html; charset=us-ascii

Hi,

I have installed PostgreSQL 9.1 on windows 7 and I am unable to connect
to the database after I restart the machine.

When I first installed postgres from pgadmin III, Service started and
database also got connected.

But when I shutdown and tried to start the service again, it is showing as
the service is connected and if I try to connect to database it's giving the
following message: 

"could not connect to server: Connection refused (0x0000274D/10061) Is the
server running on host "127.0.0.1" and accepting TCP/IP connections on port
5432?"

Renji Babu


---1252958027-1741680982-1339146417=:67636-- From robertmhaas@gmail.com Fri Jun 8 17:38:09 2012 Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 235D9D84656 for ; Fri, 8 Jun 2012 14:38:09 -0300 (ADT) Received: from mail-yx0-f174.google.com ([209.85.213.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Sd38Q-0008GU-PN for pgsql-bugs@postgresql.org; Fri, 08 Jun 2012 17:38:08 +0000 Received: by yenm10 with SMTP id m10so1453017yen.19 for ; Fri, 08 Jun 2012 10:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=j3gE+6+GTRQTgZuKnXc7iHjzGKGFRepjf2cbm0cFS3E=; b=btHGdv1Sjhbj2znUTlHzExPokDhYAORu4MHrh2ny9fIUi74mdYMwUBMbsT0vybxgrN b+n+sKAKvvsbn7or3ZdulSYtzkm+MqH3SflpYMYhHICyi9t1VBwCUZotiqee0/Cg13S6 M2j06HWT1l0kCjSwaAF7OtPOlZxdTSNHAPKw2/XBCDNS17CLbczPaA9uEXaH68LUrxaG njn1kAB2kzJzthp2McF9HRH16a6VZ0mSBvnzNkmXe5lvrnhN05n9SDFTEk+OYW78YlOL ZjURm9Mp5p3KZtztAYuM18PUrX+MEi61jmqt/HOtO5rRZJ5adwk74RDPKHkO+RFB1Klq ryTA== MIME-Version: 1.0 Received: by 10.50.208.105 with SMTP id md9mr3128492igc.12.1339177073051; Fri, 08 Jun 2012 10:37:53 -0700 (PDT) Received: by 10.64.8.212 with HTTP; Fri, 8 Jun 2012 10:37:53 -0700 (PDT) In-Reply-To: <1339146417.67636.YahooMailNeo@web162201.mail.bf1.yahoo.com> References: <1339146417.67636.YahooMailNeo@web162201.mail.bf1.yahoo.com> Date: Fri, 8 Jun 2012 13:37:53 -0400 Message-ID: Subject: Re: error connecting to postgresql by pgadmin From: Robert Haas To: Renji Babu Cc: "pgsql-bugs@postgresql.org" Content-Type: text/plain; charset=ISO-8859-1 X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201206/75 X-Sequence-Number: 33302 On Fri, Jun 8, 2012 at 5:06 AM, Renji Babu wrote: > I have installed PostgreSQL 9.1 on windows 7 and I am unable to connect > to the database after I restart the machine. > > When I first installed postgres from pgadmin III, Service started and > database also got connected. > > But when I shutdown and tried to start the service again, it is showing as > the service is connected and if I try to connect to database it's giving the > following message: > > "could not connect to server: Connection refused (0x0000274D/10061) Is the > server running on host "127.0.0.1" and accepting TCP/IP connections on port > 5432?" I'd check the PostgreSQL log files, if any, and the Windows event log for errors. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company