Hi Jan (and Noah),

I followed the steps in the troubleshooting page you linked to. I've copied my entire step-by-step process below, exactly as I did it. Bear in mind though that js/spidermonkey is not included in that - the logs suggest the error is in couchjs, but could that be affected by a bad spidermonkey install?

Anyway, here it is. I've also created a page on the wiki called InstallingOnRHEL4 which is the steps to get an apparently-working install like I've been doing and I believe Dennis Sacks has also done - he, however, has confirmed he doesn't get the same issues as me.

link: http://wiki.apache.org/couchdb/InstallingOnRHEL4

Also, note that this is an x86_64 system.

full installation steps:

# svn co http://svn.apache.org/repos/asf/incubator/couchdb/trunk couchdb-test
# cd couchdb-test
# ./bootstrap -C
# ./configure --prefix=/tmp/couchdb --with-js-lib=/usr/local/ spidermonkey/lib64 --with-js-include=/usr/local/spidermonkey/include
# make && make install
# vi /tmp/etc/couchdb/couchdb.ini (change binding from 127.0.0.1 to 0.0.0.0 for remote testing)
# /tmp/couchdb/bin/couchdb

output - futon utility "basics" test

• Exception raised:{"error":"error","reason":"{{nocatch, {map_process_error,{exit_status,127}}},\n [{couch_query_servers,readline,2},\n {couch_query_servers,read_json,1}, \n {couch_query_servers,start_doc_map,2},\n {couch_view,view_compute, 2},\n {couch_view,update_group,1},\n {couch_view,temp_update_loop, 2}]}","line":106,"sourceURL":"http://myserver.net:5984/_utils/script/couch.js "}

output - console for same test

[info] [<0.72.0>] Spawning new text/javascript instance.
/tmp/couchdb/lib/couchdb/bin/couchjs: symbol lookup error: /tmp/ couchdb/lib/couchdb/bin/couchjs: undefined symbol: js_fgets [error] [emulator] Error in process <0.72.0> with exit value: {{nocatch,{map_process_error,{exit_status,127}}}, [{couch_query_servers,readline,2},{couch_query_servers,read_json,1}, {couch_query_servers,start_doc_map,2},{couch_view,view_compute,2}, {couch_view,update_group,1},{couch_view...

=ERROR REPORT==== 2-May-2008::04:10:14 ===
Error in process <0.72.0> with exit value: {{nocatch, {map_process_error,{exit_status,127}}},[{couch_query_servers,readline, 2},{couch_query_servers,read_json,1}, {couch_query_servers,start_doc_map,2},{couch_view,view_compute,2}, {couch_view,update_group,1},{couch_view...

[info] [<0.56.0>] HTTP Error (code 500): {{nocatch,{map_process_error, {exit_status,127}}},
                        [{couch_query_servers,readline,2},
                         {couch_query_servers,read_json,1},
                         {couch_query_servers,start_doc_map,2},
                         {couch_view,view_compute,2},
                         {couch_view,update_group,1},
                         {couch_view,temp_update_loop,2}]}

thanks,

Sho


On 02/05/2008, at 12:29 AM, Jan Lehnardt wrote:

Heya Sho,
it's still confusing me that you keep getting those errors.

This one looks again a lot like your couchjs installation
is hosed. Maybe it got linked against a too old version
of libjs, or the linked shared library is not in the library
search path or so?

Can you see if
http://wiki.apache.org/couchdb/Troubleshooting
gets you any more infos?

Cheers
Jan
--

On May 1, 2008, at 10:03, Sho Fukamachi wrote:
Hi all,

I am getting errors running the test suite after a seemingly successful installation on RHEL4.

The errors occur in almost all tests, and the result usually looks something like this:

Exception raised:{"error":"error","reason":"{{nocatch, {map_process_error,{exit_status,127}}},\n [{couch_query_servers,readline,2},\n {couch_query_servers,read_json, 1},\n {couch_query_servers,start_doc_map,2},\n {couch_view,view_compute,2},\n {couch_view,update_group,1},\n {couch_view,temp_update_loop,2}]}","line":106,"sourceURL":"http://testserver.net:5984/_utils/script/couch.js "}

In the console log it looks like this:

info] [<0.1695.0>] 123.456.789.123 - - "GET /test_suite_db/ _all_docs" 200
[info] [<0.1706.0>] Spawning new text/javascript instance.
/usr/local/lib/couchdb/bin/couchjs: symbol lookup error: /usr/local/ lib/couchdb/bin/couchjs: undefined symbol: js_fgets [error] [emulator] Error in process <0.1706.0> with exit value: {{nocatch,{map_process_error,{exit_status,127}}}, [{couch_query_servers,readline,2},{couch_query_servers,read_json,1}, {couch_query_servers,start_doc_map,2},{couch_view,view_compute,2}, {couch_view,update_group,1},{couch_view...
=ERROR REPORT==== 1-May-2008::07:52:53 ===
Error in process <0.1706.0> with exit value: {{nocatch, {map_process_error,{exit_status,127}}}, [{couch_query_servers,readline,2},{couch_query_servers,read_json,1}, {couch_query_servers,start_doc_map,2},{couch_view,view_compute,2}, {couch_view,update_group,1},{couch_view...

[info] [<0.1695.0>] HTTP Error (code 500): {{nocatch, {map_process_error,{exit_status,127}}},
                      [{couch_query_servers,readline,2},
                       {couch_query_servers,read_json,1},
                       {couch_query_servers,start_doc_map,2},
                       {couch_view,view_compute,2},
                       {couch_view,update_group,1},
                       {couch_view,temp_update_loop,2}]}
[info] [<0.1695.0>] 123.456.789.123 - - "POST /test_suite_db/ _temp_view" 500

Any clues? I had many problems installing before but this is a clean install following the most recent CentOS4 instructions by Dennis Sacks (subject "building couch from svn") and my own (subject "can't install on RHEL4 anymore"). I can post full installation steps if it helps.

thanks,

Sho


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to