This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: problems with apache2 and postgres after Pc in sleep mode
- From: "Gery ." <gamejihou at hotmail dot com>
- To: Marco Atzeri <marco dot atzeri at gmail dot com>
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 11 Dec 2014 22:18:51 +0100
- Subject: Re: problems with apache2 and postgres after Pc in sleep mode
- Authentication-results: sourceware.org; auth=none
- References: <DUB124-W2797339EF9825218380ED9B0630 at phx dot gbl> <5489C966 dot 7070600 at gmail dot com>
Thanks Marco, nice to know that.
Sent from my iRon
On Dec 11, 2014, at 17:42, "Marco Atzeri" <marco.atzeri@gmail.com> wrote:
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
--
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