首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Webmachine {not_started,mochiweb}

Webmachine {not_started,mochiweb}
EN

Stack Overflow用户
提问于 2015-03-04 23:29:47
回答 1查看 93关注 0票数 0

我对Erlang的Webmachine并不熟悉,我甚至连一个基本的“你好世界”都搞不懂。每当我运行./start.sh时,都会遇到这样一个大错误:

代码语言:javascript
复制
➜  webmachine git:(master) ./start.sh 
Erlang/OTP 17 [erts-6.3.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]


=PROGRESS REPORT==== 4-Mar-2015::17:27:09 ===
          supervisor: {local,sasl_safe_sup}
             started: [{pid,<0.35.0>},
                       {name,alarm_handler},
                       {mfargs,{alarm_handler,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,2000},
                       {child_type,worker}]

=PROGRESS REPORT==== 4-Mar-2015::17:27:09 ===
          supervisor: {local,sasl_safe_sup}
             started: [{pid,<0.36.0>},
                       {name,overload},
                       {mfargs,{overload,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,2000},
                       {child_type,worker}]

=PROGRESS REPORT==== 4-Mar-2015::17:27:09 ===
          supervisor: {local,sasl_sup}
             started: [{pid,<0.34.0>},
                       {name,sasl_safe_sup},
                       {mfargs,
                           {supervisor,start_link,
                               [{local,sasl_safe_sup},sasl,safe]}},
                       {restart_type,permanent},
                       {shutdown,infinity},
                       {child_type,supervisor}]

=PROGRESS REPORT==== 4-Mar-2015::17:27:09 ===
          supervisor: {local,sasl_sup}
             started: [{pid,<0.37.0>},
                       {name,release_handler},
                       {mfargs,{release_handler,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,2000},
                       {child_type,worker}]

=PROGRESS REPORT==== 4-Mar-2015::17:27:09 ===
         application: sasl
          started_at: nonode@nohost
Eshell V6.3.1  (abort with ^G)
1> 
=PROGRESS REPORT==== 4-Mar-2015::17:27:09 ===
         application: crypto
          started_at: nonode@nohost
{"init terminating in do_boot",{{badmatch,{error,{not_started,mochiweb}}},[{webmachine,start,0,[{file,"src/webmachine.erl"},{line,36}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

值得注意的是,我使用的是Mac,但是在Docker容器中使用Ubuntu时也会出现同样的错误。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-03-07 17:28:41

我的问题是,我必须使用示例生成器创建一个新项目,而不仅仅是运行克隆回购中的香草start.sh。希望这对人们有帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28867154

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档