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 57279DF4B for ; Wed, 28 Nov 2012 20:35:59 +0000 (UTC) Received: (qmail 96245 invoked by uid 500); 28 Nov 2012 20:35:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 96212 invoked by uid 500); 28 Nov 2012 20:35:57 -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 96204 invoked by uid 99); 28 Nov 2012 20:35:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 20:35:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.52] (HELO mail-vb0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 20:35:49 +0000 Received: by mail-vb0-f52.google.com with SMTP id ez10so10973054vbb.11 for ; Wed, 28 Nov 2012 12:35:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=Q03ZE3elT59saoT+NnWQb6XhvqCBSTfDQ0JFEsFW2cI=; b=PK6ARAAToPvSVROuoQJNtfFDgtZUZUVLmcO6tIjRY28nBXNYyLaYTlZ445PNPrrpEW ny8Ix/LFqbYmBx20GUlNe+TfTroPPamyGmUaR9SNgNbCboOH8gVQ8zSM1QwatAYyfJ5J moS60iJUIbyUInh4Cb0hu+xWd8GyqsUz2qhS3kFNmXK0r9rEeljDIU4bX47ifMejqJQY QY8sz0/VMysUxnk3KAItULiH3mnvOYGMSbePLW0n+gxiW8eKLqi6KJLVt36kglyFZGA5 uI4XeCL6Mc+L1Sc2b9p2poilgpdwXNADiodOaI2gB1cpgl/J+YKqtMifhwsWYx7/w9y0 eWoQ== MIME-Version: 1.0 Received: by 10.58.239.162 with SMTP id vt2mr30720031vec.1.1354134928919; Wed, 28 Nov 2012 12:35:28 -0800 (PST) Received: by 10.58.80.40 with HTTP; Wed, 28 Nov 2012 12:35:28 -0800 (PST) X-Originating-IP: [84.112.19.176] In-Reply-To: References: Date: Wed, 28 Nov 2012 21:35:28 +0100 Message-ID: Subject: Re: Copying of database fails with bad_otp_release From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmcNaVkWL/gkG5LF7ECGjJEhCuGvgG0gFtQI2NM1aUJievfNcQIKfkW57sIwiADN0K+onon X-Virus-Checked: Checked by ClamAV on apache.org On 28 November 2012 20:44, Robert Newson wrote: > That error, slightly obscurely, means the server failed to load the snappy > compression library, which I believe is missing from Windows binary builds. > Dave uploaded a new one recently, iirc. > > > On 28 November 2012 18:40, Holder, Shane wrote: > >> Hello, >> >> I am working on setting up a Node Package Manager repository which uses >> CouchDB. I am having issues using replication to copy a CouchDB I have >> configured to a new server. I believe the issues are due to filtering >> rules which are in place that do not allow HTTP PUT operations over our >> network so I am trying to just copy the database from one system to another. >> >> I am on Windows systems, using CouchDB 1.2 R15 the source database exists >> on a Windows 7 64 system and the destination is a Windows Server 2008 R2 64 >> bit system. I am using the copy and paste facility of Remote Desktop to >> copy the file to the destination system, the file is small at 200M. The >> file I am copying is the .couch file in the >> CouchDB\var\lib\couchdb directory. (Not sure if this matters but I also >> have RabbitMQ installed on the same server with the Erlang OTP R15B012 >> package.) >> >> Once the file has been copied over I see it in the Futon UI but the size, >> Number of Documents and Update Seq fields are blank and when I click on the >> link for the database I receive an error message as follows: >> >> Error: bad_otp_release >> >> To open the database `npm`, Apache CouchDB must be built with Erlang OTP >> R13B04 or higher. >> >> If I copy the file to a new file on the source system I see the new >> database and can access it as I would expect, any ideas as to why I would >> be receiving this error and how I can copy the database to another system? The newer binary is here http://people.apache.org/~dch/dist/snapshots/20120524/ and contains the fix referred to in https://issues.apache.org/jira/browse/COUCHDB-1482 as well as requiring / using R15B01. I'd also be careful that the PATH for couchdb doesn't have erlang mixups, in particular if erlang is in the system path at all. You can hack this temporarily by putting something like this in couchdb.bat: cd %~dp0 PATH=%~dp0;%~dp0/../erts-5.9.1/bin;%PATH% ie prepending the specific erlang release provided with CouchDB binary. I've not got the release handy but the erts-*.*.* version might be different. A+ Dave