Andreas Wenk wrote:
Unfortunately the results are the same. So what I will do is to
uninstall erlang and couchdb and install it again. How knows, maybe
there is something what went wrong. If the problems are the same, I will
downgrade erlang to the version before. I hope that at least this will
make it work.
I will keep you informed.
Good night and thanks for everything
Andy
I have installed Erlang R13B01 and couchdb trunk. Directly after
installing both I entered
$ couchdb
The result is the attached crashreport.
I think the reason are the missing rights ... so I don't worry too much
about that ...
Ok - doing it with sudo:
$ sudo couchdb
Apache CouchDB 0.11.0b821618 (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.32.0>] Apache CouchDB has started on http://127.0.0.1:5984/
[info] [<0.95.0>] 127.0.0.1 - - 'GET' / 200
(other shell)
$ curl http://127.0.0.1:5984
{"couchdb":"Welcome","version":"0.11.0b821618"}
So with this Erlang version trunk seems to run.
Then I chmod and chown the directorys and did it with the couchdb user:
$ sudo -i -u couchdb couchdb -b
Apache CouchDB has started, time to relax.
d...@duke:~$ curl http://127.0.0.1:5984
{"couchdb":"Welcome","version":"0.11.0b821618"}
So the conclusion 'could' be that trunk did not run with the newest
Erlang version. If it helps, I could uninstall both Erlang and CouchDB
again, install the latest Erlang version again, install CouchDB again to
see if the error is still there. Then it would be save to say that
CouchDB trunk is not running with the latest Erlang version - in my
environment.
Cheers
Andy
couchdb
Apache CouchDB 0.11.0b821618 (LogLevel=info) is starting.
=CRASH REPORT==== 5-Oct-2009::01:59:18 ===
crasher:
initial call: couch_event_sup:init/1
pid: <0.79.0>
registered_name: []
exception exit: {{badmatch,
{'EXIT',
{{badmatch,{error,eacces}},
[{couch_log,init,1},
{gen_event,server_add_handler,4},
{gen_event,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}},
[{couch_event_sup,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
in function gen_server:init_it/6
ancestors: [couch_primary_services,couch_server_sup,<0.32.0>]
messages: []
links: [<0.78.0>,<0.4.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 233
stack_size: 24
reductions: 119
neighbours:
=SUPERVISOR REPORT==== 5-Oct-2009::01:59:18 ===
Supervisor: {local,couch_primary_services}
Context: start_error
Reason: {{badmatch,{'EXIT',{{badmatch,{error,eacces}},
[{couch_log,init,1},
{gen_event,server_add_handler,4},
{gen_event,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}}},
[{couch_event_sup,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
Offender: [{pid,undefined},
{name,couch_log},
{mfa,{couch_log,start_link,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=SUPERVISOR REPORT==== 5-Oct-2009::01:59:18 ===
Supervisor: {local,couch_server_sup}
Context: start_error
Reason: shutdown
Offender: [{pid,undefined},
{name,couch_primary_services},
{mfa,{couch_server_sup,start_primary_services,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=CRASH REPORT==== 5-Oct-2009::01:59:18 ===
crasher:
initial call: application_master:init/4
pid: <0.31.0>
registered_name: []
exception exit: {bad_return,
{{couch_app,start,
[normal,
["/usr/local/etc/couchdb/default.ini",
"/usr/local/etc/couchdb/local.ini"]]},
{'EXIT',
{{badmatch,{error,shutdown}},
[{couch_server_sup,start_server,1},
{application_master,start_it_old,4}]}}}}
in function application_master:init/4
ancestors: [<0.30.0>]
messages: [{'EXIT',<0.32.0>,normal}]
links: [<0.30.0>,<0.5.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 610
stack_size: 24
reductions: 98
neighbours:
=INFO REPORT==== 5-Oct-2009::01:59:18 ===
application: couch
exited: {bad_return,{{couch_app,start,
[normal,
["/usr/local/etc/couchdb/default.ini",
"/usr/local/etc/couchdb/local.ini"]]},
{'EXIT',{{badmatch,{error,shutdown}},
[{couch_server_sup,start_server,1},
{application_master,start_it_old,4}]}}}}
type: temporary