From user-return-12847-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Sep 22 06:01:00 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 58536 invoked from network); 22 Sep 2010 06:01:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Sep 2010 06:01:00 -0000 Received: (qmail 30488 invoked by uid 500); 22 Sep 2010 06:00:59 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 29149 invoked by uid 500); 22 Sep 2010 06:00:56 -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 Delivered-To: moderator for user@couchdb.apache.org Received: (qmail 18402 invoked by uid 99); 22 Sep 2010 01:04:27 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=I35j+DnadLJJ86lZPTavs3f39oQ3sAf8ilp6rbR1OGo= c=1 sm=2 a=XOVpzSIEhbAA:10 a=IkcTkHD0fZMA:10 a=eVuQE3f6AAAA:8 a=mV9VRH-2AAAA:8 a=LRLYrf9nAAAA:8 a=IuEuPofiAeZoBVcmKz0A:9 a=Tz_fdOfiahgVsiY3YXkA:7 a=Jtzzyn1p5lfh1Pf_8Yp79muQsWAA:4 a=QEXdDO2ut3YA:10 a=WJkbv6Bpw4gA:10 a=BWgKunnJVZoA:10 a=qiWi7Edwir4A:10 a=NWVoK91CQyQA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAOnymEyYAgL6/2dsb2JhbACDHJ5NQnGzLIMxAYYIiGWBIoMscwSKOIJ0Cg X-IronPort-AV: E=Sophos;i="4.56,403,1280721600"; d="scan'208";a="35845462" Message-ID: <4C99561D.7090204@email.unc.edu> Date: Tue, 21 Sep 2010 21:04:29 -0400 From: Jason Priem User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: CouchDB starts, but can't connect References: <4C993077.9050506@email.unc.edu> In-Reply-To: <4C993077.9050506@email.unc.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org figured it out--permission problems. this helped: http://www.listware.net/201007/couchdb-user/70174-re-my-10-installation-on-ubuntu-lucid-fails-to-start.html thanks! j On 9/21/2010 6:23 PM, Jason Priem wrote: > Hi, > I can't make CouchDB work on my Ubuntu 10.04 Linode VPS. I followed all > the instructions on http://wiki.apache.org/couchdb/Installing_on_Ubuntu > (example 2, minimal dependencies). When I run > > /usr/local/etc/init.d/couchdb start > > I get > > * Starting database server couchdb [ OK ] > > And > > ps aux|grep couchdb^ > > Gives me > > root 15357 0.0 0.1 1860 600 pts/0 S+ 22:13 0:00 grep --color=auto couchdb^ > root@li105-127:/usr/local/var/log# /usr/local/etc/init.d/couchdb start > * Starting database server couchdb [ OK ] > root@li105-127:/usr/local/var/log# ps aux|grep couchdb > couchdb 15313 0.0 0.1 1832 592 pts/0 S 22:11 0:00 /bin/sh -e > /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a > /usr/local/etc/couchdb/local.ini -b -r 5 -p > /usr/local/var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R > couchdb 15321 0.0 0.0 1832 344 pts/0 S 22:11 0:00 /bin/sh -e > /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a > /usr/local/etc/couchdb/local.ini -b -r 5 -p > /usr/local/var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R > couchdb 15322 0.3 1.4 63684 7508 pts/0 Sl 22:11 0:00 > /usr/lib/erlang/erts-5.7.4/bin/beam.smp -Bd -K true -A 4 -- -root > /usr/lib/erlang -progname erl -- -home /usr/local/var/lib/couchdb -- > -noshell -noinput -sasl errlog_type error -couch_ini > /usr/local/etc/couchdb/default.ini /usr/local/etc/couchdb/local.ini > /usr/local/etc/couchdb/default.ini /usr/local/etc/couchdb/local.ini -s > couch -pidfile /usr/local/var/run/couchdb/couchdb.pid -heart > couchdb 15338 0.0 0.0 1620 448 ? Ss 22:11 0:00 heart -pid 15322 -ht 11 > root 15379 0.0 0.1 1860 596 pts/0 S+ 22:13 0:00 grep --color=auto couchdb > > However, if I > > curl http://127.0.0.1:5984 > > it just throws a "can't connect" error. If I stop CouchDb and then > > sudo -i -u couchdb couchdb > > I get this output: > > Apache CouchDB 1.0.1 (LogLevel=info) is starting. > > =CRASH REPORT==== 21-Sep-2010::22:20:26 === > crasher: > initial call: couch_event_sup:init/1 > pid: <0.81.0> > registered_name: [] > exception exit: {{badmatch, > {'EXIT', > {{badmatch,{error,eacces}}, > [{couch_log,init,1}, > {gen_event,server_add_handler,4}, > {gen_event,handle_msg,5}, > {proc_lib,init_p_do_apply,3}]}}}, > [{couch_event_sup,init,1}, > {gen_server,init_it,6}, > {proc_lib,init_p_do_apply,3}]} > in function gen_server:init_it/6 > ancestors: [couch_primary_services,couch_server_sup,<0.33.0>] > messages: [] > links: [<0.80.0>,<0.6.0>] > dictionary: [] > trap_exit: false > status: running > heap_size: 233 > stack_size: 24 > reductions: 116 > neighbours: > > =SUPERVISOR REPORT==== 21-Sep-2010::22:20:26 === > Supervisor: {local,couch_primary_services} > Context: start_error > Reason: {{badmatch,{'EXIT',{{badmatch,{error,eacces}}, > [{couch_log,init,1}, > {gen_event,server_add_handler,4}, > {gen_event,handle_msg,5}, > {proc_lib,init_p_do_apply,3}]}}}, > [{couch_event_sup,init,1}, > {gen_server,init_it,6}, > {proc_lib,init_p_do_apply,3}]} > Offender: [{pid,undefined}, > {name,couch_log}, > {mfa,{couch_log,start_link,[]}}, > {restart_type,permanent}, > {shutdown,brutal_kill}, > {child_type,worker}] > > > =SUPERVISOR REPORT==== 21-Sep-2010::22:20:26 === > Supervisor: {local,couch_server_sup} > Context: start_error > Reason: shutdown > Offender: [{pid,undefined}, > {name,couch_primary_services}, > {mfa,{couch_server_sup,start_primary_services,[]}}, > {restart_type,permanent}, > {shutdown,infinity}, > {child_type,supervisor}] > > > =CRASH REPORT==== 21-Sep-2010::22:20:26 === > crasher: > initial call: application_master:init/4 > pid: <0.32.0> > registered_name: [] > exception exit: {bad_return, > {{couch_app,start, > [normal, > ["/usr/local/etc/couchdb/default.ini", > "/usr/local/etc/couchdb/local.ini"]]}, > {'EXIT', > {{badmatch,{error,shutdown}}, > [{couch_server_sup,start_server,1}, > {application_master,start_it_old,4}]}}}} > in function application_master:init/4 > 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: 24 > reductions: 161 > neighbours: > > =INFO REPORT==== 21-Sep-2010::22:20:26 === > application: couch > exited: {bad_return,{{couch_app,start, > [normal, > ["/usr/local/etc/couchdb/default.ini", > > "/usr/local/etc/couchdb/local.ini"]]}, > {'EXIT',{{badmatch,{error,shutdown}}, > [{couch_server_sup,start_server,1}, > {application_master,start_it_old,4}]}}}} > type: temporary > > I'd love any advice I can get...thanks so much! > Best, > Jason > > > > > -- Jason Priem UNC Royster Fellow School of Information and Library Science University of North Carolina at Chapel Hill