delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/14/02:28:53

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=qLyTXeUNu4xpFMOR
wdTmNeUq7wABottjDq28JsOPM555lXwyaFzyM/o1Rjy7YttW9qwhDJCgCmnynwkY
P+SJevlotXkG6bbg4dFfMFy2rj8gn08X1xUWshoiQcJYN0wvH5m6owUNL4WHDZQh
BAv8HrSDKMX8+5vCz0uDcWF6XJQ=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=psOI00vzfsHrwX5JPZNnV7
p+Cj8=; b=FdyXkm/NA3d5BFDSQTEoSmJHqpXMfvuKUQJWSYiInt8vpRkZN4STRA
VWG3tD7+LVXH3nf8zciKY5z6S6oSKB5uIAkIg8/bCVZyUPGlt0WANPpMy0AwfqOv
IKafPmQmxVy7Kb8XqLt5VnsSp687WQlovlHT6CekcWo+REAtdAMCM=
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=-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
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)
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>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <f520c634-8640-d1c8-17d4-2bb66633c330@gmail.com>
Date: Wed, 14 Mar 2018 07:28:33 +0100
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>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019