Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xs1UZ-0003XR-Qn for pgsql-admin@arkaria.postgresql.org; Sat, 22 Nov 2014 03:36:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xs1UY-0003sK-Dh for pgsql-admin@arkaria.postgresql.org; Sat, 22 Nov 2014 03:36:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XroBt-0001Ze-VB for pgsql-admin@postgresql.org; Fri, 21 Nov 2014 13:24:02 +0000 Received: from [162.253.133.43] (helo=mwork.nabble.com) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XroBq-0001JK-4l for pgsql-admin@postgresql.org; Fri, 21 Nov 2014 13:24:00 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id B275AAC8D38 for ; Fri, 21 Nov 2014 05:23:57 -0800 (PST) Date: Fri, 21 Nov 2014 06:23:57 -0700 (MST) From: rajivmehta0201 To: pgsql-admin@postgresql.org Message-ID: <1416576237300-5827854.post@n5.nabble.com> In-Reply-To: References: Subject: Re: Shell Script for Vacuum MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 162.253.133.43 (failed) X-Pg-Spam-Score: 0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hi, I am running this script but it giving error. vacuumdb: could not connect to database postgres: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? Can you please help me on this? -- View this message in context: http://postgresql.nabble.com/Shell-Script-for-Vacuum-tp5765414p5827854.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin