Hi, all
I have follow the steps the install Couchdb and had success make it work on a
Centos 6.5 installation which is a my own server. However, when I follow the
same step to install the Couchdb on AliYun Centos server, Couchdb fail to
start. And following the wiki, I capture the required log as below? Would you
please help have a look and give some hints? Thanks in advance.
erl -env ERL_LIBS
$ERL_LIBS:/usr/local/Cellar/couchdb/1.3.x/lib/couchdb/erlang/lib -couch_ini
-init_debug -emu_args -smp auto +W i +v -s couch
Executing: /usr/lib64/erlang/erts-5.8.5/bin/beam.smp
/usr/lib64/erlang/erts-5.8.5/bin/beam.smp -W i -v -- -root /usr/lib64/erlang
-progname erl -- -home /home/bryne -- -couch_ini -init_debug -smp auto -s couch
warning: -v (only in debug compiled code)
{progress,preloaded}
{progress,kernel_load_completed}
{progress,modules_loaded}
{start,heart}
{start,error_logger}
{start,application_controller}
{progress,init_kernel_started}
{apply,{application,load,[{application,stdlib,[{description,"ERTS CXC 138
10"},{vsn,"1.17.5"},{id,[]},{modules,[array,base64,beam_lib,binary,c,calendar,dets,dets_server,dets_sup,dets_utils,dets_v8,dets_v9,dict,digraph,digraph_utils,edlin,edlin_expand,epp,eval_bits,erl_bits,erl_compile,erl_eval,erl_expand_records,erl_internal,erl_lint,erl_parse,erl_posix_msg,erl_pp,erl_scan,erl_tar,error_logger_file_h,error_logger_tty_h,escript,ets,file_sorter,filelib,filename,gb_trees,gb_sets,gen,gen_event,gen_fsm,gen_server,io,io_lib,io_lib_format,io_lib_fread,io_lib_pretty,lib,lists,log_mf_h,math,ms_transform,orddict,ordsets,otp_internal,pg,pool,proc_lib,proplists,qlc,qlc_pt,queue,random,re,regexp,sets,shell,shell_default,slave,sofs,string,supervisor,supervisor_bridge,sys,timer,unicode,win32reg,zip]},{registered,[timer_server,rsh_starter,take_over_monitor,pool_master,dets]},{applications,[kernel]},{included_applications,[]},{env,[]},{start_phases,undefined},{maxT,infinity},{maxP,infinity}]}]}}
{progress,applications_loaded}
{apply,{application,start_boot,[kernel,permanent]}}
{error_logger,{{2015,3,19},{11,38,40}},std_error,"File operation error: eacces.
Target: /lost+found/ebin. Function: read_file_info. Process: code_server."}
{error_logger,{{2015,3,19},{11,38,40}},std_error,"File operation error: eacces.
Target: /root/ebin. Function: read_file_info. Process: code_server."}
Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0]
[kernel-poll:false]
=ERROR REPORT==== 19-Mar-2015::11:38:40 ===
File operation error: eacces. Target: /lost+found/ebin. Function:
read_file_info. Process: code_server.
=ERROR REPORT==== 19-Mar-2015::11:38:40 ===
File operation error: eacces. Target: /root/ebin. Function: read_file_info.
Process: code_server.
{apply,{application,start_boot,[stdlib,permanent]}}
{apply,{c,erlangrc,[]}}
{progress,started}
{"init terminating in
do_boot",{undef,[{couch,start,[]},{init,start_it,1},{init,start_em,1}]}}
init terminating in do_boot ()