Thread: Installation error

Installation error

From
makhan
Date:
Hi
I installed cyqwin using the options given on the website.

I ran the following command to start the cygserver for shared memory support
/usr/sbin/cygserver &


When I try to create new databse cluster using the following commmand


initdb -D /usr/local/pgsql/data -W -E LATIN1

I get error

bash: initdb:command not found

same messaage when trying to start postmaster with command

postmaster -D /usr/local/pgsql/data


Can  you plz help me out with this.

Regards
Moazzam

--
View this message in context: http://www.nabble.com/Installation-error-tf3352668.html#a9323485
Sent from the PostgreSQL - cygwin mailing list archive at Nabble.com.


Re: Installation error

From
Reini Urban
Date:
makhan schrieb:
> Hi
> I installed cyqwin using the options given on the website.
>
> I ran the following command to start the cygserver for shared memory support
> /usr/sbin/cygserver &
>
>
> When I try to create new databse cluster using the following commmand
>
>
> initdb -D /usr/local/pgsql/data -W -E LATIN1
>
> I get error
>
> bash: initdb:command not found
>
> same messaage when trying to start postmaster with command
>
> postmaster -D /usr/local/pgsql/data
>
> Can  you plz help me out with this.

This is not a postgresql specific question.

If initdb is in /usr/sbin/ it would be:
/usr/sbin/initdb -D /usr/local/pgsql/data -W -E LATIN1

and so on.