Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5765B6CC1 for ; Thu, 4 Aug 2011 17:56:05 +0000 (UTC) Received: (qmail 19583 invoked by uid 500); 4 Aug 2011 17:56:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 19530 invoked by uid 500); 4 Aug 2011 17:56:03 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 19522 invoked by uid 99); 4 Aug 2011 17:56:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 17:56:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of otrwalter@gmail.com designates 209.85.218.52 as permitted sender) Received: from [209.85.218.52] (HELO mail-yi0-f52.google.com) (209.85.218.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 17:55:56 +0000 Received: by yie16 with SMTP id 16so321865yie.11 for ; Thu, 04 Aug 2011 10:55:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=zVhay4IJnprCt9E+aZD8nnpnvGeeRKBeD5xdpoOQDcI=; b=T/e+Ks3K08dPSoG9D3InTXwPUmE9vM5XnJXywmCrjHA3mXosBQ36zEjgXm2IRu1fCR WdKpmQNAToskwGX8wiOKEAknEZQuTleYxBecEwPnCBW6GjKRe/eM8ZKeIbtMRCcbvAVH ELYGtzwgiPiLsTJRcTHcIJLiGEMIxmxiCBCHM= Received: by 10.150.163.11 with SMTP id l11mr2208139ybe.268.1312480535164; Thu, 04 Aug 2011 10:55:35 -0700 (PDT) MIME-Version: 1.0 Sender: otrwalter@gmail.com Received: by 10.151.146.9 with HTTP; Thu, 4 Aug 2011 10:55:14 -0700 (PDT) In-Reply-To: References: <-8926586841276223108@unknownmsgid> From: Walter Torres Date: Thu, 4 Aug 2011 18:55:14 +0100 X-Google-Sender-Auth: NQQaORkkl-0AO4fpN5psZRFvRkQ Message-ID: Subject: Re: CouchDB as a windows service. To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=000e0cd58cf412b76f04a9b1b0c9 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd58cf412b76f04a9b1b0c9 Content-Type: text/plain; charset=ISO-8859-1 Thanks for this tool! It may help, but it looks promising. Thank you On Thu, Aug 4, 2011 at 6:01 PM, Chad Cross wrote: > Walter, > > Have you tried using procmon to watch the executable(s)? It will record > registry access, though I'm not sure if it will record that the app was > attempting to access a key that does not exist, but it's definitely worth a > shot! > > http://technet.microsoft.com/en-us/sysinternals/bb896645 > > -Chad > > On Thu, Aug 4, 2011 at 12:28 PM, Dennis Redfield < > dennis.lee.redfield@gmail.com> wrote: > > > You really are at the mercy of the folks who wrote the installer, perhaps > > they will chime in. The Registry system is quite complex and is a > > combination of keys required by the system: security, uninstall, service > > installation and keys which are set uniquely by the application (I assume > > this is what you intended when you said APP REG KEYS). So your best bet > is > > to go back to the couchdb installation source, talk to the installation > > authors and hit the books. > > > > BTW: The reason I asked your intent (i.e. your goal) was what you are > > attempting to do is going to require some real effort - if do-able at all > > and I was hoping that if I knew what you were trying to accomplish there > > might be another way to achieve the goal. > > > > Question: I understand (from the Wiki) that mySQL does NOT run as a > > windows > > service but as a process within the hosting application (e.g. as a linked > > lib). Is this not correct? > > > > thanks > > > > dlr > > > > > > On Thursday, August 4, 2011, Walter Torres wrote: > > > Ok, ok. I guess I should be very specific.... > > > > > > When I refer to REG KEYS, I do not include KEYS that windows creates > > > when a SERVICE is installed. To my referring to APP REG KEYS, not > > > windows SERVICE REG KEYS > > > > > > Am I splitting hairs? I don't think so. SERVICE REG KEYS are not used > > > by the app. > > > > > > When I installed "erlsrv.exe" as a SERVICE, windows created the > > > SERVICE REG KEYS. It appears in the SERVICES control and it allows me > > > to attempt to start it. > > > > > > I believe that the error I am getting is because the app is trying to > > > access an APP KEY of some kind. > > > > > > As for reading the installer code; well I did that for about an hour > > > and nothing jumped out at me. But than, I'm not that experiences with > > > windows installer. > > > > > > That's why I asked in here. I was hoping someone who had experience > > > with the windows would know about keys and might know a work around. > > > > > > I was really hoping that this group would be a bit different than > > > other open source groups. I don't know why I would have that > > > expectation. I ran into the same "resistance", the same "bewilderment" > > > at the idea of not using an installer when I started working on apache > > > and on nearly every Linux based app that has a windows binary. > > > > > > Maybe these replies are thinking they are helping, but read the > > > replies again. Do they really help with the scenario given? Not from > > > my POV. They read to me as just questioning my logic not addressing > > > the issue. > > > > > > Does anyone gave any experience with windows? With how the app uses > KEYS, > > etc. > > > > > > I don't have the experience to correct any code and recompile a > > > binary. And I think that is what will have to happen. I don't believe > > > there is any reason, none, for the need of a REG KEY, and I'm not > > > talking about any SERVICE REG KEYS. > > > > > > Anyone have any ideas or anyone with the bandwidth to look into this? > > > > > > > > > --------------------------------------- > > > Walter > > > > > > On Aug 4, 2011, at 9:28 AM, Keith Gable > > wrote: > > > > > >> On Aug 4, 2011 9:22 AM, "Walter Torres" wrote: > > >>> > > >>> I have Apache and mySQL running, as a SERVICE, without REG KEYS. > > >> > > >> Impossible. You still have to have the service keys in the registry > that > > >> tell Windows how to start/stop services. Maybe CouchDB is attempting > to > > >> install this for you or expects to read settings from those keys. I'd > > check > > >> the source for the installer code and go from there. > > > > > > > -- > > Trust No One > > > --000e0cd58cf412b76f04a9b1b0c9--