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=rwdIkXCv96vn7K46 mIRB0qury+t6Tu1AYsmFZWqkcvW2zThtmhcQ8fIHaYjedFTnBwSJBMjGBSBpzxJh r6wjo6cJmzJu5CoeYA3mMbPSF8I2u4HImrVPu/Rz5rBNrKnBJJYQUBhrNaA6qyt2 lRwbJ2XllCBAaFN6ulDTxH8WuH8= 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=DmIqoFKXcE5w2lpiN/IsbR 7i3uU=; b=Pd/FE8r/ylKQ+i2Cmew7oZVthz6TckSvOQS++ZlzTaZUW7enZ1d3uy JJSxsqXzpy4sKJxSRNOmdlYFaoeLIwsFOC/S90ITW78nndkeZntmVrJImmAnnYXS A/l6HyXnPyqwuRrzwWupLLBd81XInmC3d+5d3q3qqV4Kj9rBdSJwU= 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.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*RU:sk:omp504., Hx-spam-relays-external:sk:omp504., H*RU:183.79.100.135, Hx-spam-relays-external:183.79.100.135 X-HELO: nh504-vm4.bullet.mail.kks.yahoo.co.jp Message-ID: <749440.93478.qm@web103109.mail.kks.yahoo.co.jp> X-YMail-JAS: WviBmC8VM1kpABNJWYSQdrw.g1y9u6rPVi.sfQRBRAZsxf1q15vVpQGfDa4VebCJokodL1sunm2VA2olnTlj5YhInkPuDsmDOvg7eqsDK5ezDAYUGbdP32NTbVaTF4t3PkW7 References: <10533 DOT 75624 DOT qm AT web103118 DOT mail DOT kks DOT yahoo DOT co DOT jp> Date: Wed, 14 Mar 2018 17:26:23 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run To: Marco Atzeri , cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w2E8Qdix017640 > From: Marco Atzeri > To: cygwin > Cc: > Date: 2018/3/14, Wed 15:28 > Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run > > On 14/03/2018 01:38, Tatsuro MATSUOKA wrote: >>  Followingng the below >>  https://cygwin.com/cygwin-ug-net/using-cygserver.html >>  Start Cygwin shell with admin right. >>  $ cygserver-config >>  and /etc/cygserver.conf is created >>  execute >>  $ cygrunsrv -S cygserver >>  On Cygwin86_64 >>  $ ps -a | grep 'cyg' >>        5428       1    5428       5428  ?             18 08:50:18 > /usr/bin/cygrunsrv >>        6152    5428    6152       9680  ?             18 08:50:18 > /usr/sbin/cygserver >> >>  On Cygwin86 >>  $ ps -a | grep 'cyg' >>    (nothing appear) >>  Any suggestions? >>  Tatsuro >> > > 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 > > Regards > Marco Marco Thanks for your help. I can execute cygserver for 32 and 64 bit simultaneously. 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