couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh803316 <josh803...@gmail.com>
Subject Installation and run problems on Centos RHE
Date Mon, 22 Nov 2010 17:39:58 GMT
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/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message