Hi ,

I'm new to CouchDB and  have recently installed CouchDB 1.6.1 and 
CouchDB-lucene 1.1.0 on CentOS 6.9. Configured the local.ini and the 
couchdb-lucene .ini accordingly based on the general installation instructions.
Checked the service of couchdb status as running. Placed  the .couch, design 
files in /usr/local/var/lib/couchdb by exporting the files from another server 
(couch 1.3.0)
Made sure all the relevant file appropriate permissions are set to 'couchdb' 
for the user and group

Now running a curl call (as below for example) gives the connection failed 
error:

Curl -X GET 
http://username:password@hostname:5984/_fti/local/dbname/_design/lucene/all_fields?q=

Error: {"error":"error","reason":"{conn_failed,{error,econnrefused}}"}

Below are the messages from the log file:

/**************************************************************/
{os_process_error,{exit_status,127}}


{error_report,<0.30.0>,
                          {<0.17431.2721>,crash_report,
                           [[{initial_call,
                              {couch_os_process,init,['Argument__1']}},
                             {pid,<0.17431.2721>},
                             {registered_name,[]},
                             {error_info,
                              {exit,
                               {exit_status,127},
                               [{gen_server,terminate,6},
                                {proc_lib,init_p_do_apply,3}]}},
                             {ancestors,
                              [couch_query_servers,couch_secondary_services,
                               couch_server_sup,<0.31.0>]},
                             {messages,
                              [{'$gen_call',
                                {<0.13484.2534>,#Ref<0.0.1250.69553>},
                                {prompt,
                                 [<<"reset">>,
                                  {[{<<"reduce_limit">>,true},
                                    {<<"timeout">>,20000}]}]}}]},
                             {links,[<0.28151.2530>]},
                             {dictionary,[]},
                             {trap_exit,false},
                             {status,running},
                             {heap_size,987},
                             {stack_size,24},
                             {reductions,806}],
                            []]}}


OS Process died with status: 127
** Generic server <0.17431.2721> terminating
** Last message in was {#Port<0.59970138>,{exit_status,127}}
** When Server state == {os_proc,"/usr/local/bin/couchjs 
/usr/local/share/couchdb/server/main.js",
                                 #Port<0.59970138>,
                                 #Fun<couch_os_process.2.132569728>,
                                 #Fun<couch_os_process.3.35601548>,5000}
** Reason for termination ==
** {exit_status,127}

/********************************************************/

Also have noticed that the couchjs shortcut (pointing to the same at 
/usr/local/lib/couchdb/bin/)  at /usr/local/bin contains encrypted characters. 
Is there a possibility that this file is corrupted?
Appreciate any help regarding this error . Please let me know if I missed 
something or any further details are needed to understand the issue. Looking 
forward. Thank you for your time

Best,
Vimal



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to