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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=MyXt8Fvel8kmc3u/ 1xL9+sF4xBpraIV8hO2BcphfVMdetxRtspYi6xPB9KpPa5l8EbN25SA4n8zMtXZo 3+8ut8u1KjTl2BFSqKC2h5f4c3fvxh8YhJX++PgxWiDQUafYLyDt+PP2TKDfplk5 5b81YbwPFUHFkUEKgwN1N+Era8c= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=sXFk24Bbk/EPbSseWHgFB6 d9E7g=; b=XGV7kwQ35lY1gMuvVsMI0AzM+5kMAEl51x6rUrF7CJkJFoSSN1ySZf gjUavTDvuj4WSrT5j3f3n/gaxwUmdKc72qJ5YcUxNU1ucjjRvhgpI8LQ5eOWzN2E P6Vx5vbK1r+eNmCddXYw5KV3jwm3zutLbUXKg/wm61kcFwcSIArEo= 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=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=calgary, Calgary, Alberta, alberta X-HELO: smtp-out-so.shaw.ca X-Authority-Analysis: v=2.3 cv=OeS28CbY c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=qs5GCUsZT9eSdFIO1skA:9 a=QEXdDO2ut3YA:10 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run To: cygwin AT cygwin DOT com References: <10533 DOT 75624 DOT qm AT web103118 DOT mail DOT kks DOT yahoo DOT co DOT jp> <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> From: Brian Inglis Message-ID: <2bdf7fc2-9def-e3ad-0628-83d3693f2082@SystematicSw.ab.ca> Date: Wed, 14 Mar 2018 23:46:51 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1521087190047-0.post@n5.nabble.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfEEjHXEffA8/TskQwnUT7k0Lxlpe6ajmOOmdEhpN34PTqiD+lxAOvEbxQ1TJLaitBY62gi9dbrkVr+s4sbm59Rq4/MfaChLWXxdp1RPltRF7l/DIoo/o LoHXfnYVogbLHsZdQS88twnvCOzpdcZr6qn7tDOAD9KApzK/Q981Dp8D8Gn7XiVSiRJs7clxN5G7cw== X-IsSubscribed: yes 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 -- 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