Thread: Problem while running initdb

Problem while running initdb

From
"Natrayan Kuppusamy - CTD , Chennai"
Date:
I want to run the postmaster.
For that I have followed the steps which you have given.
I am getting the following error while running the initdb commend.
bash: initdb: command not found
Can u give the solution to solve this problem?

Regards,
Natrayan.
DISCLAIMER
This message and any attachment(s) contained here are information that is confidential, proprietary to HCL Technologies

and its customers. Contents may be privileged or otherwise protected by law. The information is solely intended for the

individual or the entity it is addressed to. If you are not the intended recipient of this message, you are not
authorizedto  
read, forward, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in
error, 
please notify the sender immediately by return e-mail and delete it from your computer


Re: Problem while running initdb

From
William Makowski
Date:
> From: "Natrayan Kuppusamy - CTD , Chennai"
> Date: 2005/09/05 Mon AM 01:23:54 EDT
>
> I want to run the postmaster.
> For that I have followed the steps which you have given.
> I am getting the following error while running the initdb commend.
> bash: initdb: command not found
> Can u give the solution to solve this problem?

Looks like you are trying to initialize your database, not
run postmaster.  It appears that initdb is not in your
search path.  Depending on how you installed, it should be
in either /usr/local/bin or /usr/bin.  These would need to
be added to the PATH environment variable for the user that
is executing the command.

Another way to locate initdb would be use the find command.
For example, at the / directory type find -iname initdb.

Bill