delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/21/02:23:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 21 May 2002 07:19:11 +0100
From: "Jim.George" <jim DOT george AT blueyonder DOT co DOT uk>
X-X-Sender: Administrator AT gateway DOT GEORGE DOT CO DOT UK
Reply-To: jim DOT george AT blueyonder DOT co DOT uk
To: Vernon Wu <vernonw AT gatewaytech DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Problem on starting PostgreSQL
In-Reply-To: <GDLJ51PLGAREAPA71WZTNLHCIH6451.3b060bc2@kimiko>
Message-ID: <Pine.CYG.4.44.0205210715270.13576-100000@gateway.GEORGE.CO.UK>
MIME-Version: 1.0

On Sat, 19 May 2001, Vernon Wu wrote:

> I am very new to cygwin. After installed cygwin successfully, I can't get the PostgreSQL up so far. Here is what I have:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> $ initdb -D /usr/share/postgresql/data
> The program
>     '/usr/bin/postgres'
> needed by initdb does not belong to PostgreSQ
> there may be a configuration problem.
>
> This was the error message issued by that pro
> /usr/bin/postgres: invalid current euid 500
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> There is not the data directory under the /usr/share/postgresql. I don't have enought knowledge to tell where it should
> be there or not. I have spent some hours doing research and can't find a solutation so far. What I miss? Please help me
> out.
>
> Thanks in advance.
>
> v.
>

Vernon,

	look in the file /usr/doc/postgresql-7.2.1/INSTALL it tells you
exactly what to do.  I can see from the above that you've missed at least
2 of the required steps out, create a user postrges and create the
directory /usr/share/postgresql/data and then set the permissions to be the
same as who will start initDB, this should be postgres but can be
Adminisrtator providing you set the permissions correctly.

HTH,


Jim



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019