Re: Need some help getting started

From: Jason Tishler <jason(at)tishler(dot)net>
To: Dan <topdowndan(at)yahoo(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Need some help getting started
Date: 2003-10-27 13:13:55
Message-ID: 20031027131354.GA3156@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Dan,

On Sat, Oct 25, 2003 at 02:47:03PM -0700, Dan wrote:
> It doesn't say whether I should run it as "postgres"
> or my "Dan" account, but neither seems to work.
>
> 1) As "Dan", I get:
> cygrunsrv: Error starting a service: StartService:
> Win32 error 1069:
> The service did not start due to a logon failure.

Did you in grant "Dan" the "Log on as a service" right as indicated in
the README?

3. Grant the "postgres" user the "Log on as a service" user right:

# cmd /c secpol.msc # [3] [4] [5] [12]

[snip]

[12] On Windows XP Home, there is no built in way to assign user
rights -- use editrights instead:

$ editrights -u postgres -a SeServiceLogonRight

> [snip]
>
> 2) As "postgres", I get:
> cygrunsrv: Error starting a service:
> QueryServiceStatus: Win32 error 1062:
> The service has not been started.

Does the following from the README help?

4. Cygwin PostgreSQL can fail to start or not function properly if
certain files and directories have incorrect permissions. The
following usually solves these kinds of problems:

$ chmod a+rwx /tmp
$ chmod a+rx /usr/bin /usr/bin/*
$ chmod a+rw /var/log # could adversely affect other daemons

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Dan 2003-10-27 18:26:02 Re: Need some help getting started
Previous Message Dan 2003-10-26 03:32:20 Re: Need some help getting started