Re: Updated Cygwin Package: postgresql-7.4.2-1

From: "Leeuw van der, Tim" <tim(dot)leeuwvander(at)nl(dot)unisys(dot)com>
To: "David P(dot) Lurie" <dbase4(at)hotmail(dot)com>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1
Date: 2004-06-14 10:15:43
Message-ID: BF88DF69D9E2884B9BE5160DB2B97A85B35530@nlshl-exch1.eu.uis.unisys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

When installing as service, do you install it with postgres account? Or do you let it run with SYSTEM account?

--Tim

-----Original Message-----
From: pgsql-cygwin-owner(at)postgresql(dot)org
[mailto:pgsql-cygwin-owner(at)postgresql(dot)org]On Behalf Of David P. Lurie
Sent: zondag 13 juni 2004 23:37
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [CYGWIN] Updated Cygwin Package: postgresql-7.4.2-1

Jason -

> 3. 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
>
> In particular, note the third chmod above.
>

I tried all three, without any success.

There was another problem with postgresql configuration that I hadn't
mentioned. initdb failed when run as the user "postgres", but completed
successfully under my usual login.

These permission changes now allow initdb to run from the "postgres"
account. postmaster still successfully installs as a service, but fails to
run, whether installed to run under my usual login or "postgres" (after
initdb has been run under the appropriate account).

David

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Axel.Fix 2004-06-14 15:02:54 odbc problem on windows?
Previous Message Mike G 2004-06-14 05:01:49 Re: Source name not found