delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/11/08:39:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Sat, 11 Sep 2004 14:39:16 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygserver service won't start
Message-ID: <20040911123916.GA8906@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <choq8h$6uq$1 AT sea DOT gmane DOT org> <20040909080829 DOT GC2953 AT cygbert DOT vinschen DOT de> <chqtp3$n05$1 AT sea DOT gmane DOT org> <20040910080758 DOT GE468 AT cygbert DOT vinschen DOT de> <chsjeg$9em$1 AT sea DOT gmane DOT org> <chslrm$g4i$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <chslrm$g4i$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i

On Sep 10 09:47, Alder wrote:
> Corinna,
> 
> I don't know if this is relevant, but I have to add the "/bin" directory 
> to the cygrunsrv command line in the /bin/cygserver-config file in order 
> to avoid Windows failing to find the 'cygwin1.dll".  So, the line I have is:
> 
> if ! cygrunsrv -I cygserver -d "CYGWIN cygserver" \
>   -p /usr/sbin/cygserver -f "Shared memory manager" \
>   -2 /var/log/cygserver.err -e PATH="/bin:$PATH"

Did you know that cygrunsrv adds /bin to $PATH by itself before trying
to run the inferior process for the very reason to find cygwin1.dll?

Adding it explicitely is really unnecessary.  Just to be sure, I tried
it again on my machine and it works fine.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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