From user-return-17365-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Thu Aug 4 20:13:28 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 43D116B64 for ; Thu, 4 Aug 2011 20:13:28 +0000 (UTC) Received: (qmail 86394 invoked by uid 500); 4 Aug 2011 20:13:26 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 86374 invoked by uid 500); 4 Aug 2011 20:13:26 -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 86366 invoked by uid 99); 4 Aug 2011 20:13:26 -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 20:13:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,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 ziggythehamster@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 20:13:19 +0000 Received: by fxd18 with SMTP id 18so3558780fxd.11 for ; Thu, 04 Aug 2011 13:12:59 -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:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=a1nlZmOUCEwsHNdb0vEuqMy1zVqNQkOraHGnr8RryHg=; b=FgmBzmdTVEyl7VnvkQYl2WM2+SdsTOmIQsi2Rw64MaM6Hp3dtwe38zaWc0lgWkGdSz qM9expFM6jFujtlJ7fXR3k/AUXhuffBHNuHgMq5aBsu0hdXLhRuXzqtgtEDIkjn963NK xQjN6PsYMiO9T2XhpeqwQrRIt19rRA7p0q1ik= MIME-Version: 1.0 Received: by 10.223.101.90 with SMTP id b26mr1758775fao.29.1312488779390; Thu, 04 Aug 2011 13:12:59 -0700 (PDT) Sender: ziggythehamster@gmail.com Received: by 10.223.161.129 with HTTP; Thu, 4 Aug 2011 13:12:59 -0700 (PDT) In-Reply-To: References: <-8926586841276223108@unknownmsgid> Date: Thu, 4 Aug 2011 15:12:59 -0500 X-Google-Sender-Auth: V73h3Zv6RiSqjGYx3VlQjuV1xO4 Message-ID: Subject: Re: CouchDB as a windows service. From: Keith Gable To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I see that your problem is now solved after I replied. Go Gmail :) On Thu, Aug 4, 2011 at 3:11 PM, Keith Gable wr= ote: > On Thu, Aug 4, 2011 at 2:34 PM, Walter Torres wrote: >> sc.exe create CouchDBServer binPath=3D >> "L:\etc\couchdb\erts-5.8.4\bin\erlsrv.exe" DisplayName=3D "CouchDB Serve= r" > > erlsrv.exe is used on the command line to install services. You > probably need to install the service and then figure out what command > line it tries to call. In particular, Erlang needs to know what to > start and some settings. Erlang's command line is pretty verbose. > > I would bet that erlsrv.exe is attempting to access parts of the > registry that can't be accessed by LocalService/NetworkService users, > because erlsrv.exe isn't what would execute the Erlang interpeter > anyways. > > >> The GitHub that I pulled the installer from has a non-installer version; >> meaning it is a simple 7z file. I am using that in my experiments. > > Erlang, or CouchDB? > > I would imagine both are available as binary archives, but they're not > the same thing. CouchDB runs on top of Erlang; Erlang is used by tons > of other stuff. Think of the relationship between Ruby and Ruby on > Rails - Rails runs on Ruby and won't run without some sort of Ruby > interpeter. CouchDB is executed within Erlang. > >> =A03) =A0deep understanding of system, how it works, how to modify/confi= g it, >> upgrade it. >> =A0 =A0 =A0 * 100% there, with what I have. It took me 10 minutes to add= SSL to >> my Apache. Took another 5 for Vhosts. You can't say the same with Xxamp = or >> WAMP installers. > > FWIW, I don't like the "WAMP" installers. Apache and MySQL are easy > enough to install properly on their own (or not install; they check > relative locations for their configuration). You're just describing > the standard way of configuring things in Apache/MySQL/etc. Nothing > wrong with that, just saying that "industry standard" *nix apps are > all pretty much the same. > >> >> Anyway, the info you gave (THANK YOU very much BTW) will keep me busy fo= r a >> bit of time. No matter how much I =A0think I know, too many times I feel= like >> I know nothing at all. >> > > I'm thinking you just need to extract Erlang into a folder, CouchDB > into a different folder (or keep the structure you have, whichever), > then use erlsrv.exe to install the service (like the installer does), > and then it'll all work. >