You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Wolfgang Egger <wo...@sixt.de> on 2010/07/16 13:18:31 UTC

couchdb 1.0.0 with ubuntu 10.4

Servus  
I'm not able to get couchdb 1.0.0 running correct under ubuntu 10.4.

While installing I got an error bout a missing package mozjs that I'm ignoring
(after reading some Web-Articles about that).

The couchdb is running, but ma testapp that runs with couchdb 0.10.0 doesnt.
A View-Request doesnt get any answer.

The reasn for me to change the couchdb-version was only the wish to have jquery
1.4 runing. So my question is:
Is ist possible to change the content of /_utils/script/jquery to "update" tp
jquery 1.4.2

Second Question: did anyone have installed couchdb 1.0.0 on ubuntu 10.4 without
errors

Wolfgang 


Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Wolfgang Egger <wo...@sixt.de>.
Wolfgang Egger <wo...@...> writes:

> 
> Servus  
> I'm not able to get couchdb 1.0.0 running correct under ubuntu 10.4.
[...]
> The couchdb is running, but ma testapp that runs with couchdb 0.10.0 doesnt.
> A View-Request doesnt get any answer.

I have forgotten to write, that the Tests under futon do not run. Allready the
basic - test is not terminating ......


Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Volker Mische <vo...@gmail.com>.
On 16.07.2010 14:31, Michael wrote:
> On Fri, Jul 16, 2010 at 8:14 AM, Volker Mische<vo...@gmail.com>wrote:
>
>> Servus Wolfgang,
>>
>>
>> On 07/16/2010 01:18 PM, Wolfgang Egger wrote:
>>
>>> Servus
>>> I'm not able to get couchdb 1.0.0 running correct under ubuntu 10.4.
>>>
>>> While installing I got an error bout a missing package mozjs that I'm
>>> ignoring
>>> (after reading some Web-Articles about that).
>>>
>>
>> You shouldn't ignore that error. Have a look at the "Installing on Ubuntu"
>> wiki page [1]. What you probably need it while ./configure is:
>> ./configure --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib
>> --with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include
>>
>> I suggest running it without installing it first. Do a "make dev" and then
>> a:
>> LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.6 ./utils/run
>>
>> Now try to run the test suite in Futon.
>>
>> In case you have a not recently updated Ubuntu 10.4 use "xulrunner-1.9.2.3"
>> instead.
>>
>> [1] http://wiki.apache.org/couchdb/Installing_on_Ubuntu
>>
>> Cheers,
>>   Volker
>>
>
> Volker;
>
> Have you gotten CouchDB running on 10.4? I too spent most of yesterday
> trying to get couch installed right and have the same issues as Wolfgang.
> Couchdb installs (without errors, I did put in the xulrunner jslib) and when
> I start it there is no response. I just tried the make dev version and
> still, same thing, no luck.
>
> The logs files have been created, but there is nothing in them. I have in
> the root's home directory couchdb.stderr and couchdb.stdout. There is
> nothing in stdout, but stderr has:
>
> heart_beat_kill_pid = 22247
> heart_beat_timeout = 11
>
> Really stumped on this. I had every intention yesterday of getting this
> installed and creating a .deb package, but now I will just be happy to get
> it properly running.
>
> Any guesses?
>
> Thanks,
>
> Michael
>
Hi Micheal,

yes I have 1.0 installed on 10.4, though only on an outdated one (with 
xulrunner 19.2.3), and I have already helped a lot of people to get it 
run. So it should really work.

Try again to run it with ./utils/run, but set the log level to "debug" 
(in the couchsrcdir/etc/couchdb/local_dev.ini). And paste the output to 
some pastebin and post a link. BTW: the CouchDB IRC channel is also very 
helpful.

Cheers,
   Volker


Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Fidel Viegas <fi...@gmail.com>.
Ok,

I have installed all the erlang dependencies and still get the same
error while running the first two tests:

Exception raised: {"message":"JSON.parse: Unable to parse value: "}

I checked the logs, but nothing there.

Here is an extract of the last 100 lines of my log file:

-------------- begin extract -------------------------
root@couchdb:~# tail -n 100 /var/log/couchdb/couch.log
[Fri, 16 Jul 2010 21:38:07 GMT] [info] [<0.164.0>] 192.168.13.1 - - 'GET' / 200

[Fri, 16 Jul 2010 21:38:07 GMT] [info] [<0.162.0>] 192.168.13.1 - -
'GET' /_users/ 200

[Fri, 16 Jul 2010 21:38:10 GMT] [info] [<0.165.0>] 192.168.13.1 - -
'GET' /_session 200

[Fri, 16 Jul 2010 21:38:10 GMT] [info] [<0.170.0>] 192.168.13.1 - - 'GET' / 200

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.165.0>] 192.168.13.1 - -
'GET' /_session 200

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.170.0>] 192.168.13.1 - - 'GET' / 200

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.171.0>] 192.168.13.1 - -
'DELETE' /test_suite_db/ 404

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.175.0>] 192.168.13.1 - -
'DELETE' /test_suite_db/ 404

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.176.0>] 192.168.13.1 - -
'PUT' /test_suite_db/ 201

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.177.0>] 192.168.13.1 - -
'PUT' /test_suite_db/ 412

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.185.0>] 192.168.13.1 - -
'DELETE' /test_suite_db 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.186.0>] 192.168.13.1 - -
'PUT' /test_suite_db 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.188.0>] 192.168.13.1 - -
'DELETE' /test_suite_db%2Fwith_slashes 404

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
'PUT' /test_suite_db%2Fwith_slashes 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
'GET' /_all_dbs 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
'PUT' /test_suite_db/0 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
'GET' /test_suite_db/0?revs_info=true 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
'GET' /test_suite_db/0?local_seq=true 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.205.0>] 192.168.13.1 - -
'PUT' /test_suite_db/1 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.206.0>] 192.168.13.1 - -
'PUT' /test_suite_db/2 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.207.0>] 192.168.13.1 - -
'PUT' /test_suite_db/3 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.207.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 1 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 4 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.208.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.208.0>] 192.168.13.1 - -
'GET' /test_suite_db/0 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.209.0>] 192.168.13.1 - -
'PUT' /test_suite_db/0 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 5 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.222.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.222.0>] 192.168.13.1 - -
'GET' /_uuids?count=101 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.223.0>] 192.168.13.1 - -
'PUT' /test_suite_db/bd9bc2e25449d62efa0d1fcc63034e18 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.229.0>] 192.168.13.1 - -
'PUT' /test_suite_db/bd9bc2e25449d62efa0d1fcc63034549 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 6 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 7 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.230.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.230.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.238.0>] checkpointing view
update at seq 2 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.238.0>] checkpointing view
update at seq 7 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.231.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.237.0>] 192.168.13.1 - -
'DELETE' /test_suite_db/0?rev=2-f11d7cac727db1834815181e355127f6 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.237.0>] 192.168.13.1 - -
'GET' /test_suite_db/0 404

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 8 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
'GET' /test_suite_db/0?rev=3-cac36b6fd7e2c7347b3147626c8cfdaf 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.249.0>] 192.168.13.1 - -
'POST' /test_suite_db/_ensure_full_commit 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.255.0>] 192.168.13.1 - -
'POST' /_restart 200

[Fri, 16 Jul 2010 21:38:24 GMT] [info] [<0.289.0>] Apache CouchDB has
started on http://0.0.0.0:5984/
------------- end extract ----------------------------------------

On 7/16/10, afters <af...@gmail.com> wrote:
> FYI, I've just successfully tested these instructions with 1.0.0. I only
> added some missing permissions-handling that failed some tests - they were
> missing for 0.11.0 too.
>
>  a.
>
> On 16 July 2010 17:54, afters <af...@gmail.com> wrote:
>
>> np, I'm glad to help.
>>
>> If you're doing a deb package (which would be great), you may be missing a
>> couple of dependencies. I have installed 0.11 on a very minimal Ubuntu
>> (that
>> contains very few packages, much less than a clean install), and put the
>> instructions at the second example here:
>>
>>   http://wiki.apache.org/couchdb/Installing_on_Ubuntu
>>
>> A couple of notes:
>> I tried to avoid unessential packages, and so dropped the 'xulrunner-dev'
>> package that has lots of dependencies, and instead installed the
>> Spider-monkey js-engine from source. Nevertheless, 'xulrunner-dev' would
>> be
>> just fine.
>> Also, the 'erlang' package has lots of dependenies. It'd be interesting to
>> know what exactly is needed for couchdb to operate.
>>
>>  a.
>>
>> On 16 July 2010 17:22, Michael <ne...@gmail.com> wrote:
>>
>>>
>>> I owe you. Thanks. Here I assumed erlang-dev would have brought the
>>> regular
>>> erlang libraries as dependancies. Wow, I spent way too long on that.
>>>
>>> For the record, all I needed was* apt-get install erlang* to get these.
>>>
>>> From a clean ubuntu install the dependancies to build from source are:
>>> libicu-dev
>>> curl
>>> libcurl4-opensll-dev
>>> erlang-dev
>>> erlang
>>>
>>> Would there be interest in an unofficial .deb file?
>>>
>>> Thanks a,
>>>
>>> Michael
>>>
>>
>>
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Fidel Viegas <fi...@gmail.com>.
Hi Afters,

I have followed the same instructions you did, but unfortunately I
cannot get my tests to pass. It installs ok, it creates the databases,
the documents, but I get a very weird problem saying that it cannot
read the json format. I managed to get it to work once, but it hanged
during file uploads tests. I am still working with 0.11 as I managed
to install it without any problems. I will look into it during the
week and see if I can get it solved.

Thanks for the feedback.

Regards,

Fidel.


On 7/17/10, afters <af...@gmail.com> wrote:
> Fidel,
>
> Maybe your config files don't have the right permissions? See the
> installation instructions.
> If that doesn't work, I suggest you re-post your question in its own thread.
> It's possible that only Ubuntu users read this one.
>
>  a.
>
> On 17 July 2010 00:48, Fidel Viegas <fi...@gmail.com> wrote:
>
>> Ok,
>>
>> I have installed all the erlang dependencies and still get the same
>> error while running the first two tests:
>>
>> Exception raised: {"message":"JSON.parse: Unable to parse value: "}
>>
>> I checked the logs, but nothing there.
>>
>> Here is an extract of the last 100 lines of my log file:
>>
>> -------------- begin extract -------------------------
>> root@couchdb:~# tail -n 100 /var/log/couchdb/couch.log
>> [Fri, 16 Jul 2010 21:38:07 GMT] [info] [<0.164.0>] 192.168.13.1 - - 'GET'
>> /
>> 200
>>
>> [Fri, 16 Jul 2010 21:38:07 GMT] [info] [<0.162.0>] 192.168.13.1 - -
>> 'GET' /_users/ 200
>>
>> [Fri, 16 Jul 2010 21:38:10 GMT] [info] [<0.165.0>] 192.168.13.1 - -
>> 'GET' /_session 200
>>
>> [Fri, 16 Jul 2010 21:38:10 GMT] [info] [<0.170.0>] 192.168.13.1 - - 'GET'
>> /
>> 200
>>
>> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.165.0>] 192.168.13.1 - -
>> 'GET' /_session 200
>>
>> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.170.0>] 192.168.13.1 - - 'GET'
>> /
>> 200
>>
>> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.171.0>] 192.168.13.1 - -
>> 'DELETE' /test_suite_db/ 404
>>
>> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.175.0>] 192.168.13.1 - -
>> 'DELETE' /test_suite_db/ 404
>>
>> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.176.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/ 201
>>
>> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.177.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/ 412
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.185.0>] 192.168.13.1 - -
>> 'DELETE' /test_suite_db 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.186.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.188.0>] 192.168.13.1 - -
>> 'DELETE' /test_suite_db%2Fwith_slashes 404
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db%2Fwith_slashes 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/ 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
>> 'GET' /_all_dbs 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/ 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/0 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/0?revs_info=true 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/0?local_seq=true 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.205.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/1 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.206.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/2 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.207.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/3 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.207.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/ 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
>> update at seq 1 for test_suite_db _temp
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
>> update at seq 4 for test_suite_db _temp
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.208.0>] 192.168.13.1 - -
>> 'POST' /test_suite_db/_temp_view 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.208.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/0 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.209.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/0 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
>> update at seq 5 for test_suite_db _temp
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.222.0>] 192.168.13.1 - -
>> 'POST' /test_suite_db/_temp_view 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.222.0>] 192.168.13.1 - -
>> 'GET' /_uuids?count=101 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.223.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/bd9bc2e25449d62efa0d1fcc63034e18 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.229.0>] 192.168.13.1 - -
>> 'PUT' /test_suite_db/bd9bc2e25449d62efa0d1fcc63034549 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
>> update at seq 6 for test_suite_db _temp
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
>> update at seq 7 for test_suite_db _temp
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.230.0>] 192.168.13.1 - -
>> 'POST' /test_suite_db/_temp_view 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.230.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/ 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.238.0>] checkpointing view
>> update at seq 2 for test_suite_db _temp
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.238.0>] checkpointing view
>> update at seq 7 for test_suite_db _temp
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.231.0>] 192.168.13.1 - -
>> 'POST' /test_suite_db/_temp_view 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.237.0>] 192.168.13.1 - -
>> 'DELETE' /test_suite_db/0?rev=2-f11d7cac727db1834815181e355127f6 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.237.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/0 404
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
>> update at seq 8 for test_suite_db _temp
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
>> 'POST' /test_suite_db/_temp_view 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/ 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
>> 'GET' /test_suite_db/0?rev=3-cac36b6fd7e2c7347b3147626c8cfdaf 200
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.249.0>] 192.168.13.1 - -
>> 'POST' /test_suite_db/_ensure_full_commit 201
>>
>> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.255.0>] 192.168.13.1 - -
>> 'POST' /_restart 200
>>
>> [Fri, 16 Jul 2010 21:38:24 GMT] [info] [<0.289.0>] Apache CouchDB has
>> started on http://0.0.0.0:5984/
>> ------------- end extract ----------------------------------------
>>
>> When I try to set the login credentials, I get the following error:
>>
>> ----------------------- begin error ----------------------------
>> [Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.334.0>] ** Generic server
>> couch_config terminating
>> ** Last message in was {set,"admins","admin","admin",true}
>> ** When Server state == {config,[{<0.335.0>,#Fun<couch_config.2.4103357>},
>>                                 {<0.362.0>,#Fun<couch_config.2.4103357>},
>>                                 {<0.355.0>,#Fun<couch_config.3.18912695>},
>>                                 {<0.355.0>,#Fun<couch_config.3.18912695>},
>>                                 {<0.353.0>,#Fun<couch_config.2.4103357>},
>>                                 {<0.350.0>,#Fun<couch_config.2.4103357>},
>>                                 {<0.349.0>,#Fun<couch_config.2.4103357>},
>>                                 {<0.349.0>,#Fun<couch_config.2.4103357>},
>>                                 {<0.347.0>,#Fun<couch_config.3.18912695>},
>>                                 {<0.346.0>,#Fun<couch_config.2.4103357>},
>>                                 {<0.344.0>,#Fun<couch_config.2.4103357>},
>>                                 {false,#Fun<couch_server.3.123842465>},
>>                                 {<0.341.0>,#Fun<couch_config.3.18912695>},
>>                                 {<0.341.0>,#Fun<couch_config.2.4103357>},
>>                                 {<0.262.0>,#Fun<couch_config.2.4103357>}],
>>                                "/etc/couchdb/local.ini"}
>> ** Reason for termination ==
>> ** {{badmatch,{error,eacces}},
>>    [{couch_config_writer,save_to_file,2},
>>     {couch_config,handle_call,3},
>>     {gen_server,handle_msg,5},
>>     {proc_lib,init_p_do_apply,3}]}
>>
>>
>> [Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.334.0>]
>> {error_report,<0.288.0>,
>>              {<0.334.0>,crash_report,
>>               [[{initial_call,{couch_config,init,['Argument__1']}},
>>                 {pid,<0.334.0>},
>>                 {registered_name,couch_config},
>>                 {error_info,{exit,{{badmatch,{error,eacces}},
>>                                    [{couch_config_writer,save_to_file,2},
>>                                     {couch_config,handle_call,3},
>>                                     {gen_server,handle_msg,5},
>>                                     {proc_lib,init_p_do_apply,3}]},
>>                                   [{gen_server,terminate,6},
>>                                    {proc_lib,init_p_do_apply,3}]}},
>>                 {ancestors,[<0.289.0>]},
>>                 {messages,[]},
>>                 {links,[<0.335.0>]},
>>                 {dictionary,[]},
>>                 {trap_exit,false},
>>                 {status,running},
>>                 {heap_size,6765},
>>                 {stack_size,24},
>>                 {reductions,49254}],
>>                []]}}
>>
>> [Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.335.0>]
>> {error_report,<0.288.0>,
>>    {<0.335.0>,supervisor_report,
>>     [{supervisor,{local,couch_server_sup}},
>>      {errorContext,child_terminated},
>>      {reason,
>>          {{badmatch,{error,eacces}},
>>           [{couch_config_writer,save_to_file,2},
>>            {couch_config,handle_call,3},
>>            {gen_server,handle_msg,5},
>>            {proc_lib,init_p_do_apply,3}]}},
>>      {offender,
>>          [{pid,<0.334.0>},
>>           {name,couch_config},
>>           {mfa,
>>               {couch_server_sup,couch_config_start_link_wrapper,
>>                   [["/etc/couchdb/default.ini","/etc/couchdb/local.ini",
>>                     "/etc/couchdb/default.ini","/etc/couchdb/local.ini"],
>>                    <0.334.0>]}},
>>           {restart_type,permanent},
>>           {shutdown,brutal_kill},
>>           {child_type,worker}]}]}}
>>
>> [Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.714.0>] Uncaught error in
>> HTTP request: {exit,
>>                                 {{{badmatch,{error,eacces}},
>>                                   [{couch_config_writer,save_to_file,2},
>>                                    {couch_config,handle_call,3},
>>                                    {gen_server,handle_msg,5},
>>                                    {proc_lib,init_p_do_apply,3}]},
>>                                  {gen_server,call,
>>                                   [couch_config,
>>                                    {set,"admins","admin","admin",true}]}}}
>> ---------------------- end error -----------------------------------
>>
>> I know it has something to do with the config file, but I can't really
>> figure out what the problem is.
>>
>> Can someone help with this?
>>
>> Regards,
>>
>> Fidel.
>>
>> On 7/16/10, afters <af...@gmail.com> wrote:
>> > FYI, I've just successfully tested these instructions with 1.0.0. I only
>> > added some missing permissions-handling that failed some tests - they
>> were
>> > missing for 0.11.0 too.
>> >
>> >  a.
>> >
>> > On 16 July 2010 17:54, afters <af...@gmail.com> wrote:
>> >
>> >> np, I'm glad to help.
>> >>
>> >> If you're doing a deb package (which would be great), you may be
>> >> missing
>> a
>> >> couple of dependencies. I have installed 0.11 on a very minimal Ubuntu
>> >> (that
>> >> contains very few packages, much less than a clean install), and put
>> >> the
>> >> instructions at the second example here:
>> >>
>> >>   http://wiki.apache.org/couchdb/Installing_on_Ubuntu
>> >>
>> >> A couple of notes:
>> >> I tried to avoid unessential packages, and so dropped the
>> 'xulrunner-dev'
>> >> package that has lots of dependencies, and instead installed the
>> >> Spider-monkey js-engine from source. Nevertheless, 'xulrunner-dev'
>> >> would
>> >> be
>> >> just fine.
>> >> Also, the 'erlang' package has lots of dependenies. It'd be interesting
>> to
>> >> know what exactly is needed for couchdb to operate.
>> >>
>> >>  a.
>> >>
>> >> On 16 July 2010 17:22, Michael <ne...@gmail.com> wrote:
>> >>
>> >>>
>> >>> I owe you. Thanks. Here I assumed erlang-dev would have brought the
>> >>> regular
>> >>> erlang libraries as dependancies. Wow, I spent way too long on that.
>> >>>
>> >>> For the record, all I needed was* apt-get install erlang* to get
>> >>> these.
>> >>>
>> >>> From a clean ubuntu install the dependancies to build from source are:
>> >>> libicu-dev
>> >>> curl
>> >>> libcurl4-opensll-dev
>> >>> erlang-dev
>> >>> erlang
>> >>>
>> >>> Would there be interest in an unofficial .deb file?
>> >>>
>> >>> Thanks a,
>> >>>
>> >>> Michael
>> >>>
>> >>
>> >>
>> >
>>
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by afters <af...@gmail.com>.
Fidel,

Maybe your config files don't have the right permissions? See the
installation instructions.
If that doesn't work, I suggest you re-post your question in its own thread.
It's possible that only Ubuntu users read this one.

 a.

On 17 July 2010 00:48, Fidel Viegas <fi...@gmail.com> wrote:

> Ok,
>
> I have installed all the erlang dependencies and still get the same
> error while running the first two tests:
>
> Exception raised: {"message":"JSON.parse: Unable to parse value: "}
>
> I checked the logs, but nothing there.
>
> Here is an extract of the last 100 lines of my log file:
>
> -------------- begin extract -------------------------
> root@couchdb:~# tail -n 100 /var/log/couchdb/couch.log
> [Fri, 16 Jul 2010 21:38:07 GMT] [info] [<0.164.0>] 192.168.13.1 - - 'GET' /
> 200
>
> [Fri, 16 Jul 2010 21:38:07 GMT] [info] [<0.162.0>] 192.168.13.1 - -
> 'GET' /_users/ 200
>
> [Fri, 16 Jul 2010 21:38:10 GMT] [info] [<0.165.0>] 192.168.13.1 - -
> 'GET' /_session 200
>
> [Fri, 16 Jul 2010 21:38:10 GMT] [info] [<0.170.0>] 192.168.13.1 - - 'GET' /
> 200
>
> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.165.0>] 192.168.13.1 - -
> 'GET' /_session 200
>
> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.170.0>] 192.168.13.1 - - 'GET' /
> 200
>
> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.171.0>] 192.168.13.1 - -
> 'DELETE' /test_suite_db/ 404
>
> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.175.0>] 192.168.13.1 - -
> 'DELETE' /test_suite_db/ 404
>
> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.176.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/ 201
>
> [Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.177.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/ 412
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.185.0>] 192.168.13.1 - -
> 'DELETE' /test_suite_db 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.186.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.188.0>] 192.168.13.1 - -
> 'DELETE' /test_suite_db%2Fwith_slashes 404
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db%2Fwith_slashes 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/ 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
> 'GET' /_all_dbs 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/ 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/0 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/0?revs_info=true 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/0?local_seq=true 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.205.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/1 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.206.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/2 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.207.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/3 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.207.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/ 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
> update at seq 1 for test_suite_db _temp
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
> update at seq 4 for test_suite_db _temp
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.208.0>] 192.168.13.1 - -
> 'POST' /test_suite_db/_temp_view 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.208.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/0 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.209.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/0 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
> update at seq 5 for test_suite_db _temp
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.222.0>] 192.168.13.1 - -
> 'POST' /test_suite_db/_temp_view 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.222.0>] 192.168.13.1 - -
> 'GET' /_uuids?count=101 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.223.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/bd9bc2e25449d62efa0d1fcc63034e18 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.229.0>] 192.168.13.1 - -
> 'PUT' /test_suite_db/bd9bc2e25449d62efa0d1fcc63034549 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
> update at seq 6 for test_suite_db _temp
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
> update at seq 7 for test_suite_db _temp
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.230.0>] 192.168.13.1 - -
> 'POST' /test_suite_db/_temp_view 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.230.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/ 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.238.0>] checkpointing view
> update at seq 2 for test_suite_db _temp
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.238.0>] checkpointing view
> update at seq 7 for test_suite_db _temp
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.231.0>] 192.168.13.1 - -
> 'POST' /test_suite_db/_temp_view 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.237.0>] 192.168.13.1 - -
> 'DELETE' /test_suite_db/0?rev=2-f11d7cac727db1834815181e355127f6 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.237.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/0 404
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
> update at seq 8 for test_suite_db _temp
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
> 'POST' /test_suite_db/_temp_view 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/ 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
> 'GET' /test_suite_db/0?rev=3-cac36b6fd7e2c7347b3147626c8cfdaf 200
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.249.0>] 192.168.13.1 - -
> 'POST' /test_suite_db/_ensure_full_commit 201
>
> [Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.255.0>] 192.168.13.1 - -
> 'POST' /_restart 200
>
> [Fri, 16 Jul 2010 21:38:24 GMT] [info] [<0.289.0>] Apache CouchDB has
> started on http://0.0.0.0:5984/
> ------------- end extract ----------------------------------------
>
> When I try to set the login credentials, I get the following error:
>
> ----------------------- begin error ----------------------------
> [Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.334.0>] ** Generic server
> couch_config terminating
> ** Last message in was {set,"admins","admin","admin",true}
> ** When Server state == {config,[{<0.335.0>,#Fun<couch_config.2.4103357>},
>                                 {<0.362.0>,#Fun<couch_config.2.4103357>},
>                                 {<0.355.0>,#Fun<couch_config.3.18912695>},
>                                 {<0.355.0>,#Fun<couch_config.3.18912695>},
>                                 {<0.353.0>,#Fun<couch_config.2.4103357>},
>                                 {<0.350.0>,#Fun<couch_config.2.4103357>},
>                                 {<0.349.0>,#Fun<couch_config.2.4103357>},
>                                 {<0.349.0>,#Fun<couch_config.2.4103357>},
>                                 {<0.347.0>,#Fun<couch_config.3.18912695>},
>                                 {<0.346.0>,#Fun<couch_config.2.4103357>},
>                                 {<0.344.0>,#Fun<couch_config.2.4103357>},
>                                 {false,#Fun<couch_server.3.123842465>},
>                                 {<0.341.0>,#Fun<couch_config.3.18912695>},
>                                 {<0.341.0>,#Fun<couch_config.2.4103357>},
>                                 {<0.262.0>,#Fun<couch_config.2.4103357>}],
>                                "/etc/couchdb/local.ini"}
> ** Reason for termination ==
> ** {{badmatch,{error,eacces}},
>    [{couch_config_writer,save_to_file,2},
>     {couch_config,handle_call,3},
>     {gen_server,handle_msg,5},
>     {proc_lib,init_p_do_apply,3}]}
>
>
> [Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.334.0>]
> {error_report,<0.288.0>,
>              {<0.334.0>,crash_report,
>               [[{initial_call,{couch_config,init,['Argument__1']}},
>                 {pid,<0.334.0>},
>                 {registered_name,couch_config},
>                 {error_info,{exit,{{badmatch,{error,eacces}},
>                                    [{couch_config_writer,save_to_file,2},
>                                     {couch_config,handle_call,3},
>                                     {gen_server,handle_msg,5},
>                                     {proc_lib,init_p_do_apply,3}]},
>                                   [{gen_server,terminate,6},
>                                    {proc_lib,init_p_do_apply,3}]}},
>                 {ancestors,[<0.289.0>]},
>                 {messages,[]},
>                 {links,[<0.335.0>]},
>                 {dictionary,[]},
>                 {trap_exit,false},
>                 {status,running},
>                 {heap_size,6765},
>                 {stack_size,24},
>                 {reductions,49254}],
>                []]}}
>
> [Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.335.0>]
> {error_report,<0.288.0>,
>    {<0.335.0>,supervisor_report,
>     [{supervisor,{local,couch_server_sup}},
>      {errorContext,child_terminated},
>      {reason,
>          {{badmatch,{error,eacces}},
>           [{couch_config_writer,save_to_file,2},
>            {couch_config,handle_call,3},
>            {gen_server,handle_msg,5},
>            {proc_lib,init_p_do_apply,3}]}},
>      {offender,
>          [{pid,<0.334.0>},
>           {name,couch_config},
>           {mfa,
>               {couch_server_sup,couch_config_start_link_wrapper,
>                   [["/etc/couchdb/default.ini","/etc/couchdb/local.ini",
>                     "/etc/couchdb/default.ini","/etc/couchdb/local.ini"],
>                    <0.334.0>]}},
>           {restart_type,permanent},
>           {shutdown,brutal_kill},
>           {child_type,worker}]}]}}
>
> [Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.714.0>] Uncaught error in
> HTTP request: {exit,
>                                 {{{badmatch,{error,eacces}},
>                                   [{couch_config_writer,save_to_file,2},
>                                    {couch_config,handle_call,3},
>                                    {gen_server,handle_msg,5},
>                                    {proc_lib,init_p_do_apply,3}]},
>                                  {gen_server,call,
>                                   [couch_config,
>                                    {set,"admins","admin","admin",true}]}}}
> ---------------------- end error -----------------------------------
>
> I know it has something to do with the config file, but I can't really
> figure out what the problem is.
>
> Can someone help with this?
>
> Regards,
>
> Fidel.
>
> On 7/16/10, afters <af...@gmail.com> wrote:
> > FYI, I've just successfully tested these instructions with 1.0.0. I only
> > added some missing permissions-handling that failed some tests - they
> were
> > missing for 0.11.0 too.
> >
> >  a.
> >
> > On 16 July 2010 17:54, afters <af...@gmail.com> wrote:
> >
> >> np, I'm glad to help.
> >>
> >> If you're doing a deb package (which would be great), you may be missing
> a
> >> couple of dependencies. I have installed 0.11 on a very minimal Ubuntu
> >> (that
> >> contains very few packages, much less than a clean install), and put the
> >> instructions at the second example here:
> >>
> >>   http://wiki.apache.org/couchdb/Installing_on_Ubuntu
> >>
> >> A couple of notes:
> >> I tried to avoid unessential packages, and so dropped the
> 'xulrunner-dev'
> >> package that has lots of dependencies, and instead installed the
> >> Spider-monkey js-engine from source. Nevertheless, 'xulrunner-dev' would
> >> be
> >> just fine.
> >> Also, the 'erlang' package has lots of dependenies. It'd be interesting
> to
> >> know what exactly is needed for couchdb to operate.
> >>
> >>  a.
> >>
> >> On 16 July 2010 17:22, Michael <ne...@gmail.com> wrote:
> >>
> >>>
> >>> I owe you. Thanks. Here I assumed erlang-dev would have brought the
> >>> regular
> >>> erlang libraries as dependancies. Wow, I spent way too long on that.
> >>>
> >>> For the record, all I needed was* apt-get install erlang* to get these.
> >>>
> >>> From a clean ubuntu install the dependancies to build from source are:
> >>> libicu-dev
> >>> curl
> >>> libcurl4-opensll-dev
> >>> erlang-dev
> >>> erlang
> >>>
> >>> Would there be interest in an unofficial .deb file?
> >>>
> >>> Thanks a,
> >>>
> >>> Michael
> >>>
> >>
> >>
> >
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Fidel Viegas <fi...@gmail.com>.
Ok,

I have installed all the erlang dependencies and still get the same
error while running the first two tests:

Exception raised: {"message":"JSON.parse: Unable to parse value: "}

I checked the logs, but nothing there.

Here is an extract of the last 100 lines of my log file:

-------------- begin extract -------------------------
root@couchdb:~# tail -n 100 /var/log/couchdb/couch.log
[Fri, 16 Jul 2010 21:38:07 GMT] [info] [<0.164.0>] 192.168.13.1 - - 'GET' / 200

[Fri, 16 Jul 2010 21:38:07 GMT] [info] [<0.162.0>] 192.168.13.1 - -
'GET' /_users/ 200

[Fri, 16 Jul 2010 21:38:10 GMT] [info] [<0.165.0>] 192.168.13.1 - -
'GET' /_session 200

[Fri, 16 Jul 2010 21:38:10 GMT] [info] [<0.170.0>] 192.168.13.1 - - 'GET' / 200

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.165.0>] 192.168.13.1 - -
'GET' /_session 200

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.170.0>] 192.168.13.1 - - 'GET' / 200

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.171.0>] 192.168.13.1 - -
'DELETE' /test_suite_db/ 404

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.175.0>] 192.168.13.1 - -
'DELETE' /test_suite_db/ 404

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.176.0>] 192.168.13.1 - -
'PUT' /test_suite_db/ 201

[Fri, 16 Jul 2010 21:38:13 GMT] [info] [<0.177.0>] 192.168.13.1 - -
'PUT' /test_suite_db/ 412

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.185.0>] 192.168.13.1 - -
'DELETE' /test_suite_db 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.186.0>] 192.168.13.1 - -
'PUT' /test_suite_db 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.188.0>] 192.168.13.1 - -
'DELETE' /test_suite_db%2Fwith_slashes 404

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
'PUT' /test_suite_db%2Fwith_slashes 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
'GET' /_all_dbs 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.196.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
'PUT' /test_suite_db/0 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
'GET' /test_suite_db/0?revs_info=true 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.197.0>] 192.168.13.1 - -
'GET' /test_suite_db/0?local_seq=true 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.205.0>] 192.168.13.1 - -
'PUT' /test_suite_db/1 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.206.0>] 192.168.13.1 - -
'PUT' /test_suite_db/2 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.207.0>] 192.168.13.1 - -
'PUT' /test_suite_db/3 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.207.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 1 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 4 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.208.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.208.0>] 192.168.13.1 - -
'GET' /test_suite_db/0 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.209.0>] 192.168.13.1 - -
'PUT' /test_suite_db/0 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 5 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.222.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.222.0>] 192.168.13.1 - -
'GET' /_uuids?count=101 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.223.0>] 192.168.13.1 - -
'PUT' /test_suite_db/bd9bc2e25449d62efa0d1fcc63034e18 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.229.0>] 192.168.13.1 - -
'PUT' /test_suite_db/bd9bc2e25449d62efa0d1fcc63034549 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 6 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 7 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.230.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.230.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.238.0>] checkpointing view
update at seq 2 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.238.0>] checkpointing view
update at seq 7 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.231.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.237.0>] 192.168.13.1 - -
'DELETE' /test_suite_db/0?rev=2-f11d7cac727db1834815181e355127f6 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.237.0>] 192.168.13.1 - -
'GET' /test_suite_db/0 404

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.210.0>] checkpointing view
update at seq 8 for test_suite_db _temp

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
'POST' /test_suite_db/_temp_view 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
'GET' /test_suite_db/ 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.248.0>] 192.168.13.1 - -
'GET' /test_suite_db/0?rev=3-cac36b6fd7e2c7347b3147626c8cfdaf 200

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.249.0>] 192.168.13.1 - -
'POST' /test_suite_db/_ensure_full_commit 201

