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 3F7CA10A01 for ; Mon, 22 Jul 2013 11:16:06 +0000 (UTC) Received: (qmail 88213 invoked by uid 500); 22 Jul 2013 11:16:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 87806 invoked by uid 500); 22 Jul 2013 11:16:02 -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 87769 invoked by uid 99); 22 Jul 2013 11:16:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 11:16:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yoursurrogategod@gmail.com designates 209.85.212.173 as permitted sender) Received: from [209.85.212.173] (HELO mail-wi0-f173.google.com) (209.85.212.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 11:15:56 +0000 Received: by mail-wi0-f173.google.com with SMTP id hq4so1738918wib.0 for ; Mon, 22 Jul 2013 04:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6LU50UxH3UZZONRupy0/ENyVwdl1sD/qoL77FAy1Izg=; b=P8jhpMZBqPo0R7NDE6OKeAyUo2bNNUaSpfLaSoW82+vw/5xLP16TwQ5zslEJB7Yqpv bCssTKRah3N70OlT8D1lgLmDkeQvyzloyv2cQjAh+sPlhfO7bfAc+JcFtISlwwfGg4TM NNQ4/lTD/SJHLFwYupuYNh4RnUtPWy3jpe8kHgmQWCGbCYY4UOiPTMl7gxrdtljQNm2r y/lfIsYu4Jpqh8NV9FI6he40IGlkpPwFzJ/XbCbKYgjxEOLQApogGLczhy5LzbXaF8tC cFQJ92eJSHMQsKa4dU9r0Czv24kWakDWrVmpyzD2Ub2JATUwve/oLg2q4TPlSAyNqLDx Drxw== MIME-Version: 1.0 X-Received: by 10.194.174.137 with SMTP id bs9mr19051186wjc.59.1374491735300; Mon, 22 Jul 2013 04:15:35 -0700 (PDT) Received: by 10.194.78.241 with HTTP; Mon, 22 Jul 2013 04:15:35 -0700 (PDT) In-Reply-To: References: Date: Mon, 22 Jul 2013 07:15:35 -0400 Message-ID: Subject: Re: Unable to restart CouchDB From: "Yves S. Garret" To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=089e0149331ea120e904e217cb49 X-Virus-Checked: Checked by ClamAV on apache.org --089e0149331ea120e904e217cb49 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, yes, you're right about this. I managed to restart couchdb just fine. On Sun, Jul 21, 2013 at 11:56 PM, Jeff Snider wrote: > couchdb isn't a service script in the way you're trying to use it. It is > just trying to start up again and failing because one is already running. > > What you probably want is: > > sudo launchctl unload /Library/LaunchDaemons/org.apache.couchdb.plist; > sudo launchctl load /Library/LaunchDaemons/org.apache.couchdb.plist > > > -Jeff > > > > > > On Jul 21, 2013, at 5:43 PM, Yves S. Garret wrote: > > > Hi, I'm currently running Mac OS 10.7.5. I have CouchDB installed and > > would like to restart it. The > > problem arises when I do try to do this, this is the error that I get: > > > > % sudo ./couchdb restart > > Password: > > Apache CouchDB 1.3.1 (LogLevel=3Dinfo) is starting. > > Failure to start Mochiweb: eaddrinuse > > {"init terminating in > > > do_boot",{{badmatch,{error,{bad_return,{{couch_app,start,[normal,["/opt/l= ocal/etc/couchdb/default.ini","/opt/local/etc/couchdb/local.ini"]]},{'EXIT'= ,{{badmatch,{error,{shutdown,{failed_to_start_child,couch_secondary_service= s,{shutdown,{failed_to_start_child,httpd,eaddrinuse}}}}}},[{couch_server_su= p,start_server,1,[{file,"couch_server_sup.erl"},{line,98}]},{application_ma= ster,start_it_old,4,[{file,"application_master.erl"},{line,269}]}]}}}}}},[{= couch,start,0,[{file,"couch.erl"},{line,18}]},{init,start_it,1,[]},{init,st= art_em,1,[]}]}} > > > > Crash dump was written to: erl_crash.dump > > init terminating in do_boot () > > > > What am I doing wrong here? > > --089e0149331ea120e904e217cb49--