X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49B17F12.1080406@cygwin.com>
Date: Fri, 06 Mar 2009 14:52:50 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.5.25: Regtool can not find registry?
References: <20090306152153.GB14325@raven.wolf.lan>
In-Reply-To: <20090306152153.GB14325@raven.wolf.lan>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Josef Wolf wrote:
> Hello,
> 
> I had a working cygwin installation for several years on this machine.
> 
> But then I decided to remove and reinstall it.  (I reinstalled cygwin
> only, not the whole machine).  Since the reinstall, regtool refuses to
> work.  It always complains that it can not find the specified file.
> Strange enough, cygcheck _is_ able to read information from the
> registry.
> 
> Here are examples of what I get:
> 
>   $ regtool get '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin
>   Error (2): Das System kann die angegebene Datei nicht finden.
>   $ regtool get '/HKLM/SOFTWARE/Cygnus Solutions/Cygwin/mounts v2'
>   Error (2): Das System kann die angegebene Datei nicht finden.
> 
> Any ideas how to track down this problem?

Two thoughts:

   1. Try running this under 'strace' to see if you can spot something.

   2. Remove the values from your CYGWIN environment variable and
      reboot.

Either of these two thoughts may lead nowhere but that's the best I can
come up with.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

