couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Redfield <dennis.lee.redfi...@gmail.com>
Subject Re: CouchDB as a windows service.
Date Thu, 04 Aug 2011 16:28:51 GMT
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 <otrwalter@gmail.com> 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 <ziggy@ignition-project.com>
wrote:
>
>> On Aug 4, 2011 9:22 AM, "Walter Torres" <walter@torres.ws> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message