delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/15/19:46:23

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:references:date:from:reply-to
:subject:to:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=GIXWtVPfQKGPERr5
FAdNDtw31otgySElJJxAlGAUmqsA8DoC7eJxkiAv7ISEDohk/aOrjYued9wxNUGB
nmUqmdweUZ8+8gns1y7crJ/Rs9/SerGsSjbdaSU8rinRecCQ6ddjVJEx2fpteck9
yTRJT+4trP0DaBFxSmDEOQet/qY=
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:references:date:from:reply-to
:subject:to:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=1z/aC0cbLYWxAC/yBHAo9W
v5dEg=; b=r4pfidJc2oVIRHWosbTMEhd/id1VHLawsCrPfKum2J7lhoLNgPUaJJ
mdfomubMd/teO0q5TDk2/VX2Hk/kUQlogDJr723dta7UqCZzzW3+KioXE/at7gwX
UcxT+sWRvXlV98hYwEX+HCREYex2Fj80acCwuK535o/L8iaGFnrxw=
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=-6.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*RU:182.22.66.105, Hx-spam-relays-external:182.22.66.105, Hx-spam-relays-external:sk:t603.bu, H*RU:sk:t603.bu
X-HELO: nh605-vm3.bullet.mail.ssk.yahoo.co.jp
Message-ID: <378057.95999.qm@web103103.mail.kks.yahoo.co.jp>
X-YMail-JAS: CFNsYAsVM1n_6FYrXUerMefh5RoHXm3Vc4oQFCTeiVPhwH.cU6XK_yYqDvpmkvAXmizcU8ln3rkgrXUM9.z9BPYz8Tn_2Fz2iSxZeHuMdeYAxQ1pVWV6MwZ780gQPXxewz6y
References: <10533 DOT 75624 DOT qm AT web103118 DOT mail DOT kks DOT yahoo DOT co DOT jp> <f520c634-8640-d1c8-17d4-2bb66633c330 AT gmail DOT com> <749440 DOT 93478 DOT qm AT web103109 DOT mail DOT kks DOT yahoo DOT co DOT jp> <1521087190047-0 DOT post AT n5 DOT nabble DOT com> <87muz99pt5 DOT fsf AT Rainer DOT invalid>
Date: Fri, 16 Mar 2018 08:45:53 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp>
Reply-To: Tatsuro MATSUOKA <matsuoka AT nuce DOT nagoya-u DOT ac DOT jp>
Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run
To: Achim Gratz <Stromeko AT nexgo DOT de>, cygwin AT cygwin DOT com
In-Reply-To: <87muz99pt5.fsf@Rainer.invalid>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w2FNkMhG026108

----- Original Message -----

> From: Achim Gratz 
> To: cygwin
> Cc: 
> Date: 2018/3/16, Fri 03:06
> Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run
> 
>T atsuro MATSUOKA writes:
>>  At execute Cygwin setup, kiling all cygwin process is highly recommended
>>  becase setpup execute autorebase.
> 
> Well, it's mandatory actually.
> 
>>  kill-9-1_32_64.bat
>>  @echo off
>>  C:\cygwin\bin\cygstart --action=runas /bin/kill -9 -1
>>  C:\cygwin64\bin\cygstart --action=runas /bin/kill -9 -1
> 
> Myself, I use 'pkill .' (from the procps package), but if you run any
> daemons that keep state you better properly stop their services instead
> of killing them (NET STOP and NET START from CMD, no need to fire up
> Cygwin for this).  AT least you should send them A HUP ro TERM first,
> then wait a few seconds before sending KILL.
> 
> 
> Regards,
> Achim.
Thank you for your advise.
According to the page,
http://cygwin.wikia.com/wiki/Rebaseall
$ cygrunsrv -E <servicename>
The above seem to be propper way to stop sevice process.
If one kill all sevise, filter script should be described.
However, I only execute only two services, I use "cygrunsrv -E <servicename>" twice 
before kill -9 -1
at the moment
Tatsuro


--
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