Re: Cannot start the PostgreSQL service

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "Igal (at) Lucee(dot)org" <igal(at)lucee(dot)org>, David Unsworth <dunswort(at)hotmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Cannot start the PostgreSQL service
Date: 2016-01-30 20:40:25
Message-ID: 56AD1FB9.1070808@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-in-general

On 01/30/2016 12:33 PM, Igal @ Lucee.org wrote:
> On 1/30/2016 12:10 PM, Igal @ Lucee.org wrote:
>>
>> Did you check the Windows Event Viewer? When a service fails to start
>> you should see the details there in the Application log errors.
> Sorry, I just realized that you had this:
>
>> 2016-01-25 18:45:19 GMTFATAL: the database system is starting up
>> 2016-01-27 01:09:47 GMTFATAL: *role "SYSTEM" does not exist *
>> pg_ctl: PID file "C:/Program Files
>> (x86)/PostgreSQL/8.4/data/postmaster.pid" does not exist
>
> So you are using PostgreSQL 8.4? Not sure why you would do that on a
> development machine (assuming that you're not running production servers
> on Windows 7 Home)

From a previous post by the OP:

"How did you install Postgres on this machine?
With Hold'em Manager software many years ago. "

>
> Looks to me like the issue is that the service is running under the
> Local System account, which is not recognized by PostgreSQL, and that's
> why the log shows [role "SYSTEM" does not exist]. If you have installed
> using the installer then you should probably have a "postgres" account
> on the machine? If so, set the service to Log On as that account.
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gunnar "Nick" Bluth 2016-02-01 11:03:40 Re: PPAS capacity measuring method
Previous Message Igal @ Lucee.org 2016-01-30 20:33:08 Re: Cannot start the PostgreSQL service

Browse pgsql-general by date

  From Date Subject
Next Message Ben Leslie 2016-01-31 06:41:42 Is PRIMARY KEY the same as UNIQUE NOT NULL?
Previous Message Igal @ Lucee.org 2016-01-30 20:33:08 Re: Cannot start the PostgreSQL service

Browse pgsql-in-general by date

  From Date Subject
Next Message Estefania Vergara 2016-02-23 01:04:28 Installation Problems
Previous Message Igal @ Lucee.org 2016-01-30 20:33:08 Re: Cannot start the PostgreSQL service