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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=nQEg75o6HvC+R7ZBzWfW5gASzg8t08xujvXXZ+qsPNW 3SGrHyiJljQarpD/W5Ga2Xjr6KzpgK6a5MnWrypPH7FtSeFhyJcDDlm/eJZQ6Id4 FPrMuL2oaSlk5CLwBmTgvFtI5Wu4gfPCGLgcbgtupuRHtaJ/l0BYEw+lYoglKcZo = 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:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=h16iNg9lGMVJk/sJRHTsOBe8g2U=; b=MYtvvgsYPtfM8M4SA +DQM01X1/Vk1vdX5RMoqLISgAmRF1FhnHW/neeomtj4vK5eK+VAoHSiCNOScLRqg Yk7pLfPDAJu0s2jLlAgNySVsOmZc/7vJAd5m66e/lstrvHq1NlJs+Gonb8t7gCQP TLfrRpnwryhXHGtt/tGLsm3BoI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f43.google.com X-Received: by 10.180.94.230 with SMTP id df6mr24991947wib.25.1418316138296; Thu, 11 Dec 2014 08:42:18 -0800 (PST) Message-ID: <5489C966.7070600@gmail.com> Date: Thu, 11 Dec 2014 17:42:14 +0100 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: problems with apache2 and postgres after Pc in sleep mode References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 -- 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