delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/12/11:21:52

X-Recipient: archive-cygwin AT delorie DOT 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:to:from:subject:date:message-id:references
:mime-version:content-type; q=dns; s=default; b=vFxjoDJ1Qn2M2idF
yLCGpCIfpehuqtCyiUisd+T384Gzq+P8cxDkt9TsP56oyTgMCWswXceaULfkKNdZ
JC5267xZJVFcRmvQECEnglFX3DbTFdjDuz73e1UHrF3tT3kwAJAJK/BzxFjKkZFU
HoHXpNjiTeSAQyThACUTz8U6Yl8=
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:to:from:subject:date:message-id:references
:mime-version:content-type; s=default; bh=aGfi1MnYkngSSeYzaVB1mc
2baho=; b=fAR0fit7nwlXoVgh/wK3FdbKP8luWoSXk0zl9eGlztLywzBqmRZe1m
nXh0k334osNMB3u0RaawpxB8ZuJZpTHvmmVgWofm1sn5irS1VIeiSbygRYS919M2
rXvJSzOytPNBrQ9LAefXnYQ8RZYpcnasOR788bolq7UQ3B5FVmb2U=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: dboyd2 AT mmm DOT com (J. David Boyd)
Subject: Re: problems with apache2 and postgres after Pc in sleep mode
Date: Fri, 12 Dec 2014 11:21:10 -0500
Lines: 39
Message-ID: <gjubzjasltzd.fsf@W0144758.usac.mmm.com>
References: <DUB124-W2797339EF9825218380ED9B0630 AT phx DOT gbl> <5489C966 DOT 7070600 AT gmail DOT com>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (cygwin)
X-IsSubscribed: yes

Marco Atzeri <marco DOT atzeri AT gmail DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019