Re: 8.4 win32 shared memory patch

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Kevin Field <kevinjamesfield(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.4 win32 shared memory patch
Date: 2009-07-31 12:46:40
Message-ID: 9837222c0907310546q5df2f32ck6b2346cd25865910@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 31, 2009 at 14:41, Kevin Field<kevinjamesfield(at)gmail(dot)com> wrote:
>> On Wed, Jul 29, 2009 at 19:52, Kevin Field<kevinjamesfield(at)gmail(dot)com>
>> wrote:
>> > On Win2k3 Std SP2, the service won't start once I've applied the
>> > patch.  In the log, I get:
>> >
>> > %t LOG:  CreateProcess call failed: A blocking operation was
>> > interrupted by a call to WSACancelBlockingCall.
>>
>> Now, that's just strange :-O
>>
>> First of all, the code from this patch hasn't even executed when that
>> error pops up... So it really shouldn't be that one. Second, that
>> error message just makes no sense in the context. However, the
>> "errorcode 2" makes a bit more sense - that's a file not found error.
>> It's still strange that it would show up, but it makes sense in the
>> context of CreateProcess(). Are you sure that there weren't any old
>> processes hanging around when you tried it? Would it be possible for
>> you to test by doing stop -> reboot -> replace file -> start and see
>> if the issue remains?
>
> I did this last night as requested.  This time, nothing about
> CreateProcess, perhaps it's a separate issue.  All the log said this
> time was:
>
> %t LOG:  received fast shutdown request
> %t LOG:  aborting any active transactions
> %t LOG:  autovacuum launcher shutting down
> %t LOG:  shutting down
> %t LOG:  database system is shut down
>
> That's the entire file.  Attempting to start the service, I almost
> immediately get an error 1067, the process terminated unexpectedly.

If there is nothing in the logfile (make sure you're looking at the
correct one - it may have created a new one), check the Windows
Eventlog. That's where we'll put data if the issues show up before we
have started the logger.

--
Magnus Hagander
Self: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2009-07-31 12:57:33 Re: SE-PostgreSQL Specifications
Previous Message Pavel Stehule 2009-07-31 12:46:18 Re: mixed, named notation support