X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:content-type
	:content-transfer-encoding:subject:references:from:mime-version
	:in-reply-to:date:to:cc; q=dns; s=default; b=kwCYud0oWmbLI7sKiLg
	TGlh8JPTKFXQFY5RX9XKkkllu0iqz0H2O06K7CzRuzzh1lvmF+KtczPrWlg0svdm
	e7dd/O4AobPOKgacWUH53GkdTqRORMTy8Z9pBovvTAb/dZ1bESqqRP4jruaNGeip
	kJEY970eLt3SXUOusct6gyWA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:content-type
	:content-transfer-encoding:subject:references:from:mime-version
	:in-reply-to:date:to:cc; s=default; bh=c4KNdfcsJu3ayP3GrFrniXEyw
	s0=; b=iQpBgFUPjiz7Ws800ETSlqRg7zvlgoKDC2d0cC34zvCnP93p38UuOWgrV
	mRn5gVLbCdKdrqNhbLj+AlEucmTjUrB/kuek2lwru1nrBCB2YqjER5P0zuAH7wM9
	t7EYa1Jme6ufXXVOPRxx43zdsJxW452rT4aRluhaADHIax/TwA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: DUB004-OMC1S28.hotmail.com
X-TMN: [BSvobOCN6kghmM4M1eYNCzmvWdEtB3H3]
Message-ID: <DUB408-EAS1881161E17B9FB1A3B8B369B0600@phx.gbl>
Content-Type: text/plain; charset="us-ascii"
Subject: Re: problems with apache2 and postgres after Pc in sleep mode
References: <DUB124-W2797339EF9825218380ED9B0630@phx.gbl> <5489C966.7070600@gmail.com> <gjubzjasltzd.fsf@W0144758.usac.mmm.com>
From: "Gery ." <gamejihou@hotmail.com>
MIME-Version: 1.0 (1.0)
In-Reply-To: <gjubzjasltzd.fsf@W0144758.usac.mmm.com>
Date: Fri, 12 Dec 2014 18:06:53 +0100
To: "J. David Boyd" <dboyd2@mmm.com>
CC: "cygwin@cygwin.com" <cygwin@cygwin.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sBCH7Gx2006084

In my case, those three steps seem to work well after hibernate mode also, even though I have no clue why hibernate and sleep modes have that effect on Postgres and apache2, any ideas why?

Sent from my iRon

On Dec 12, 2014, at 17:21, "J. David Boyd" <dboyd2@mmm.com> wrote:

Marco Atzeri <marco.atzeri@gmail.com> writes:

> On 12/11/2014 3:17 PM, Gery . wrote:
>> Hi,
>> 
>> So far things have been nicely working in my cygwin with postgres
>> and apache, thanks guys for the excellent job you're doing in
>> cygwin. The only thing is that when I stop apache2 and postgres, or
>> put in sleep mode my laptop, then I cannot start again both. I found
>> that I had to shut down and restart my laptop (windows 8.1), after
>> that apache and postgres worked again. Yesterday I tried this:
>> 
>> 1. run cygwin terminal as administrator
>> 2. net stop cygserver
>> 3. net start cygserver
> 
> For a recovering from a sleep mode eventually yes.
> 
> But from a normal stop of postgres should not be needed.
> I suspect that the stop did not work well and some postgres processes
> are still around.
> Stopping cygserver forces those processes to die.
> 
> 
>> Following these steps, I did not need to restart windows. I suppose
>> that this is the normal way to restart apache and postgres with no
>> problems.
>> 
>> I'd appreciate if anyone can confirm that this is the right way, thanks in advance for any hints,
>> 
>> Gery
>> 
>> $ uname -a
>> CYGWIN_NT-6.3-WOW64 gery 1.7.32(0.274/5/3) 2014-08-13 23:03 i686 Cygwin                       

How about hibernate mode?  That does recover gracefully?  I don't care for
sleep mode myself, since power still slowly trickles away...

Dave


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


