Re: 8.4 win32 shared memory patch - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: 8.4 win32 shared memory patch
Date
Msg-id 9837222c0907310546q5df2f32ck6b2346cd25865910@mail.gmail.com
Whole thread Raw
In response to Re: 8.4 win32 shared memory patch  (Magnus Hagander <magnus@hagander.net>)
Responses Re: 8.4 win32 shared memory patch  ("Kevin Field" <kevinjamesfield@gmail.com>)
List pgsql-hackers
On Fri, Jul 31, 2009 at 14:41, Kevin Field<kevinjamesfield@gmail.com> wrote:
>> On Wed, Jul 29, 2009 at 19:52, Kevin Field<kevinjamesfield@gmail.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 HaganderSelf: http://www.hagander.net/Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: mixed, named notation support
Next
From: Stephen Frost
Date:
Subject: Re: SE-PostgreSQL Specifications