Looking at this further my installation of Couchdb 1.2 is definitely hosed, 
When I try and build a view I get:

[Wed, 11 Apr 2012 08:56:22 GMT] [error] [<0.224.0>] OS Process Error <0.665.0> 
:: {os_process_error,
                                                   {exit_status,139}}
[Wed, 11 Apr 2012 08:56:22 GMT] [error] [<0.224.0>] OS Process Error <0.668.0> 
:: {os_process_error,
                                                   {exit_status,139}}
[Wed, 11 Apr 2012 08:56:22 GMT] [error] [<0.671.0>] OS Process died with 
status: 139
[Wed, 11 Apr 2012 08:56:22 GMT] [error] [<0.671.0>] ** Generic server <0.671.0> 
terminating
** Last message in was {#Port<0.2901>,{exit_status,139}}
** When Server state == {os_proc,"/usr/local/bin/couchjs 
/usr/local/share/couchdb/server/main.js",
                                 #Port<0.2901>,
                                 #Fun<couch_os_process.2.132569728>,
                                 #Fun<couch_os_process.3.35601548>,5000}
** Reason for termination ==
** {exit_status,139}

[Wed, 11 Apr 2012 08:56:22 GMT] [error] [<0.671.0>] {error_report,<0.32.0>,
                     {<0.671.0>,crash_report,
                      [[{initial_call,{couch_os_process,init,['Argument__1']}},
                        {pid,<0.671.0>},
                        {registered_name,[]},
                        {error_info,
                         {exit,
                          {exit_status,139},
                          [{gen_server,terminate,6},
                           {proc_lib,init_p_do_apply,3}]}},
                        {ancestors,
                         [couch_query_servers,couch_secondary_services,
                          couch_server_sup,<0.33.0>]},
                        {messages,
                         [{'$gen_call',
                           {<0.224.0>,#Ref<0.0.0.2757>},
                           {prompt,
                            [<<"reset">>,
                             {[{<<"reduce_limit">>,true},
                               {<<"timeout">>,5000}]}]}}]},
                        {links,[<0.119.0>]},
                        {dictionary,[]},
                        {trap_exit,false},
                        {status,running},
                        {heap_size,987},
                        {stack_size,24},
                        {reductions,796}],
                       []]}}
[Wed, 11 Apr 2012 08:56:22 GMT] [error] [<0.224.0>] OS Process Error <0.674.0> 
:: {os_process_error,
                                                   {exit_status,139}}

Googling around this seems to be related to couchdb javascript server and 
spider monkey, although I seem to have the correct version of spider monkey 
js-devel-1.70-8.el5.

Pre-req wise I used:

SpiderMonkey: js-devel-1.70-8.el5
Erlang: R13B04
CouchDb: apache-couchdb-1.2.0 (./configure 
--with-erlang=/usr/local/lib/erlang/erts-5.7.5/include --enable-js-trunk)

Does anyone have any idea if I done something wrong or is this a bug?

Thanks

Mike 


-----Original Message-----
From: Mike Kimber [mailto:[email protected]] 
Sent: 10 April 2012 16:44
To: [email protected]
Subject: Couchdb 1.2 installed on Centos 5.8 starts with File operation error 
and Test Suite fails

I have installed Couchdb 1.2 on Centos 5.8. However when I start it, it 
generates a bunch of errors like:

[Tue, 10 Apr 2012 15:25:49 GMT] [error] [<0.21.0>] {error_report,<0.9.0>,
                                 {<0.21.0>,std_error,
                                  "File operation error: eacces. Target: 
./couch_secondary_sup.beam. Function: get_file. Process: code_server."}}

Additionally when I try to run the test suite ort verify Installation these 
seem to fail with a similar set of errors.

However Futon works and I have been able to set up replication between this 
server and its pulled documents across

I'm assuming this is some form of permissions issue, but I've checked the file 
system permissions against our Couchdb 1.1.1 install and they seem to be the 
same.

Any help greatly appreciated!

Thanks

Mike

Reply via email to