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

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=MK/0Nxs1H5A+d7UP
s9BT5nWj70QD6xGQRC4DfKzYte0TcPIZY6y+//6+RcHfOo619tO3V1mm6ChrM9nC
G1G8tBelOBqaQAEA7dRjKoS1rqXxahp9x5mRHxV849TShntU3Z+6ADP0a+28JJ9I
IjtFPaOT3H53nq3QJtCW/BUSXI4=
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=PAnKjcgZK4uaujoLjoxkhC
L1244=; b=FqC+NfZEyclQPKhHEuTofY+d2KYmf/2Hkb4CMrI90KOxd1mHYcM/o/
/eEU4VcEnksvBGbGuDmm0X6hXiTzL9PbW4U8dUCa2O6CNcNR0KAi2/EarlgYA+pr
rltrwUtshb60dinblYoaVvcyakAlz9y0VRJ07/EapgLkLyc9kn3u0=
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=-4.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=calgary, Calgary, Alberta, alberta
X-HELO: nh503-vm12.bullet.mail.kks.yahoo.co.jp
Message-ID: <48602.20711.qm@web103102.mail.kks.yahoo.co.jp>
X-YMail-JAS: qoo4f5IVM1mASR1PcjEnVFot74ncHqTnkuuHk1TSWOZZebBv6ECeNP30nyv3_YLX96XsaMihYve.OTwWT_sV0sEdd9ZVcCj7FRRFdrtKj6Pm8qMPCTmksefx.y2C.J5XHtH5
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> <2bdf7fc2-9def-e3ad-0628-83d3693f2082 AT SystematicSw DOT ab DOT ca>
Date: Fri, 16 Mar 2018 08:30:23 +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: "Brian DOT Inglis AT SystematicSw DOT ab DOT ca" <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>,
cygwin AT cygwin DOT com
In-Reply-To: <2bdf7fc2-9def-e3ad-0628-83d3693f2082@SystematicSw.ab.ca>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w2FNV76B024719

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

> From: Brian Inglis 
> To: cygwin
> Cc: 
> Date: 2018/3/15, Thu 14:46
> Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run
> 
> On 2018-03-14 22:13, Tatsuro MATSUOKA wrote:
>>  On 2018/3/14, Wed 15:28 Marco Atzeri wrote: 
>>>  Is it same machine ? 
>>>  If so the `cygrunsrv -S cygserver` is starting in both case the 64bit
>>>  version 
>>>  and you can not see it as process in 32bit. 
>>> 
>>>  The problem is due that the services "cygserver" have a 
> unique name 
>>>  and the last architecture to install it overwrites any precedent 
>>>  version. 
>>> 
>>>  One workaround is to have two different services for the two 
>>>  architectures. 
>>> 
>>>  The declaration is located in the registry on 
>>> 
>>> 
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\cygserver 
>>> 
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\cygserver 
>>> 
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\cygserver 
>>> 
>>>  You can rename it as 
>>> 
>>> 
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\cygserver64 
>>> 
>>>  I suggest to rename also the "DisplayName" 
>>> 
>>>  Than install cygserver on 32bit 
>>>  To avoid confusion, I than renamed it as 
>>> 
>>> 
> HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\cygserver32 
> 
>>>  I can execute cygserver for 32 and 64 bit simultaneously. 
>>>  Tatsuro
>> 
>>  Note:
>> 
>>  At execute Cygwin setup, kiling all cygwin process is highly recommended
>>  becase setpup execute autorebase.
>> 
>>  I made two batch files.
>>  **********************************
>>  Kill all Cygwin process
>> 
>>  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
>> 
>>  ***********************************
>>  Restart Cygsever
>> 
>>  Cygsever32_64.bat
>>  @echo off
>>  C:\cygwin\bin\cygstart --action=runas /bin/cygrunsrv -S 
> cygserver32
>>  C:\cygwin64\bin\cygstart --action=runas /bin/cygrunsrv -S 
> cygserver64
> 
> You can also install your own /etc/postinstall/zp_zzz_services.dash script to
> restart services in each install after all other postinstall scripts finish.
> 
> -- 
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
Thank you for your advise.
I will try later.
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