X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0F52AD1B510 for ; Wed, 15 Oct 2003 18:54:52 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 08980-10 for ; Wed, 15 Oct 2003 15:54:21 -0300 (ADT) Received: from web13508.mail.yahoo.com (web13508.mail.yahoo.com [216.136.175.87]) by svr1.postgresql.org (Postfix) with SMTP id 14B07D1B4EF for ; Wed, 15 Oct 2003 15:54:19 -0300 (ADT) Message-ID: <20031015185419.3972.qmail@web13508.mail.yahoo.com> Received: from [128.103.234.209] by web13508.mail.yahoo.com via HTTP; Wed, 15 Oct 2003 11:54:19 PDT Date: Wed, 15 Oct 2003 11:54:19 -0700 (PDT) From: b p Subject: problems with missing bin To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/176 X-Sequence-Number: 10737 Good afternoon everyone, I am setting up Postgresql on my redhat 8 system. I have installed the files and have set up the proper directories, however I have run into a problem. I am trying to initialize the database with initdb. The command is pg$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data I did not have a bin in that first half of the statement so in locating initdb, I found it in the dire /usr/bin. I then used the following line: pg$ /usr/bin/initdb -D /usr/local/pgsql/data After running the line above, I got a message saying success! I then started the postmaster and again everything went fine. However I need to create users for this database so I use the following command: pg$ /usr/local/pgsql/bin/createuser bruce I get an error stating there is no such directory. The question is, how do I get the postgres bin created? Also I am guessing that the bin should have commands that are specific to postgresql. Is there a way for me to import this bin from /usr/bin ? Any help is greatly appreciated. Thanks! Bruce __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com