ticket#25375 couchdb (rookie here)
Daniel Terreros
daniel.terreros at gmail.com
Fri Jun 25 16:16:22 PDT 2010
WOW ok so rolled back erlang to R13B04 to try and score a workaround
victory. I did get couchdb to start for all of 2 milliseconds before the
asplosion occured here is the log.
"find: /opt/local/etc/couchdb/default.d: No such file or directory
find: /opt/local/etc/couchdb/local.d: No such file or directory
Apache CouchDB 0.11.0 (LogLevel=info) is starting.
[error] [<0.19.0>] Loading of
/opt/local/lib/couchdb/erlang/lib/couch-0.11.0/ebin/couch_stats_collector.beam
failed: badfile
=ERROR REPORT==== 25-Jun-2010::16:11:13 ===
Loading of
/opt/local/lib/couchdb/erlang/lib/couch-0.11.0/ebin/couch_stats_collector.beam
failed: badfile
[error] [emulator] beam/beam_load.c(1317): Error loading module
couch_stats_collector:
use of opcode 151; this emulator supports only up to 149
=ERROR REPORT==== 25-Jun-2010::16:11:13 ===
beam/beam_load.c(1317): Error loading module couch_stats_collector:
use of opcode 151; this emulator supports only up to 149
[error] [<0.84.0>] {error_report,<0.30.0>,
{<0.84.0>,supervisor_report,
[{supervisor,{local,couch_secondary_services}},
{errorContext,start_error},
{reason,
{'EXIT',
{undef,
[{couch_stats_collector,start,[]},
{supervisor,do_start_child,2},
{supervisor,start_children,3},
{supervisor,init_children,2},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}},
{offender,
[{pid,undefined},
{name,stats_collector},
{mfa,{couch_stats_collector,start,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]}]}}
=SUPERVISOR REPORT==== 25-Jun-2010::16:11:13 ===
Supervisor: {local,couch_secondary_services}
Context: start_error
Reason: {'EXIT',{undef,[{couch_stats_collector,start,[]},
{supervisor,do_start_child,2},
{supervisor,start_children,3},
{supervisor,init_children,2},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}
Offender: [{pid,undefined},
{name,stats_collector},
{mfa,{couch_stats_collector,start,[]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
[error] [<0.76.0>] {error_report,<0.30.0>,
{<0.76.0>,supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,shutdown},
{offender,
[{pid,undefined},
{name,couch_secondary_services},
{mfa,{couch_server_sup,start_secondary_services,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]}]}}
=SUPERVISOR REPORT==== 25-Jun-2010::16:11:13 ===
Supervisor: {local,couch_server_sup}
Context: start_error
Reason: shutdown
Offender: [{pid,undefined},
{name,couch_secondary_services},
{mfa,{couch_server_sup,start_secondary_services,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=CRASH REPORT==== 25-Jun-2010::16:11:13 ===
crasher:
initial call: application_master:init/4
pid: <0.30.0>
registered_name: []
exception exit: {bad_return,
{{couch_app,start,
[normal,
["/opt/local/etc/couchdb/default.ini",
"/opt/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.29.0>]
messages: [{'EXIT',<0.31.0>,normal}]
links: [<0.29.0>,<0.6.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 24
reductions: 161
neighbours:
=INFO REPORT==== 25-Jun-2010::16:11:13 ===
application: couch
exited: {bad_return,{{couch_app,start,
[normal,
["/opt/local/etc/couchdb/default.ini",
"/opt/local/etc/couchdb/local.ini"]]},
{'EXIT',{{badmatch,{error,shutdown}},
[{couch_server_sup,start_server,1},
{application_master,start_it_old,4}]}}}}
type: temporary
"
<-----Goes back to the lab
On Fri, Jun 25, 2010 at 10:47 AM, Scott Webster <sewebster at gmail.com> wrote:
> On Fri, Jun 25, 2010 at 10:34 AM, Daniel Terreros
> <daniel.terreros at gmail.com> wrote:
> > Yo,
> >
> > So I'm the dude that submitted ticket #25375 and it appears that it may
> be a
> > duplicate(not ready to admit to that just yet :). The prevailing thought
> is
> > that this patch needs to be applied and couchdb on macports will be back
> up
> > and running again.
> >
>
> Which patch? The fix mentioned on the apache site? You could prepare
> a patch that would work for macports (see the guide), test it, and
> upload it to the ticket as a possible solution.
>
> > How can I help? What should I do? I'd be happy to do it. I'm looking to
> > contribute back to the community that has made my venture into
> development
> > so easy, and couchdb is my favorite. How can I take the couchdb source
> .12
> > (or the patched version) and get it to macports ? I read the dev section
> of
> > the manual, so I just follow that step by step? I'm all for getting my
> hands
> > dirty to learn.
> >
>
> There is the patch idea I wrote above, and as well, I think at least
> two people now have suggested that it is a problem with the new
> erlang, so I guess you could try installing an older version of erlang
> and see if it fixes the problem, which would confirm it. See
> https://trac.macports.org/wiki/howto/InstallingOlderPort
>
> I'm just guessing at things you could try. By the way, it is probably
> more effective to keep posting on the same thread (ie. yours from 2
> days ago with subject "Macport 1.9 and couchdb crash (ticket 25375)")
> rather than starting a new one.
>
> Scott
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100625/b52a1aa4/attachment.html>
More information about the macports-users
mailing list