From: b p <bruce84@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: problems with missing bin
Date: Wed, 15 Oct 2003 11:54:19 -0700 (PDT)
Message-ID: <20031015185419.3972.qmail@web13508.mail.yahoo.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruce84@yahoo.com
Subject: Re: problems with missing bin
In-Reply-To: <20031015185419.3972.qmail@web13508.mail.yahoo.com>
References: <20031015185419.3972.qmail@web13508.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox