You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Andrew Melo <me...@fnal.gov> on 2009/06/25 21:49:50 UTC

Startup error

Hello All,

I've been working on getting a couchDB instance installed, and I've
run into a snag. My instance fails a number of tests. For instance,
the first test fails with:

{"error":"{bad_return_value,{os_process_error,{exit_status,127}}}","reason":"{gen_server,call,[couch_query_servers,{get_proc,<<\"javascript\">>}]}"}

The log shows:

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' / {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - - 'GET' / 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'DELETE'
/test_suite_db/ {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"0"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.202.0>] Shutting down view
group server, monitored db is closing.

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.194.0>] Shutting down view
group server, monitored db is closing.

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'DELETE' /test_suite_db/ 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.46.0>] Killing update
process for view group _temp_78V96QSU2TR22R46UFPKVVU16. in database
test_suite_db.

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.46.0>] Killing update
process for view group _temp_X5IS367DZO6NIO882WH9ZPCJ. in database
test_suite_db.

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'DELETE'
/test_suite_db/ {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"0"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] httpd 404 error response:
 {"error":"not_found","reason":"Missing"}


[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'DELETE' /test_suite_db/ 404

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/ {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"0"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/ 201

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/ {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"0"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] httpd 412 error response:
 {"error":"file_exists","reason":"The database could not be created,
the file already exists."}


[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/ 412

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/ {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'GET' /test_suite_db/ 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/ {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'GET' /test_suite_db/ 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/0 {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"23"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/0 201

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET'
/test_suite_db/0?revs_info=true {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'GET' /test_suite_db/0?revs_info=true 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/1 {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"23"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/1 201

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/2 {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"23"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/2 201

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/3 {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"24"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/3 201

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/ {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'GET' /test_suite_db/ 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'POST'
/test_suite_db/_temp_view {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Cache-Control',"no-cache"},
          {'Connection',"keep-alive"},
          {'Content-Length',"89"},
          {'Content-Type',"application/json; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Pragma',"no-cache"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.46.0>] Spawning new temp
update process for db test_suite_db.

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] request_group
{Pid, Seq} {<0.557.0>,4}

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'POST' /test_suite_db/_temp_view 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/0 {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'If-None-Match',"\"1-3096827934\""},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'GET' /test_suite_db/0 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/0 {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"44"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/0 201

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'POST'
/test_suite_db/_temp_view {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Cache-Control',"no-cache"},
          {'Connection',"keep-alive"},
          {'Content-Length',"89"},
          {'Content-Type',"application/json; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Pragma',"no-cache"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] request_group
{Pid, Seq} {<0.557.0>,5}

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'POST' /test_suite_db/_temp_view 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT'
/test_suite_db/03943b55051e2085550b6b095cbce521 {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"54"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/03943b55051e2085550b6b095cbce521 201

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT'
/test_suite_db/923d84c83e840048205b2cd95190f9ed {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Content-Length',"55"},
          {'Content-Type',"application/xml; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'PUT' /test_suite_db/923d84c83e840048205b2cd95190f9ed 201

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'POST'
/test_suite_db/_temp_view {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Cache-Control',"no-cache"},
          {'Connection',"keep-alive"},
          {'Content-Length',"89"},
          {'Content-Type',"application/json; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Pragma',"no-cache"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] request_group
{Pid, Seq} {<0.557.0>,7}

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'POST' /test_suite_db/_temp_view 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/ {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Connection',"keep-alive"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
'GET' /test_suite_db/ 200

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'POST'
/test_suite_db/_temp_view {1,1}
Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
          {'Accept-Encoding',"gzip,deflate"},
          {'Accept-Language',"en-us,en;q=0.5"},
          {'Cache-Control',"no-cache"},
          {'Connection',"keep-alive"},
          {'Content-Length',"148"},
          {'Content-Type',"application/json; charset=UTF-8"},
          {'Host',"cmssrv48.fnal.gov:5984"},
          {'Keep-Alive',"300"},
          {'Pragma',"no-cache"},
          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.46.0>] Spawning new temp
update process for db test_suite_db.

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] request_group
{Pid, Seq} {<0.565.0>,7}

[Thu, 25 Jun 2009 19:48:48 GMT] [error] [<0.559.0>] ** Generic server
<0.559.0> terminating
** Last message in was {prompt,[<<"reset">>]}
** When Server state ==
{os_proc,"/usr/local/couchdb/apache-couchdb-0.9.0/bin/couchjs
/usr/local/couchdb/apache-couchdb-0.9.0/share/couchdb/server/main.js",
                                 #Port<0.1106>,
                                 #Fun<couch_os_process.0.126981527>,
                                 #Fun<couch_os_process.1.97144965>,5000}
** Reason for termination ==
** {bad_return_value,{os_process_error,{exit_status,127}}}


[Thu, 25 Jun 2009 19:48:48 GMT] [error] [<0.559.0>] {error_report,<0.23.0>,
    {<0.559.0>,crash_report,
     [[{initial_call,{couch_os_process,init,['Argument__1']}},
       {pid,<0.559.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {bad_return_value,{os_process_error,{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.1.0>]},
       {messages,[]},
       {links,[<0.204.0>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,610},
       {stack_size,24},
       {reductions,2963}],
      [{neighbour,
           [{pid,<0.204.0>},
            {registered_name,couch_query_servers},
            {initial_call,{couch_query_servers,init,['Argument__1']}},
            {current_function,{gen,wait_resp_mon,3}},
            {ancestors,[couch_secondary_services,couch_server_sup,<0.1.0>]},
            {messages,[]},
            {links,[<0.45.0>,<0.559.0>]},
            {dictionary,[]},
            {trap_exit,false},
            {status,waiting},
            {heap_size,987},
            {stack_size,26},
            {reductions,2401}]}]]}}

[Thu, 25 Jun 2009 19:48:48 GMT] [error] [<0.178.0>] Uncaught error in
HTTP request: {exit,
                                 {{bad_return_value,
                                   {os_process_error,{exit_status,127}}},
                                  {gen_server,call,
                                   [couch_query_servers,
                                    {get_proc,<<"javascript">>}]}}}

[Thu, 25 Jun 2009 19:48:48 GMT] [error] [<0.45.0>] {error_report,<0.23.0>,
    {<0.45.0>,supervisor_report,
     [{supervisor,{local,couch_secondary_services}},
      {errorContext,child_terminated},
      {reason,{bad_return_value,{os_process_error,{exit_status,127}}}},
      {offender,
          [{pid,<0.204.0>},
           {name,query_servers},
           {mfa,{couch_query_servers,start_link,[]}},
           {restart_type,permanent},
           {shutdown,brutal_kill},
           {child_type,worker}]}]}}

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] Stacktrace:
[{gen_server,call,2},
             {couch_query_servers,reduce,3},
             {couch_view_group,'-init_group/4-fun-0-',4},
             {couch_btree,final_reduce,2},
             {couch_view,'-fold_reduce/7-fun-0-',5},
             {couch_btree,fold_reduce,7},
             {couch_httpd_view,'-output_reduce_view/5-fun-0-',12},
             {couch_httpd_db,do_db_req,2}]

[Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] httpd 500 error response:
 {"error":"{bad_return_value,{os_process_error,{exit_status,127}}}","reason":"{gen_server,call,[couch_query_servers,{get_proc,<<\"javascript\">>}]}"}


Any suggestions?

Thanks!
Andrew





--
Andrew Melo
Andrew.Melo@gmail.com

Re: Startup error

Posted by Noah Slater <ns...@apache.org>.
On Fri, Jun 26, 2009 at 01:59:44PM -0500, Andrew Melo wrote:
> I'm going to try and check with the spidermonkey people to see about getting
> it fixed in the libraries.

Try out irc://irc.mozilla.org/jsapi for friendly help.

Mention your working with CouchDB, they're generally very helpful!

Best,

-- 
Noah Slater, http://tumbolia.org/nslater

Re: Startup error

Posted by Andrew Melo <me...@fnal.gov>.
Noah,

I've hunted down the bug, and it stems from a problem in spidermonkey.
Depending on the architecture/compiler, spidermonkey overrides some
bit fiddling operations with builtins. Unfortunately, the logic is
wrong and it tries to override the code with a non-existent builtin.
Lines 108-117 were the culprits in jsbit.h. By commenting out the
#defines, I was able to get the test suite to run successfully. Before
I started romping through spidermonkey, I updated couch to the svn
trunk, but I was still getting the same error. I'm going to try and
check with the spidermonkey people to see about getting it fixed in
the libraries.

thanks for your help,
Andrwe

--
Andrew Melo
Andrew.Melo@gmail.com



On Thu, Jun 25, 2009 at 5:55 PM, Noah Slater<ns...@apache.org> wrote:
> On Thu, Jun 25, 2009 at 05:52:22PM -0500, Andrew Melo wrote:
>> This may not be the best forum for this, but how can you force erlang
>> to compile in 32bit?
>
> I'm not sure, sorry.
>
> The #erlang channel on Freenode has been helpful to me in the past though.
>
> Might want to ask in there?
>
> If you figure it out, could you update the error messages page on the wiki?
>
> Thanks,
>
> --
> Noah Slater, http://tumbolia.org/nslater
>

Re: Startup error

Posted by Noah Slater <ns...@apache.org>.
On Thu, Jun 25, 2009 at 05:52:22PM -0500, Andrew Melo wrote:
> This may not be the best forum for this, but how can you force erlang
> to compile in 32bit?

I'm not sure, sorry.

The #erlang channel on Freenode has been helpful to me in the past though.

Might want to ask in there?

If you figure it out, could you update the error messages page on the wiki?

Thanks,

-- 
Noah Slater, http://tumbolia.org/nslater

Re: Startup error

Posted by Andrew Melo <an...@gmail.com>.
Noah,

> Over the last few years I have found that 90% of all problems reported can be
> fixed by advising people to build a new version of CouchDB from SVN, and maybe
> compiling the most recent version of Erlang in 32 bit.

This may not be the best forum for this, but how can you force erlang
to compile in 32bit? The configuration line:

./configure --prefix=/usr/local/couchdb/apache-couchdb-0.9.0/erlang-32bit/
--enable-64bit-libs=no --disable-64bit --disable-m64-build

produces this (after make, etc..)

bash-3.00$ ./erl
Erlang R13B01 (erts-5.7.2) [source] [64-bit] [smp:8:8] [rq:8]
[async-threads:0] [hipe] [kernel-poll:false]


thanks,
Andrew


> Fortunately, Erlang is pretty easy to compile into a temporary directory, and
> it's easy to get a temporary CouchDB installation running against this. That
> way, you avoid having to change anything important on your system.
>
> Best,
>
> --
> Noah Slater, http://tumbolia.org/nslater
>

Re: Startup error

Posted by Andrew Melo <an...@gmail.com>.
On Thu, Jun 25, 2009 at 4:25 PM, Noah Slater<ns...@apache.org> wrote:
> Hey,
>
> Sorry for not addressing your problems more directly.
>
> Over the last few years I have found that 90% of all problems reported can be
> fixed by advising people to build a new version of CouchDB from SVN, and maybe
> compiling the most recent version of Erlang in 32 bit.

thanks, Noah. I will first try the SVN version of couch, and if that
doesn't work, I'll try compiling erlang for 32 bits.

Regards,
Andrew

Re: Startup error

Posted by Noah Slater <ns...@apache.org>.
Hey,

Sorry for not addressing your problems more directly.

Over the last few years I have found that 90% of all problems reported can be
fixed by advising people to build a new version of CouchDB from SVN, and maybe
compiling the most recent version of Erlang in 32 bit.

Fortunately, Erlang is pretty easy to compile into a temporary directory, and
it's easy to get a temporary CouchDB installation running against this. That
way, you avoid having to change anything important on your system.

Best,

-- 
Noah Slater, http://tumbolia.org/nslater

Re: Startup error

Posted by Andrew Melo <an...@gmail.com>.
On Thu, Jun 25, 2009 at 4:08 PM, Noah Slater<ns...@apache.org> wrote:
> The following might be helpful:
>
>  http://wiki.apache.org/couchdb/Troubleshooting
>
> Sometimes the first couple of steps eliminate the problem entirely.

I'll give that a look. I installed from the tarballs and not the SVN,
so the boostrap script isn't there. I'm already installing couchdb +
spidermonkey to a local directory (I don't have root on this machine).
Should I rebuild from the SVN?


>> I've looked up __clzdi2 and it seems like there is some sort of
>> incompatibility with x86_64
>
> There might be some useful stuff here:
>
>  http://wiki.apache.org/couchdb/Error_messages
>
> Particularly the bit about not building Erlang as 64 bit.

We just used the erlang RPM that installed via yum. The 64 bit issue
seems to be for OSX instances that crash at startup, which I do
neither. I could build erlang from scratch, but I'd rather not to
since we have other services that are using it which are working fine.

I went through the ./configure && make clean && make && make install
treadmill on both libjs and couchdb, but to no avail.

thanks for your help,
Anderw

Re: Startup error

Posted by Noah Slater <ns...@apache.org>.
On Thu, Jun 25, 2009 at 04:05:21PM -0500, Andrew Melo wrote:
> Sorry to reply to myself, but I have some more information.

The following might be helpful:

  http://wiki.apache.org/couchdb/Troubleshooting

Sometimes the first couple of steps eliminate the problem entirely.

> I've looked up __clzdi2 and it seems like there is some sort of
> incompatibility with x86_64

There might be some useful stuff here:

  http://wiki.apache.org/couchdb/Error_messages

Particularly the bit about not building Erlang as 64 bit.

Best,

-- 
Noah Slater, http://tumbolia.org/nslater

Re: Startup error

Posted by Andrew Melo <me...@fnal.gov>.
Sorry to reply to myself, but I have some more information.

When running directly via the command line with the debug log enabled,
I get the following error before things get pearshaped

/usr/local/couchdb/apache-couchdb-0.9.0/lib/couchdb/bin/couchjs:
symbol lookup error:
/usr/local/couchdb/apache-couchdb-0.9.0/lib64/libjs.so: undefined
symbol: __clzdi2

I've looked up __clzdi2 and it seems like there is some sort of
incompatibility with x86_64

I'm running:
bash-3.00$ uname -a
Linux cmssrv48.fnal.gov 2.6.9-78.0.17.ELsmp #1 SMP Thu Mar 12 12:05:34
CDT 2009 x86_64 x86_64 x86_64 GNU/Linux

spidermonkey 1.8 and apache-couchdb-0.9.0

Any help would be greatly appreciated.

Thanks,
Andrew



--
Andrew Melo
Andrew.Melo@gmail.com



On Thu, Jun 25, 2009 at 2:49 PM, Andrew Melo<me...@fnal.gov> wrote:
> Hello All,
>
> I've been working on getting a couchDB instance installed, and I've
> run into a snag. My instance fails a number of tests. For instance,
> the first test fails with:
>
> {"error":"{bad_return_value,{os_process_error,{exit_status,127}}}","reason":"{gen_server,call,[couch_query_servers,{get_proc,<<\"javascript\">>}]}"}
>
> The log shows:
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' / {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - - 'GET' / 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'DELETE'
> /test_suite_db/ {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"0"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.202.0>] Shutting down view
> group server, monitored db is closing.
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.194.0>] Shutting down view
> group server, monitored db is closing.
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'DELETE' /test_suite_db/ 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.46.0>] Killing update
> process for view group _temp_78V96QSU2TR22R46UFPKVVU16. in database
> test_suite_db.
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.46.0>] Killing update
> process for view group _temp_X5IS367DZO6NIO882WH9ZPCJ. in database
> test_suite_db.
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'DELETE'
> /test_suite_db/ {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"0"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] httpd 404 error response:
>  {"error":"not_found","reason":"Missing"}
>
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'DELETE' /test_suite_db/ 404
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/ {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"0"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/ 201
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/ {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"0"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] httpd 412 error response:
>  {"error":"file_exists","reason":"The database could not be created,
> the file already exists."}
>
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/ 412
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/ {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'GET' /test_suite_db/ 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/ {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'GET' /test_suite_db/ 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/0 {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"23"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/0 201
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET'
> /test_suite_db/0?revs_info=true {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'GET' /test_suite_db/0?revs_info=true 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/1 {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"23"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/1 201
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/2 {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"23"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/2 201
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/3 {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"24"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/3 201
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/ {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'GET' /test_suite_db/ 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'POST'
> /test_suite_db/_temp_view {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Cache-Control',"no-cache"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"89"},
>          {'Content-Type',"application/json; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Pragma',"no-cache"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.46.0>] Spawning new temp
> update process for db test_suite_db.
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] request_group
> {Pid, Seq} {<0.557.0>,4}
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'POST' /test_suite_db/_temp_view 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/0 {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'If-None-Match',"\"1-3096827934\""},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'GET' /test_suite_db/0 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT' /test_suite_db/0 {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"44"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/0 201
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'POST'
> /test_suite_db/_temp_view {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Cache-Control',"no-cache"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"89"},
>          {'Content-Type',"application/json; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Pragma',"no-cache"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] request_group
> {Pid, Seq} {<0.557.0>,5}
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'POST' /test_suite_db/_temp_view 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT'
> /test_suite_db/03943b55051e2085550b6b095cbce521 {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"54"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/03943b55051e2085550b6b095cbce521 201
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'PUT'
> /test_suite_db/923d84c83e840048205b2cd95190f9ed {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"55"},
>          {'Content-Type',"application/xml; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'PUT' /test_suite_db/923d84c83e840048205b2cd95190f9ed 201
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'POST'
> /test_suite_db/_temp_view {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Cache-Control',"no-cache"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"89"},
>          {'Content-Type',"application/json; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Pragma',"no-cache"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] request_group
> {Pid, Seq} {<0.557.0>,7}
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'POST' /test_suite_db/_temp_view 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'GET' /test_suite_db/ {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Connection',"keep-alive"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [info] [<0.178.0>] 131.225.56.70 - -
> 'GET' /test_suite_db/ 200
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] 'POST'
> /test_suite_db/_temp_view {1,1}
> Headers: [{'Accept',"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
>          {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.7"},
>          {'Accept-Encoding',"gzip,deflate"},
>          {'Accept-Language',"en-us,en;q=0.5"},
>          {'Cache-Control',"no-cache"},
>          {'Connection',"keep-alive"},
>          {'Content-Length',"148"},
>          {'Content-Type',"application/json; charset=UTF-8"},
>          {'Host',"cmssrv48.fnal.gov:5984"},
>          {'Keep-Alive',"300"},
>          {'Pragma',"no-cache"},
>          {'Referer',"http://cmssrv48.fnal.gov:5984/_utils/couch_tests.html?script/couch_tests.js"},
>          {'User-Agent',"Mozilla/5.0 (X11; U; Linux i686; en-US;
> rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11"}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.46.0>] Spawning new temp
> update process for db test_suite_db.
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] request_group
> {Pid, Seq} {<0.565.0>,7}
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [error] [<0.559.0>] ** Generic server
> <0.559.0> terminating
> ** Last message in was {prompt,[<<"reset">>]}
> ** When Server state ==
> {os_proc,"/usr/local/couchdb/apache-couchdb-0.9.0/bin/couchjs
> /usr/local/couchdb/apache-couchdb-0.9.0/share/couchdb/server/main.js",
>                                 #Port<0.1106>,
>                                 #Fun<couch_os_process.0.126981527>,
>                                 #Fun<couch_os_process.1.97144965>,5000}
> ** Reason for termination ==
> ** {bad_return_value,{os_process_error,{exit_status,127}}}
>
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [error] [<0.559.0>] {error_report,<0.23.0>,
>    {<0.559.0>,crash_report,
>     [[{initial_call,{couch_os_process,init,['Argument__1']}},
>       {pid,<0.559.0>},
>       {registered_name,[]},
>       {error_info,
>           {exit,
>               {bad_return_value,{os_process_error,{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.1.0>]},
>       {messages,[]},
>       {links,[<0.204.0>]},
>       {dictionary,[]},
>       {trap_exit,false},
>       {status,running},
>       {heap_size,610},
>       {stack_size,24},
>       {reductions,2963}],
>      [{neighbour,
>           [{pid,<0.204.0>},
>            {registered_name,couch_query_servers},
>            {initial_call,{couch_query_servers,init,['Argument__1']}},
>            {current_function,{gen,wait_resp_mon,3}},
>            {ancestors,[couch_secondary_services,couch_server_sup,<0.1.0>]},
>            {messages,[]},
>            {links,[<0.45.0>,<0.559.0>]},
>            {dictionary,[]},
>            {trap_exit,false},
>            {status,waiting},
>            {heap_size,987},
>            {stack_size,26},
>            {reductions,2401}]}]]}}
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [error] [<0.178.0>] Uncaught error in
> HTTP request: {exit,
>                                 {{bad_return_value,
>                                   {os_process_error,{exit_status,127}}},
>                                  {gen_server,call,
>                                   [couch_query_servers,
>                                    {get_proc,<<"javascript">>}]}}}
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [error] [<0.45.0>] {error_report,<0.23.0>,
>    {<0.45.0>,supervisor_report,
>     [{supervisor,{local,couch_secondary_services}},
>      {errorContext,child_terminated},
>      {reason,{bad_return_value,{os_process_error,{exit_status,127}}}},
>      {offender,
>          [{pid,<0.204.0>},
>           {name,query_servers},
>           {mfa,{couch_query_servers,start_link,[]}},
>           {restart_type,permanent},
>           {shutdown,brutal_kill},
>           {child_type,worker}]}]}}
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] Stacktrace:
> [{gen_server,call,2},
>             {couch_query_servers,reduce,3},
>             {couch_view_group,'-init_group/4-fun-0-',4},
>             {couch_btree,final_reduce,2},
>             {couch_view,'-fold_reduce/7-fun-0-',5},
>             {couch_btree,fold_reduce,7},
>             {couch_httpd_view,'-output_reduce_view/5-fun-0-',12},
>             {couch_httpd_db,do_db_req,2}]
>
> [Thu, 25 Jun 2009 19:48:48 GMT] [debug] [<0.178.0>] httpd 500 error response:
>  {"error":"{bad_return_value,{os_process_error,{exit_status,127}}}","reason":"{gen_server,call,[couch_query_servers,{get_proc,<<\"javascript\">>}]}"}
>
>
> Any suggestions?
>
> Thanks!
> Andrew
>
>
>
>
>
> --
> Andrew Melo
> Andrew.Melo@gmail.com
>