[Fri, 16 Jul 2010 21:38:14 GMT] [info] [<0.255.0>] 192.168.13.1 - -
'POST' /_restart 200

[Fri, 16 Jul 2010 21:38:24 GMT] [info] [<0.289.0>] Apache CouchDB has
started on http://0.0.0.0:5984/
------------- end extract ----------------------------------------

When I try to set the login credentials, I get the following error:

----------------------- begin error ----------------------------
[Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.334.0>] ** Generic server
couch_config terminating
** Last message in was {set,"admins","admin","admin",true}
** When Server state == {config,[{<0.335.0>,#Fun<couch_config.2.4103357>},
                                 {<0.362.0>,#Fun<couch_config.2.4103357>},
                                 {<0.355.0>,#Fun<couch_config.3.18912695>},
                                 {<0.355.0>,#Fun<couch_config.3.18912695>},
                                 {<0.353.0>,#Fun<couch_config.2.4103357>},
                                 {<0.350.0>,#Fun<couch_config.2.4103357>},
                                 {<0.349.0>,#Fun<couch_config.2.4103357>},
                                 {<0.349.0>,#Fun<couch_config.2.4103357>},
                                 {<0.347.0>,#Fun<couch_config.3.18912695>},
                                 {<0.346.0>,#Fun<couch_config.2.4103357>},
                                 {<0.344.0>,#Fun<couch_config.2.4103357>},
                                 {false,#Fun<couch_server.3.123842465>},
                                 {<0.341.0>,#Fun<couch_config.3.18912695>},
                                 {<0.341.0>,#Fun<couch_config.2.4103357>},
                                 {<0.262.0>,#Fun<couch_config.2.4103357>}],
                                "/etc/couchdb/local.ini"}
** Reason for termination ==
** {{badmatch,{error,eacces}},
    [{couch_config_writer,save_to_file,2},
     {couch_config,handle_call,3},
     {gen_server,handle_msg,5},
     {proc_lib,init_p_do_apply,3}]}


[Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.334.0>] {error_report,<0.288.0>,
              {<0.334.0>,crash_report,
               [[{initial_call,{couch_config,init,['Argument__1']}},
                 {pid,<0.334.0>},
                 {registered_name,couch_config},
                 {error_info,{exit,{{badmatch,{error,eacces}},
                                    [{couch_config_writer,save_to_file,2},
                                     {couch_config,handle_call,3},
                                     {gen_server,handle_msg,5},
                                     {proc_lib,init_p_do_apply,3}]},
                                   [{gen_server,terminate,6},
                                    {proc_lib,init_p_do_apply,3}]}},
                 {ancestors,[<0.289.0>]},
                 {messages,[]},
                 {links,[<0.335.0>]},
                 {dictionary,[]},
                 {trap_exit,false},
                 {status,running},
                 {heap_size,6765},
                 {stack_size,24},
                 {reductions,49254}],
                []]}}

[Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.335.0>] {error_report,<0.288.0>,
    {<0.335.0>,supervisor_report,
     [{supervisor,{local,couch_server_sup}},
      {errorContext,child_terminated},
      {reason,
          {{badmatch,{error,eacces}},
           [{couch_config_writer,save_to_file,2},
            {couch_config,handle_call,3},
            {gen_server,handle_msg,5},
            {proc_lib,init_p_do_apply,3}]}},
      {offender,
          [{pid,<0.334.0>},
           {name,couch_config},
           {mfa,
               {couch_server_sup,couch_config_start_link_wrapper,
                   [["/etc/couchdb/default.ini","/etc/couchdb/local.ini",
                     "/etc/couchdb/default.ini","/etc/couchdb/local.ini"],
                    <0.334.0>]}},
           {restart_type,permanent},
           {shutdown,brutal_kill},
           {child_type,worker}]}]}}

[Fri, 16 Jul 2010 21:44:21 GMT] [error] [<0.714.0>] Uncaught error in
HTTP request: {exit,
                                 {{{badmatch,{error,eacces}},
                                   [{couch_config_writer,save_to_file,2},
                                    {couch_config,handle_call,3},
                                    {gen_server,handle_msg,5},
                                    {proc_lib,init_p_do_apply,3}]},
                                  {gen_server,call,
                                   [couch_config,
                                    {set,"admins","admin","admin",true}]}}}
---------------------- end error -----------------------------------

I know it has something to do with the config file, but I can't really
figure out what the problem is.

Can someone help with this?

Regards,

Fidel.

On 7/16/10, afters <af...@gmail.com> wrote:
> FYI, I've just successfully tested these instructions with 1.0.0. I only
> added some missing permissions-handling that failed some tests - they were
> missing for 0.11.0 too.
>
>  a.
>
> On 16 July 2010 17:54, afters <af...@gmail.com> wrote:
>
>> np, I'm glad to help.
>>
>> If you're doing a deb package (which would be great), you may be missing a
>> couple of dependencies. I have installed 0.11 on a very minimal Ubuntu
>> (that
>> contains very few packages, much less than a clean install), and put the
>> instructions at the second example here:
>>
>>   http://wiki.apache.org/couchdb/Installing_on_Ubuntu
>>
>> A couple of notes:
>> I tried to avoid unessential packages, and so dropped the 'xulrunner-dev'
>> package that has lots of dependencies, and instead installed the
>> Spider-monkey js-engine from source. Nevertheless, 'xulrunner-dev' would
>> be
>> just fine.
>> Also, the 'erlang' package has lots of dependenies. It'd be interesting to
>> know what exactly is needed for couchdb to operate.
>>
>>  a.
>>
>> On 16 July 2010 17:22, Michael <ne...@gmail.com> wrote:
>>
>>>
>>> I owe you. Thanks. Here I assumed erlang-dev would have brought the
>>> regular
>>> erlang libraries as dependancies. Wow, I spent way too long on that.
>>>
>>> For the record, all I needed was* apt-get install erlang* to get these.
>>>
>>> From a clean ubuntu install the dependancies to build from source are:
>>> libicu-dev
>>> curl
>>> libcurl4-opensll-dev
>>> erlang-dev
>>> erlang
>>>
>>> Would there be interest in an unofficial .deb file?
>>>
>>> Thanks a,
>>>
>>> Michael
>>>
>>
>>
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by afters <af...@gmail.com>.
FYI, I've just successfully tested these instructions with 1.0.0. I only
added some missing permissions-handling that failed some tests - they were
missing for 0.11.0 too.

 a.

On 16 July 2010 17:54, afters <af...@gmail.com> wrote:

> np, I'm glad to help.
>
> If you're doing a deb package (which would be great), you may be missing a
> couple of dependencies. I have installed 0.11 on a very minimal Ubuntu (that
> contains very few packages, much less than a clean install), and put the
> instructions at the second example here:
>
>   http://wiki.apache.org/couchdb/Installing_on_Ubuntu
>
> A couple of notes:
> I tried to avoid unessential packages, and so dropped the 'xulrunner-dev'
> package that has lots of dependencies, and instead installed the
> Spider-monkey js-engine from source. Nevertheless, 'xulrunner-dev' would be
> just fine.
> Also, the 'erlang' package has lots of dependenies. It'd be interesting to
> know what exactly is needed for couchdb to operate.
>
>  a.
>
> On 16 July 2010 17:22, Michael <ne...@gmail.com> wrote:
>
>>
>> I owe you. Thanks. Here I assumed erlang-dev would have brought the
>> regular
>> erlang libraries as dependancies. Wow, I spent way too long on that.
>>
>> For the record, all I needed was* apt-get install erlang* to get these.
>>
>> From a clean ubuntu install the dependancies to build from source are:
>> libicu-dev
>> curl
>> libcurl4-opensll-dev
>> erlang-dev
>> erlang
>>
>> Would there be interest in an unofficial .deb file?
>>
>> Thanks a,
>>
>> Michael
>>
>
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by afters <af...@gmail.com>.
np, I'm glad to help.

If you're doing a deb package (which would be great), you may be missing a
couple of dependencies. I have installed 0.11 on a very minimal Ubuntu (that
contains very few packages, much less than a clean install), and put the
instructions at the second example here:

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

A couple of notes:
I tried to avoid unessential packages, and so dropped the 'xulrunner-dev'
package that has lots of dependencies, and instead installed the
Spider-monkey js-engine from source. Nevertheless, 'xulrunner-dev' would be
just fine.
Also, the 'erlang' package has lots of dependenies. It'd be interesting to
know what exactly is needed for couchdb to operate.

 a.

On 16 July 2010 17:22, Michael <ne...@gmail.com> wrote:

>
> I owe you. Thanks. Here I assumed erlang-dev would have brought the regular
> erlang libraries as dependancies. Wow, I spent way too long on that.
>
> For the record, all I needed was* apt-get install erlang* to get these.
>
> From a clean ubuntu install the dependancies to build from source are:
> libicu-dev
> curl
> libcurl4-opensll-dev
> erlang-dev
> erlang
>
> Would there be interest in an unofficial .deb file?
>
> Thanks a,
>
> Michael
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Noah Slater <ns...@apache.org>.
On 16 Jul 2010, at 15:22, Michael wrote:

> Would there be interest in an unofficial .deb file?

I would advise that you pool your efforts to help the Ubuntu team produce an official one.

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Michael <ne...@gmail.com>.
On Fri, Jul 16, 2010 at 10:11 AM, afters <af...@gmail.com> wrote:

> Michael,
>
> I had a similar problem with 0.11 - couchdb runs but does nothing -
> probably
> due to some erlang libraries missing. Make sure you have the 'erlang'
> package installed (not just 'erlang-base'). It depends on various packages,
> mostly erlang libraries, that couchdb requires.
>
>  a.


I owe you. Thanks. Here I assumed erlang-dev would have brought the regular
erlang libraries as dependancies. Wow, I spent way too long on that.

For the record, all I needed was* apt-get install erlang* to get these.

>From a clean ubuntu install the dependancies to build from source are:
libicu-dev
curl
libcurl4-opensll-dev
erlang-dev
erlang

Would there be interest in an unofficial .deb file?

Thanks a,

Michael

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by afters <af...@gmail.com>.
Michael,

I had a similar problem with 0.11 - couchdb runs but does nothing - probably
due to some erlang libraries missing. Make sure you have the 'erlang'
package installed (not just 'erlang-base'). It depends on various packages,
mostly erlang libraries, that couchdb requires.

 a.

On 16 July 2010 15:31, Michael <ne...@gmail.com> wrote:

> On Fri, Jul 16, 2010 at 8:14 AM, Volker Mische <volker.mische@gmail.com
> >wrote:
>
> Volker;
>
> Have you gotten CouchDB running on 10.4? I too spent most of yesterday
> trying to get couch installed right and have the same issues as Wolfgang.
> Couchdb installs (without errors, I did put in the xulrunner jslib) and
> when
> I start it there is no response. I just tried the make dev version and
> still, same thing, no luck.
>
> The logs files have been created, but there is nothing in them. I have in
> the root's home directory couchdb.stderr and couchdb.stdout. There is
> nothing in stdout, but stderr has:
>
> heart_beat_kill_pid = 22247
> heart_beat_timeout = 11
>
> Really stumped on this. I had every intention yesterday of getting this
> installed and creating a .deb package, but now I will just be happy to get
> it properly running.
>
> Any guesses?
>
> Thanks,
>
> Michael
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Michael <ne...@gmail.com>.
On Fri, Jul 16, 2010 at 8:14 AM, Volker Mische <vo...@gmail.com>wrote:

> Servus Wolfgang,
>
>
> On 07/16/2010 01:18 PM, Wolfgang Egger wrote:
>
>> Servus
>> I'm not able to get couchdb 1.0.0 running correct under ubuntu 10.4.
>>
>> While installing I got an error bout a missing package mozjs that I'm
>> ignoring
>> (after reading some Web-Articles about that).
>>
>
> You shouldn't ignore that error. Have a look at the "Installing on Ubuntu"
> wiki page [1]. What you probably need it while ./configure is:
> ./configure --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib
> --with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include
>
> I suggest running it without installing it first. Do a "make dev" and then
> a:
> LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.6 ./utils/run
>
> Now try to run the test suite in Futon.
>
> In case you have a not recently updated Ubuntu 10.4 use "xulrunner-1.9.2.3"
> instead.
>
> [1] http://wiki.apache.org/couchdb/Installing_on_Ubuntu
>
> Cheers,
>  Volker
>

Volker;

Have you gotten CouchDB running on 10.4? I too spent most of yesterday
trying to get couch installed right and have the same issues as Wolfgang.
Couchdb installs (without errors, I did put in the xulrunner jslib) and when
I start it there is no response. I just tried the make dev version and
still, same thing, no luck.

The logs files have been created, but there is nothing in them. I have in
the root's home directory couchdb.stderr and couchdb.stdout. There is
nothing in stdout, but stderr has:

heart_beat_kill_pid = 22247
heart_beat_timeout = 11

Really stumped on this. I had every intention yesterday of getting this
installed and creating a .deb package, but now I will just be happy to get
it properly running.

Any guesses?

Thanks,

Michael

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by afters <af...@gmail.com>.
It seems that the command `xulrunner --gre-version` outputs the correct
version number, so it may be used in an installation script.
I've added a note about it in the wiki-page.

 a.

On 17 July 2010 18:26, cdr53x <cd...@free.fr> wrote:

> Hi,
>
> I've successfuly installed the 1.0.0 version on a Ubuntu 10.04.
>
> It has replaced my previous 0.11 version, installed using the info in the
> wiki page. From my point of view, there is nothing broken in the configure
> or make rules in the 1.0.0 tarball.
>
> As the wiki indicates, there is no moz-js packages in the Ubuntu 10.04
> release, you have to use xulrunner instead. And you have to indicate the
> libraries when invoking the configure command.
>
> Maybe you're experiencing dependencies or system configuration issues, or
> you missed something in the installation procedure. I had similar issues
> with a 0.11 version after a system upgrade. The bottom line was that the
> xulrunner libs have been updated, and that I needed to reconfigure them (
> wiki provides the instructions). Maybe you're running into the same case.
>
> However if you want to cross check against a working 1.0.0 version on
> ubuntu 10.04, here are the packages installed on my computer :
>
> Erlang packages :
>
> $ dpkg -l | grep erlang
> ii  erlang-base                          1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP virtual machine and base applicat
> ii  erlang-crypto                        1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP cryprographic modules
> ii  erlang-dev                           1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP development libraries and headers
> ii  erlang-inets                         1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP Internet clients and servers
> ii  erlang-mnesia                        1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP distributed relational/object hyb
> ii  erlang-public-key                    1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP public key infrastructure
> ii  erlang-runtime-tools                 1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP runtime tracing/debugging tools
> ii  erlang-ssl                           1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP implementation of SSL
> ii  erlang-syntax-tools                  1:13.b.3-dfsg-2ubuntu2
>              Erlang/OTP modules for handling abstract Erl
> ii  erlang-xmerl
>
> Js lib (xulrunner ) :
>
> dpkg -l | grep xul
> ii  xulrunner-1.9                        1.9.2.6+nobinonly-0ubuntu0.10.04.1
>              dummy upgrade package for xulrunner-1.9
> ii  xulrunner-1.9.2                      1.9.2.6+nobinonly-0ubuntu0.10.04.1
>              XUL + XPCOM application runner
> ii  xulrunner-1.9.2-dev                  1.9.2.6+nobinonly-0ubuntu0.10.04.1
>              XUL + XPCOM development files
> ii  xulrunner-dev
>
> I used the following command line for configure :
>
>
> /configure --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib
> --with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include
>
> Then just issued make && sudo make install and it did it (permissions were
> already set on my 0.11 version )
>
> Hope this helps,
>
> cdr
>
>
>
>
>  I am also experiencing the same thing. I had previously installed 0.11
>> successfully and solved the problem described in the page. This time I
>> installed 1.0, and I cannot see any errors. It just hangs on the test
>> suites. It created two databases but it hangs there.
>>
>>
>
>
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by cdr53x <cd...@free.fr>.
Hi,

I've successfuly installed the 1.0.0 version on a Ubuntu 10.04.

It has replaced my previous 0.11 version, installed using the info in 
the wiki page. From my point of view, there is nothing broken in the 
configure or make rules in the 1.0.0 tarball.

As the wiki indicates, there is no moz-js packages in the Ubuntu 10.04 
release, you have to use xulrunner instead. And you have to indicate the 
libraries when invoking the configure command.

Maybe you're experiencing dependencies or system configuration issues, 
or you missed something in the installation procedure. I had similar 
issues with a 0.11 version after a system upgrade. The bottom line was 
that the xulrunner libs have been updated, and that I needed to 
reconfigure them ( wiki provides the instructions). Maybe you're running 
into the same case.

However if you want to cross check against a working 1.0.0 version on 
ubuntu 10.04, here are the packages installed on my computer :

Erlang packages :

$ dpkg -l | grep erlang
ii  erlang-base                          
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP virtual 
machine and base applicat
ii  erlang-crypto                        
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP cryprographic 
modules
ii  erlang-dev                           
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP development 
libraries and headers
ii  erlang-inets                         
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP Internet 
clients and servers
ii  erlang-mnesia                        
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP distributed 
relational/object hyb
ii  erlang-public-key                    
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP public key 
infrastructure
ii  erlang-runtime-tools                 
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP runtime 
tracing/debugging tools
ii  erlang-ssl                           
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP 
implementation of SSL
ii  erlang-syntax-tools                  
1:13.b.3-dfsg-2ubuntu2                          Erlang/OTP modules for 
handling abstract Erl
ii  erlang-xmerl

Js lib (xulrunner ) :

dpkg -l | grep xul
ii  xulrunner-1.9                        
1.9.2.6+nobinonly-0ubuntu0.10.04.1              dummy upgrade package 
for xulrunner-1.9
ii  xulrunner-1.9.2                      
1.9.2.6+nobinonly-0ubuntu0.10.04.1              XUL + XPCOM application 
runner
ii  xulrunner-1.9.2-dev                  
1.9.2.6+nobinonly-0ubuntu0.10.04.1              XUL + XPCOM development 
files
ii  xulrunner-dev

I used the following command line for configure :

/configure --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib 
--with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include

Then just issued make && sudo make install and it did it (permissions 
were already set on my 0.11 version )

Hope this helps,

cdr



> I am also experiencing the same thing. I had previously installed 0.11
> successfully and solved the problem described in the page. This time I
> installed 1.0, and I cannot see any errors. It just hangs on the test
> suites. It created two databases but it hangs there.
>    



Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Fidel Viegas <fi...@gmail.com>.
Hey guys,

I am also experiencing the same thing. I had previously installed 0.11
successfully and solved the problem described in the page. This time I
installed 1.0, and I cannot see any errors. It just hangs on the test
suites. It created two databases but it hangs there.

I really don't know what is happening there.

If any of you come up with a solution, please do let us know.

Regards,

Fidel.

On 7/16/10, Michael <ne...@gmail.com> wrote:
> On Fri, Jul 16, 2010 at 8:43 AM, Kenny Stone <ks...@connamara.com> wrote:
>
>> I think the configure '--with-js-lib' might be broken.
>>
>> --
>> Kenny Stone
>> Connamara Systems, LLC
>
>
> If I try to configure without it, the configuration fails (rightly so): Is
> the Mozilla SpiderMonkey library installed?
>
> It is doing something, Michael
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Michael <ne...@gmail.com>.
On Fri, Jul 16, 2010 at 8:43 AM, Kenny Stone <ks...@connamara.com> wrote:

> I think the configure '--with-js-lib' might be broken.
>
> --
> Kenny Stone
> Connamara Systems, LLC


If I try to configure without it, the configuration fails (rightly so): Is
the Mozilla SpiderMonkey library installed?

It is doing something, Michael

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Kenny Stone <ks...@connamara.com>.
I think the configure '--with-js-lib' might be broken.

--
Kenny Stone
Connamara Systems, LLC


On Fri, Jul 16, 2010 at 7:38 AM, Wolfgang Egger <wo...@sixt.de>wrote:

> Volker Mische <vo...@...> writes:
>
> > You shouldn't ignore that error. Have a look at the "Installing on
> > Ubuntu" wiki page [1]. What you probably need it while ./configure is:
> > ./configure --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib
> > --with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include
>
> oh, yes, I have done all whats written on the page above included
> "/configure
> --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib ......"
>
> but as I tried to install the packages mentioned on the wiki-page , I
> ignored
> the error-message from apt-get and avoided to install
> libmozjs-something-...
>
> > I suggest running it without installing it first. Do a "make dev" and
> > then a:
> > LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.6 ./utils/run
>
> ok, I will try that.
>
> > In case you have a not recently updated Ubuntu 10.4 use
> > "xulrunner-1.9.2.3" instead.
> I have recently update Ubuntu 10.4 and have checked if the path above does
> exist.
>
> Thanks a lot for your answer!
>
> Wolfgang
>
>
>

Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Wolfgang Egger <wo...@sixt.de>.
Volker Mische <vo...@...> writes:

> You shouldn't ignore that error. Have a look at the "Installing on 
> Ubuntu" wiki page [1]. What you probably need it while ./configure is:
> ./configure --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib 
> --with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include

oh, yes, I have done all whats written on the page above included "/configure
--with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib ......"

but as I tried to install the packages mentioned on the wiki-page , I ignored
the error-message from apt-get and avoided to install libmozjs-something-...

> I suggest running it without installing it first. Do a "make dev" and 
> then a:
> LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.6 ./utils/run

ok, I will try that.

> In case you have a not recently updated Ubuntu 10.4 use 
> "xulrunner-1.9.2.3" instead.
I have recently update Ubuntu 10.4 and have checked if the path above does exist.

Thanks a lot for your answer!

Wolfgang



Re: couchdb 1.0.0 with ubuntu 10.4

Posted by Volker Mische <vo...@gmail.com>.
Servus Wolfgang,

On 07/16/2010 01:18 PM, Wolfgang Egger wrote:
> Servus
> I'm not able to get couchdb 1.0.0 running correct under ubuntu 10.4.
>
> While installing I got an error bout a missing package mozjs that I'm ignoring
> (after reading some Web-Articles about that).

You shouldn't ignore that error. Have a look at the "Installing on 
Ubuntu" wiki page [1]. What you probably need it while ./configure is:
./configure --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib 
--with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include

I suggest running it without installing it first. Do a "make dev" and 
then a:
LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.6 ./utils/run

Now try to run the test suite in Futon.

In case you have a not recently updated Ubuntu 10.4 use 
"xulrunner-1.9.2.3" instead.

[1] http://wiki.apache.org/couchdb/Installing_on_Ubuntu

Cheers,
   Volker