Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0D33B200C1C for ; Wed, 15 Feb 2017 22:34:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0BCEC160B70; Wed, 15 Feb 2017 21:34:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2C076160B4D for ; Wed, 15 Feb 2017 22:34:04 +0100 (CET) Received: (qmail 9834 invoked by uid 500); 15 Feb 2017 21:34: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 9821 invoked by uid 99); 15 Feb 2017 21:34:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2017 21:34:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 61CC81A045D for ; Wed, 15 Feb 2017 21:34:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.63 X-Spam-Level: **** X-Spam-Status: No, score=4.63 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id MbmII7wC8-5b for ; Wed, 15 Feb 2017 21:34:00 +0000 (UTC) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id ED3BD5F19B for ; Wed, 15 Feb 2017 21:33:59 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id c7so3292404itd.1 for ; Wed, 15 Feb 2017 13:33:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=2ACfk63cO2E4ExB5LW9vF01nrwjhf2FQ0Seu+H2BBlw=; b=agZwN89gQQmv/Myw214nmYv8WV/s1mOuR9Aeh1olzH65kZFgtcFTHfwi/6xA8WXdlt XcYa4Yz6rmiWBJ6uT6VRCnEWFHCa4SMQGMQnWRT845ThXhxqPIGzkopegdE5fzwYQEPT bww2AjAB+zQhPyDs3RIjpvg0JO5hTemlT3k6s36cnhTLkUl8npXsWUeXgx4hFfJZtR0Z 6N+s936LyQtweiguWzmV8PlH336q3oLRHFh7q22VsReqeB8znKfNnFeBjaVg0aNJvvsm uXbK2HHGAaCo4CWX7bDMFW/i7p1SqpY3geJqIXadIBLswsr4u38ZpZ+8QSg68o1iUEFX v/WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2ACfk63cO2E4ExB5LW9vF01nrwjhf2FQ0Seu+H2BBlw=; b=PdmF7nCiI0326AxIyeF4r2jvJDYwepuv+vrLjc0B3NxMXXUleSa9MnbycnZiPTJ/fK 1NLBzFjpTbO7Iz7cl+cea0K6RTuDGEtd4jv4K2yDGbDuAHGkLcDyq+5rmEUebLHWQW4u cc8wjLYwmIvpg8zM5nXsRfpc+7F/IBu+XqJaDBNAzUZixSqrY/SYDbBJBCAVbB+JaAco suzh1tSUgBR9BGk5+70yOGxmkAn88pGUH1tfhj6Odz8aJXN/23NmDfU90ytxfRRtjgXu /7A1X0QdHUOM2ssySEtjmM3FhCFPrh0lNuHHVQ+Rq76jQLE+kJRcckfKx/fWxvysvLfz Iwqw== X-Gm-Message-State: AMke39k/OelCKbFH58CvoVHNf3fW3J0Uv/GEH2Vtv+XhWs9lQ+hX7mbM+Ts56+Mxv6c7w/Z34A2SjW66dADm0w== X-Received: by 10.36.105.193 with SMTP id e184mr11240611itc.13.1487194421510; Wed, 15 Feb 2017 13:33:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.72.10 with HTTP; Wed, 15 Feb 2017 13:33:41 -0800 (PST) In-Reply-To: References: From: max Date: Wed, 15 Feb 2017 22:33:41 +0100 Message-ID: Subject: Re: Ubuntu 16.04 Couchdb 1.6.1 fresj install To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001a1144d74c34ca7b0548986f56 archived-at: Wed, 15 Feb 2017 21:34:05 -0000 --001a1144d74c34ca7b0548986f56 Content-Type: text/plain; charset=UTF-8 Thank you for your answer I'll keep that in mind for 2.0. Anybody else ? Thanks. 2017-02-15 11:32 GMT+01:00 Dan Ballance : > Oh damn, just realised you are not trying to install 2.0. Apologies, that > link is probably not relevant :( > > On Wed, Feb 15, 2017 at 10:31 AM Dan Ballance > wrote: > > > Not sure if this will answer your specific question, but I found this > gist > > very useful for setting up my Ubuntu 16.04 CouchDB server: > > > > https://gist.github.com/SinanGabel/eac83a2f9d0ac64e2c9d4bd936be9313 > > > > On Mon, Feb 13, 2017 at 9:59 AM max wrote: > > > > Hi, > > > > I just installed Couchdb 1.6.1 from apt on Ubuntu 16.04 but I'm > stucksince > > I changed the port to make CouchDB listen on port 80. > > I already faced this problem on Ubuntu 12.04 with an install from source > > and I just replaced the user in /usr/local/etc/default/couchdb : > > COUCHDB_USER=root > > But with this apt install I tough just editing /etc/init/couchdb.conf and > > change exec su couchdb -c /usr/bin/couchdb TO exec su root -c > > /usr/bin/couchdb will make it but it did not. > > The error I got when I run "sudo couchdb" is > > > > Apache CouchDB 1.6.1 (LogLevel=info) is starting. > > Apache CouchDB has started. Time to relax. > > [info] [<0.33.0>] Apache CouchDB has started on http://0.0.0.0:80/ > > [error] [<0.33.0>] Failed to write to URI file /run/couchdb/couch.uri: no > > such file or directory > > [error] [<0.32.0>] {error_report,<0.32.0>, > > {<0.32.0>,crash_report, > > [[{initial_call, > > {application_master,init, > > ['Argument__1','Argument__2','Argument__3', > > 'Argument__4']}}, > > {pid,<0.32.0>}, > > {registered_name,[]}, > > {error_info, > > {exit, > > {enoent, > > {couch_app,start, > > [normal, > > ["/etc/couchdb/default.ini", > > "/etc/couchdb/local.ini"]]}}, > > [{application_master,init,4, > > [{file,"application_master. > erl"},{line,134}]}, > > {proc_lib,init_p_do_apply,3, > > [{file,"proc_lib.erl"},{line,240}]}]}}, > > {ancestors,[<0.31.0>]}, > > {messages,[{'EXIT',<0.33.0>,normal}]}, > > {links,[<0.31.0>,<0.7.0>]}, > > {dictionary,[]}, > > {trap_exit,true}, > > {status,running}, > > {heap_size,987}, > > {stack_size,27}, > > {reductions,153}], > > []]}} > > {"init terminating in > > > > do_boot",{{badmatch,{error,{enoent,{couch_app,start,[ > normal,["/etc/couchdb/default.ini","/etc/couchdb/local.ini"] > ]}}}},[{couch,start,0,[{file,"couch.erl"},{line,18}]},{init, > start_it,1,[]},{init,start_em,1,[]}]}} > > > > So I tried to create the couch.uri file and then I could start couchdb on > > port 80 but only with the command "sudo couchdb". The service "sudo > > systemctl restart couchdb" is not able to start couchdb and when I try it > > the couch.uri is deleted and so one... How to fix this properly ? I know > I > > could rewrite port 80 to 5984 using apache2 or nginx but I want to figure > > out what is going on and I'd like to make it work. > > > > Thanks for any hints. > > > > Max. > > > > > --001a1144d74c34ca7b0548986f56--