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 BD80A3A3E38 for ; Wed, 10 Nov 2004 10:15:39 +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 84048-04 for ; Wed, 10 Nov 2004 10:15:32 +0000 (GMT) Received: from dobber.bastun.net (dobber.bastun.net [213.222.51.199]) by svr1.postgresql.org (Postfix) with ESMTP id 9F0B13A3E19 for ; Wed, 10 Nov 2004 10:15:30 +0000 (GMT) Received: from dobber.bastun.net (dobber@localhost [127.0.0.1]) by dobber.bastun.net (8.13.1/8.13.1/Debian-16) with ESMTP id iAAAFiqQ021034 for ; Wed, 10 Nov 2004 12:15:44 +0200 Received: from localhost (localhost [[UNIX: localhost]]) by dobber.bastun.net (8.13.1/8.13.1/Submit) id iAAAFiUD021031 for pgsql-admin@postgresql.org; Wed, 10 Nov 2004 12:15:44 +0200 X-Authentication-Warning: dobber.bastun.net: dobber set sender to dobber@bastun.net using -f From: Ivan Dimitrov Reply-To: dobber@bastun.net To: pgsql-admin@postgresql.org Subject: Re: how do you run postgres without dns server Date: Wed, 10 Nov 2004 12:15:37 +0200 User-Agent: KMail/1.7 References: <200411101145.24279.dobber@bastun.net> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3948143.0t79rpqOMT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411101215.42767.dobber@bastun.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/88 X-Sequence-Number: 15473 --nextPart3948143.0t79rpqOMT Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yes, it is there 127.0.0.1 localhost but when i strace postmaster on startup it never looks in /etc/hosts =CD=E0 10.11.2004 12:05 =E2=E8=E5 =ED=E0=EF=E8=F1=E0=F5=F2=E5: > localhost should be defined in your hosts file, which in most unixoid > environments is /etc/hosts. It is not an error. > > Hal > > On Wed, 10 Nov 2004, Ivan Dimitrov wrote: > > I have a database on a machine that does not know what localhost is. Ye= s, > > I have 127.0.0.1, but I can't resolve localhost to it. I don't want to > > start a caching dns, and don't want to change resolve.conf. Upon > > starting, postgres gives error cannot bind to localhost. then starts > > accepting connections to 127.0.0.1 normaly. > > So, why does postgres try to resolve localhost in the first place? > > Because of this error pg_autovacuum does not start. > > -- > > > > > > Hi! I'm your friendly neighbourhood signature virus. > > Copy me to your signature file and help me spread! =2D-=20 Hi! I'm your friendly neighbourhood signature virus. Copy me to your signature file and help me spread! --nextPart3948143.0t79rpqOMT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBkepOKBhoPewcguwRAo5NAJ9HdPWpZddINgouX5XYEHv6927MrgCgkSFe zI6uxOPWa62MwdS6DRPcGwY= =HSdq -----END PGP SIGNATURE----- --nextPart3948143.0t79rpqOMT--