X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1ADD23A4090 for ; Wed, 10 Nov 2004 14:08:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58298-04 for ; Wed, 10 Nov 2004 14:08:15 +0000 (GMT) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by svr1.postgresql.org (Postfix) with ESMTP id 5ABCF3A3FDF for ; Wed, 10 Nov 2004 14:08:17 +0000 (GMT) Received: from lfix.demon.co.uk ([80.177.205.209] helo=cerberus.lfix.co.uk) by anchor-post-31.mail.demon.net with esmtp (Exim 4.42) id 1CRt9H-000CUK-6G; Wed, 10 Nov 2004 14:08:36 +0000 Received: from linda.lfix.co.uk ([192.168.1.1]) by cerberus.lfix.co.uk with esmtp (Exim 4.34) id 1CRt8p-0005SD-A8; Wed, 10 Nov 2004 14:08:07 +0000 Subject: Re: how do you run postgres without dns server From: Oliver Elphick Reply-To: olly@lfix.co.uk To: dobber@bastun.net Cc: pgsql-admin@postgresql.org In-Reply-To: <200411101215.42767.dobber@bastun.net> References: <200411101145.24279.dobber@bastun.net> <200411101215.42767.dobber@bastun.net> Content-Type: text/plain Organization: LFIX Limited Date: Wed, 10 Nov 2004 14:08:07 +0000 Message-Id: <1100095687.29685.89.camel@linda> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit X-LFIX-MailScanner: Found to be clean X-LFIX-MailScanner-SpamScore: s X-MailScanner-From: olly@lfix.co.uk X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.5 tagged_above=0.0 required=5.0 tests=RAZOR2_CF_RANGE_11_50, RAZOR2_CHECK X-Spam-Level: * X-Archive-Number: 200411/91 X-Sequence-Number: 15476 On Wed, 2004-11-10 at 12:15 +0200, Ivan Dimitrov wrote: > Yes, it is there > 127.0.0.1 localhost > but when i strace postmaster on startup it never looks in /etc/hosts Look at the "hosts:" line in /etc/nsswitch.conf. It needs to have the word "files" in there. -- Oliver Elphick olly@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA ======================================== "But thanks be to God, which giveth us the victory through our Lord Jesus Christ." I Corinthians 15:57