Skip site navigation (1) Skip section navigation (2)

Re: can't start postmaster as service

From: Jason Tishler <jason(at)tishler(dot)net>
To: Andy Lowe <andyl(at)dmetrix(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: can't start postmaster as service
Date: 2003-03-06 16:24:09
Message-ID: 20030306162409.GG2008@tishler.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
Andy,

On Wed, Mar 05, 2003 at 09:54:16AM -0700, Andy Lowe wrote:
> This is the exact behavior I'm seeing, using 7.3.2.  I followed the
> steps in the README for installing everything, with the exception of
> the data directory, which is slightly different.  My data dir does
> show up as
> 	drwx------+   2 postgres None            0 Mar  4 19:00 pgdata

The above looks fine -- the name is just "pgdata" instead of the more
conventional "data".

> So, I'm guessing that it's not a permissions issue.

Sounds reasonable.

> I'm able to start postmaster from the command line as the postgres
> user.  The service just fails to start, giving error 1062.  As you
> noted below, this is not good.  Is there a known cause for this error
> and (hopefully) a solution?

Do you see anything interesting in /var/log/postmaster.log?  In the NT
Event Log?

Did you do the following (from the README)?

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

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

pgsql-cygwin by date

Next:From: Andy LoweDate: 2003-03-06 17:08:51
Subject: Re: can't start postmaster as service
Previous:From: Jason TishlerDate: 2003-03-06 16:17:42
Subject: Re: Ipc-Daemon under Windows XP

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group