Thread: What is wrong ?

What is wrong ?

From
Vernon Wu
Date:
Hi,

I have been trying to have PostgreSQL up on the top of cypwin for sometime without succee. After I follow the
instruction on, I get the following error messages:

$ initdb -D /usr/share/postgresql/data
The program
    '/usr/bin/postgres'
needed by initdb does not belong to PostgreSQL version 7.2.1, or
there may be a configuration problem.

This was the error message issued by that program:
/usr/bin/postgres: invalid current euid 500



Can anyone tell me what is missing?

Thanks very much.

v.



Re: What is wrong ?

From
Jason Tishler
Date:
Vernon,

On Wed, Jun 05, 2002 at 11:40:37AM +0800, Vernon Wu wrote:
> Can anyone tell me what is missing?

Do you have a valid /etc/passwd file?  Please read the README:

    http://www.tishler.net/jason/software/postgresql/postgresql-7.2.1.README

Jason

Re: What is wrong ?

From
Jason Tishler
Date:
Vernon,

Please keep your replies on-list.

On Wed, Jun 05, 2002 at 12:33:51PM +0800, Vernon Wu wrote:
> Thanks Jason. The password file can be the problem. It is empty at this
> point. I am already in the "$" prompt. I can't  find the information to
> set it up properly in the document (in fact it is the document I follow).

In the README, see NT services Cygwin PostgreSQL installation procedure
step 2:

    2. Create the "postgres" user account:

       # cmd /c lusrmgr.msc # [3]
       # mkpasswd -l -u postgres >>/etc/passwd

> Thanks again.

You are welcome.

Jason