Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8292B9FA4C1 for ; Wed, 19 Sep 2007 10:05:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 75269-10 for ; Wed, 19 Sep 2007 10:05:21 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by postgresql.org (Postfix) with ESMTP id 13CB09FA57B for ; Wed, 19 Sep 2007 10:05:28 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id j3so242590ugf for ; Wed, 19 Sep 2007 06:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=EJWSXasaHp/iIibAfftFLAKBl/S1oihtIPi9YDlhQS8=; b=tzdQ6F0MI5Wr211nr/eX7xAFYZAsWZbuLcqZSAdpx9daDrrEyZpHflprl6zLgnIiyfBc9B0EAaMHKTl49sxFUfL3BltLY/pyhd40Bt+VkMAo1e27WlJyhBOj+hIgFJFkvyG2M1D2l2txnhrEqacwPt/TSapngjzQnTv4zdPo9gA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Bgeck7McFsI0JUpmt3V6taKALvoBozu0G1fWrQnZqS3YBDIeJUGo+2SOdKMUXdI98CA+r6WWytGacsvf0NMKPKPEIRwds9JGOuhWLRkjvGl6pkSh8iSUYYi/BQwWnkFVZr45Z1wAZHagriCRJL2dBMJiqf5ioRh4RQBKCOQIIeE= Received: by 10.78.118.5 with SMTP id q5mr310870huc.1190207126252; Wed, 19 Sep 2007 06:05:26 -0700 (PDT) Received: by 10.66.220.7 with HTTP; Wed, 19 Sep 2007 06:05:26 -0700 (PDT) Message-ID: Date: Wed, 19 Sep 2007 08:05:26 -0500 From: "Scott Marlowe" To: Ankur Subject: Re: Postgresql Server is not starting during it's installation Cc: postgresql-admin In-Reply-To: <001101c7fa6e$3ad06170$64200f0a@acsscoracle> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200709181411.l8IEBMbW029702@mymail.iitkgp.ernet.in> <001101c7fa6e$3ad06170$64200f0a@acsscoracle> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/107 X-Sequence-Number: 26868 On 9/18/07, Ankur wrote: > Sir, > Thanks for your reply. I am giving you the necessary information. I am > using Red Hat Enterprise Linux AS (Version 3 Update 9). Postgresql version > is 8.2.4. When I am initializing the database server by executing the > command "$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data" it shows > successful message. But after that when I am trying to start the database > server by executing the command "$ /usr/local/pgsql/bin/postgres -D > /usr/local/pgsql/data" it generates an error message like: > LOG: could not translate host name "localhost", service "5432" to > address: Name or service not known > WARNING: could not create listen socket for "localhost" > FATAL: could not create any TCP/IP sockets > > Sir, please tell me the required steps to rectify that problem. I am waiting > for your reply. Please keep threads on the list, others might benefit from this, and someone else might have a better answer than me. Looks like you've already got something listening on that port. do ps ax|grep postgres and see what pops up.