Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Alder <PGDEHMKOKIMD@spammotel.com>
Subject: Re: cygserver service won't start
Date: Sat, 11 Sep 2004 09:54:54 -0700
Lines: 34
Message-ID: <chvame$htv$1@sea.gmane.org>
References: <choq8h$6uq$1@sea.gmane.org> <20040909080829.GC2953@cygbert.vinschen.de> <chqtp3$n05$1@sea.gmane.org> <20040910080758.GE468@cygbert.vinschen.de> <chsjeg$9em$1@sea.gmane.org> <chslrm$g4i$1@sea.gmane.org> <20040911123916.GA8906@cygbert.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: d66-183-164-211.bchsia.telus.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803
In-Reply-To: <20040911123916.GA8906@cygbert.vinschen.de>
X-IsSubscribed: yes

Corinna Vinschen wrote::
> 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.

On a perfect platform, perhaps, but like I said, I really had to add it 
because without it there a Windows dialog would pop up when I ran 
cygserver telling me that 'Cygwin1.dll' could not be found.  That was 
also true on my previous installation, and one of the reasons I thought 
it best to reinstall.

Regards,

Alder

> 
> 
> Corinna
> 


--
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/

