From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63707 invoked by alias); 14 Mar 2018 06:28:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 63699 invoked by uid 89); 14 Mar 2018 06:28:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*u:6.1, H*UA:6.1, services, HContent-Transfer-Encoding:8bit X-HELO: mail-wm0-f48.google.com Received: from mail-wm0-f48.google.com (HELO mail-wm0-f48.google.com) (74.125.82.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Mar 2018 06:28:37 +0000 Received: by mail-wm0-f48.google.com with SMTP id z9so1750046wmb.3 for ; Tue, 13 Mar 2018 23:28:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cs+EqoCXM3U+2K2VA+RgN1v6QEb4dynrnKM7061SYfU=; b=S3pj/pzv6KNG9XMEdpM9oZu/q3gmB8RSAC+radlDsfIhSoTnpRfWeYKMK2ZSM8qVKt ckWnE023ytGDsJoyRBbvQ7Jbx+/J05PXTUGEBAg/3OhijTXfddL3+8Tcge1PzBsWoQke jfmewyr5C4UTxrxFPNOyVCjr8qc/HhUa20Oq3iG65+mbmuhGqsrMCWtRz/0j/i0ggy08 klXrTdDfzFKAq2TsDCyQn5i/1k3FY4hyLYOG70QH3aTptlPYfPT+861gegUFoLko1Wde dlVky9YX5vaBvGqybnQFyLwUYs4km3CRXyTwDFX7J5qKu95iY+54ih5NRViwq4LcGv5t ATgg== X-Gm-Message-State: AElRT7GzOF7mTqUUnSW/xjCmAcTQbb9UrJEH9ZhKUT3S0ydM0gInnKkc njmoTtPS5SmqXa5t+8Qug7zfdQ== X-Google-Smtp-Source: AG47ELt+3GOnp0jnd0CBM0Er0ZUt0+7G3ujLEeNAjnKVwnXx5wl5qwrb8MURtwDgc5i5GcrcOaMDXw== X-Received: by 10.80.174.6 with SMTP id c6mr3603574edd.217.1521008914833; Tue, 13 Mar 2018 23:28:34 -0700 (PDT) Received: from ?IPv6:2003:cc:9bd6:401:2972:a155:985b:300e? (p200300CC9BD604012972A155985B300E.dip0.t-ipconnect.de. [2003:cc:9bd6:401:2972:a155:985b:300e]) by smtp.googlemail.com with ESMTPSA id r16sm406705edb.22.2018.03.13.23.28.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 23:28:34 -0700 (PDT) Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run To: cygwin@cygwin.com References: <10533.75624.qm@web103118.mail.kks.yahoo.co.jp> From: Marco Atzeri Message-ID: Date: Wed, 14 Mar 2018 08:26:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <10533.75624.qm@web103118.mail.kks.yahoo.co.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00192.txt.bz2 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 -- 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