Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRMyM-0001Np-RF for pgsql-sql@arkaria.postgresql.org; Thu, 04 Feb 2016 16:41:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRMyL-00011N-Ss for pgsql-sql@arkaria.postgresql.org; Thu, 04 Feb 2016 16:41:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aRMyJ-0000zd-Gk for pgsql-sql@postgresql.org; Thu, 04 Feb 2016 16:41:32 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aRMyG-0006l8-Vl for pgsql-sql@postgresql.org; Thu, 04 Feb 2016 16:41:30 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 71E3520967 for ; Thu, 4 Feb 2016 11:41:27 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 04 Feb 2016 11:41:27 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=JNu40/GIZBrQh5okYSlPrTlSBYE=; b=iKEeqp v8fq050PXxrYeYajsj9iy3R6AYsDlVahgzVWqLMmbAoGQU9cdvFYvLDPNY+/vSrZ OknwYdqn2oyfCOXrbT/SZ3QFtJjrICggti2exgFuF5SbAeb/brrdMxzryB6GlySB A/viHRKwMSNEkdmN4qWdcBD/1f6cmyZxKT1FE= DKIM-Signature: v=1; a=rsa-sha1; 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-sasl-enc:x-sasl-enc; s=smtpout; bh=JNu40/GIZBrQh5o kYSlPrTlSBYE=; b=tVOLN/QKon1zIm+hHNF1rbgcTLK0QtfmSjPGw/oF2Nzd5Sf LNEkV05qHyO5uyU+c7Q+aohtYBtMKKFlE1hDaUOaMlWmqDddja5CxXY8SXhG9oob qdrH5+YW/pdk2ubT1+PTgxcPkeyBL+H2xLy+H1XzmZodTRDYb8Og18OAyxDE= X-Sasl-enc: PiBNDGAZtEDB9bxs3riPZGMl9ZCl/YKLwfk4z0zNmB7C 1454604087 Received: from [192.168.1.2] (174-21-70-246.tukw.qwest.net [174.21.70.246]) by mail.messagingengine.com (Postfix) with ESMTPA id D07C96800B5; Thu, 4 Feb 2016 11:41:26 -0500 (EST) Subject: Re: Create db fails using utility tool To: Shashank Dutt Jha , pgsql-sql@postgresql.org References: From: Adrian Klaver Message-ID: <56B37EF8.7030904@aklaver.com> Date: Thu, 4 Feb 2016 08:40:24 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On 02/03/2016 11:23 PM, Shashank Dutt Jha wrote: > c:\Program Files\PostgreSQL\9.5\bin>createdb.exe testdb > createdb: could not connect to database template1: could not connect to > server: > Connection refused (0x0000274D/10061) > Is the server running on host "localhost" (::1) and accepting > TCP/IP connections on port 5432? > could not connect to server: Connection refused (0x0000274D/10061) > Is the server running on host "localhost" (127.0.0.1) and accepting > TCP/IP connections on port 5432? > > Well the error is pretty specific, so is the server running and if so does it have the parameters set as above? -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql