From user-return-17354-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Aug 4 17:01:33 2011 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 43D4B6C05 for ; Thu, 4 Aug 2011 17:01:33 +0000 (UTC) Received: (qmail 88545 invoked by uid 500); 4 Aug 2011 17:01:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 88314 invoked by uid 500); 4 Aug 2011 17:01:30 -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 88306 invoked by uid 99); 4 Aug 2011 17:01:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 17:01:30 +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 (athena.apache.org: domain of chadcross@gmail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-gw0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 17:01:25 +0000 Received: by gwj15 with SMTP id 15so1362938gwj.11 for ; Thu, 04 Aug 2011 10:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3e//nWvCl9SueqFWVdr9C6LBM7ZYYKtxKOWaq0DImn8=; b=C5gefTjAaQRXNdjRg5Jv8y4IUaUKhB6KFmO5CtGZfdEkoz3CYiaPk7aSHLh80rri0i Rlp8vYVrOGZ662ainCXCGTP5iETkEZQPxCiAGyG1JQwies1rpZu+RgZK5EHdM3RcR4xT EpCG5o+LaLnbVa7GU/wfgXGeBR4enPpPVwNiA= MIME-Version: 1.0 Received: by 10.236.175.201 with SMTP id z49mr1598857yhl.269.1312477264913; Thu, 04 Aug 2011 10:01:04 -0700 (PDT) Received: by 10.147.174.9 with HTTP; Thu, 4 Aug 2011 10:01:04 -0700 (PDT) In-Reply-To: References: <-8926586841276223108@unknownmsgid> Date: Thu, 4 Aug 2011 13:01:04 -0400 Message-ID: Subject: Re: CouchDB as a windows service. From: Chad Cross To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf3040ea1e26a52904a9b0ed54 --20cf3040ea1e26a52904a9b0ed54 Content-Type: text/plain; charset=ISO-8859-1 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 > --20cf3040ea1e26a52904a9b0ed54--