Non-Running CouchDB Testsuite

Just updated my CouchDB install guide as I discovered a problem with the install. Mostly my own fault for not checking the testsuite immediately after I installed but when I came to do that today, after discovering that none of my views worked, and even a temporary view was causing the CPU load on the VM to shoot up, I found that the testsuite wouldn’t run at all and would just lock up the page with high VM CPU load. I found the solution via serverfault under the title “CouchDB 0.11 on Ubuntu 10.04”

So, the solution is basically to shutdown CouchDB, put you  version of xulrunner-devel on your LD_LIBRARY_PATH as follows:

    $ sudo touch /etc/ld.so.conf.d/couchdb.conf
    $ sudo cat > /etc/ld.so.conf.d/couchdb.conf
    /usr/lib/xulrunner-devel-1.9.2.6 (NB. Check the version that you have installed!)
    <CTRL-D>
    $ sudo ldconfig

Now restart CouchDB and run that darn test suite!

Posted
Views
Filed under: