X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D340A11F6605 for ; Thu, 30 Mar 2006 15:45:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04263-04 for ; Thu, 30 Mar 2006 15:45:57 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web30809.mail.mud.yahoo.com (web30809.mail.mud.yahoo.com [68.142.200.152]) by postgresql.org (Postfix) with SMTP id 7854611F6604 for ; Thu, 30 Mar 2006 15:45:56 -0400 (AST) Received: (qmail 65192 invoked by uid 60001); 30 Mar 2006 19:45:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=YMc5OgfM7rEuuZV7Wv4O60NNw7XYdnVoqQG1J5bKd+UZrnYYTP3zhlMKUqJ/TJnXS6toIDUYw5LoOszV8bVfpSGbO5E8BxiIJVjQOBDEwkwOmOl/lJ57WKmJ/uchnHsNmJjjG9lT5yWYBHYzg+KerATJk6Y/Jt9dsTsAvAKZrK0= ; Message-ID: <20060330194556.65190.qmail@web30809.mail.mud.yahoo.com> Received: from [67.175.142.230] by web30809.mail.mud.yahoo.com via HTTP; Thu, 30 Mar 2006 11:45:56 PST Date: Thu, 30 Mar 2006 11:45:56 -0800 (PST) From: lmyho Subject: Re: Postgresql server does not start!:( -Re: PostgreSQl To: Scott Marlowe Cc: Chris Travers , Tom Lane , pgsql-admin@postgresql.org In-Reply-To: <1143746210.26940.29.camel@state.g2switchworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.244 required=5 tests=[AWL=-0.114, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_WHOIS=0.879] X-Spam-Score: 1.244 X-Spam-Level: * X-Archive-Number: 200603/388 X-Sequence-Number: 21145 > > > > Great Scott!! Thank you!! This system was just installed on Debian (2 days), > and > > the original pg_hba.conf file authen method was "ident sameuser" and appears not > > allow it to be changed! > > > > Look forward to your information!! Thanks a lot!! > > Can't find the thread right now (my search-fu is not strong today) but I > think this thread has covered all the basic points. Does anyone know if > it is possible for the startup script to read the ~/.pgpass file of the > postgres user on startup and use that if you absolutely have to have the > main postgres user have a password on it in debian? > > My guess is that you could also just comment out the lines in the init > script that are hanging, as the actual db startup should not require a > password. > That's right. And seems like the init script does not check about password either. I also heard that Bebian install Posqtgresql with a locked password. Actually there is no .pgpass under ~/ of postgres. the pgAdmin3 generate one after I altered the original password (which I don't know what it is) of progres and used pgAdmin to login using the new password. But still, the broken connection is always there in anycase! How can I find out what caused the broken connection? Anyone has any ideas? I need your help! as I haven't worked on *nix for years and have forgot how to do such things. Just come back recently for Debian, but got so many troubles on the new system.:( I don't want to run the system on a possibly harmful environment! I am working on it, but I need your help please! If you have any idea for what I should do, please let me know. Thank you!! leo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com