From user-return-13877-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Nov 22 17:40:06 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 45377 invoked from network); 22 Nov 2010 17:40:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Nov 2010 17:40:06 -0000 Received: (qmail 28007 invoked by uid 500); 22 Nov 2010 17:40:37 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 27855 invoked by uid 500); 22 Nov 2010 17:40:36 -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 27847 invoked by uid 99); 22 Nov 2010 17:40:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 17:40:36 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of josh803316@gmail.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-ew0-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 17:40:28 +0000 Received: by ewy4 with SMTP id 4so3923506ewy.11 for ; Mon, 22 Nov 2010 09:40:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=RuuUdMzsnzCTR3pYHHxk0JW02/NEiGLJSPZqFk2CgXk=; b=OQAiZS67RIrz8gj68fQW1CsEzPlntBeTyIBqY3JLJnVt+DIHuud+TzJacNruy/d1P0 jbVdN25cRN45cBEUC0Qma0VYaqcSy/ZdcOqfDnyWLqabl/G1/ps3mbOXA4QtN5h64gAE bdQJwvcRZKffYTvHPUcdLlRVIewmBW4zByEAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Pyecn4SMqhd3+1gMjxL4x/EpkLe2A32COzGpakx47YUBa1WClC7aHMRZXg//r9W8vo troXydZWZQGo8kYffzX5jGhTTKkPakXGh14AjcMCUBU8BGAghJtfZ0sUzgUMCWzWx5u1 COVk8GdPiOG57lOJfZ+aPCKXktQNKfb0hJVU0= MIME-Version: 1.0 Received: by 10.216.60.203 with SMTP id u53mr5469745wec.36.1290447598961; Mon, 22 Nov 2010 09:39:58 -0800 (PST) Received: by 10.216.182.73 with HTTP; Mon, 22 Nov 2010 09:39:58 -0800 (PST) Date: Mon, 22 Nov 2010 11:39:58 -0600 Message-ID: Subject: Installation and run problems on Centos RHE From: Josh803316 To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=000e0ce0f792bd08c30495a7be41 X-Virus-Checked: Checked by ClamAV on apache.org --000e0ce0f792bd08c30495a7be41 Content-Type: text/plain; charset=ISO-8859-1 I tried following the steps here: http://wiki.apache.org/couchdb/Installing_on_RHEL5 but can not run couchdb using the init scripts, I can only run it successfully as root. Are there some permissions settings that I need to change, has anyone else run into this? My System: Linux localhost.localdomain 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:40 EST 2010 i686 i686 i386 GNU/Linux (Attempt to run as couchdb user via sudo) [test@localhost couchdb]# sudo -u couchdb couchdb {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: .. Function: read_file_info. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./beam_lib.beam. Function: get_file. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./file.beam. Function: get_file. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./ram_file.beam. Function: get_file. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./standard_error.beam. Function: get_file. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./supervisor_bridge.beam. Function: get_file. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./user_sup.beam. Function: get_file. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./user.beam. Function: get_file. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./kernel_config.beam. Function: get_file. Process: code_server."} {error_logger,{{2010,11,22},{9,25,42}},std_error,"File operation error: eacces. Target: ./queue.beam. Function: get_file. Process: code_server."} (As couchdb user) [root@localhost couchdb]# su - couchdb -bash-3.2$ couchdb Apache CouchDB 1.1.0a1037772 (LogLevel=info) is starting. =CRASH REPORT==== 22-Nov-2010::09:34:14 === crasher: initial call: couch_event_sup:init/1 pid: <0.79.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.31.0>] messages: [] links: [<0.78.0>,<0.6.0>] dictionary: [] trap_exit: false status: running heap_size: 233 stack_size: 24 reductions: 115 neighbours: =SUPERVISOR REPORT==== 22-Nov-2010::09:34:14 === 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}, {mfargs,{couch_log,start_link,[]}}, {restart_type,permanent}, {shutdown,brutal_kill}, {child_type,worker}] (As root) [root@localhost couchdb]# couchdb Apache CouchDB 1.1.0a1037772 (LogLevel=info) is starting. Apache CouchDB has started. Time to relax. [info] [<0.31.0>] Apache CouchDB has started on http://127.0.0.1:5984/ --000e0ce0f792bd08c30495a7be41--