X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id F0921D1B4F0 for ; Fri, 12 Sep 2003 07:04:08 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 11519-09 for ; Fri, 12 Sep 2003 04:03:39 -0300 (ADT) Received: from lighthouse.MplusB.de (lighthouse.MplusB.de [193.102.49.10]) by svr1.postgresql.org (Postfix) with ESMTP id E8A69D1B522 for ; Fri, 12 Sep 2003 04:03:36 -0300 (ADT) Received: from [193.102.49.130] (helo=compass.MplusB.de) by lighthouse.MplusB.de with esmtp (Exim 3.35 #1 (Debian)) id 19xhxt-0004s1-00; Fri, 12 Sep 2003 09:03:33 +0200 Received: from MplusB.de (gerd@sloop.MplusB.de [193.102.49.177]) by compass.MplusB.de (8.9.3p2/8.9.3/Debian 8.9.3-21) with ESMTP id JAA30692; Fri, 12 Sep 2003 09:03:33 +0200 X-Authentication-Warning: compass.MplusB.de: Host gerd@sloop.MplusB.de [193.102.49.177] claimed to be MplusB.de Message-ID: <3F616FC5.8010805@MplusB.de> Date: Fri, 12 Sep 2003 09:03:33 +0200 From: Gerd Terlutter User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.2) Gecko/20030401 Debian/1.0.2-2 X-Accept-Language: de-de MIME-Version: 1.0 To: Tran Anh Tu Cc: pgsql-php@postgresql.org Subject: Re: Help me References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/32 X-Sequence-Number: 2309 Tran Anh Tu wrote: > Hi all! ... > But when I stop it and switch to user: postgres, and start it with > command: postmaster -i then it does not working because It don't know > where the database is placed. A error message: > > postmaster does not know where to find the database system data. > Please help me! tran@tux$su - password:xxx root#su postgres tux:/root$ whoami postgres tux:/root$ cd tux$pwd /var/lib/postgres tux$ls -al does this help? greetings, Gerd -- -------------------------------------------------------- # Gerd Terlutter | Mueller+Blanck Software GmbH # # gerd@MplusB.de | Gutenbergring 38 # # gerd.terlutter@web.de | D-22848 Noderstedt # # tel:0171/6992579 | tel:+49 40 500 171-1 # # Buero:040/500171-17 | fax:+49 40 500 171-71 # --------------------------------------------------------