silentsignal / DirBustErl

DirBuster successor in Erlang
MIT License
37 stars 13 forks source link

mochiweb not starting #8

Closed v-p-b closed 10 years ago

v-p-b commented 10 years ago

I created a vanilla Debian 7 machine for DirBustErl, installed all dependencies via APT or PIP. When starting with ./start.sh the process terminates with the following message:

=PROGRESS REPORT==== 26-Aug-2014::15:40:07 ===
         application: ssl
          started_at: nonode@nohost
{"init terminating in do_boot",{{case_clause,{error,{not_started,xmerl}}},[{dirbusterl,ensure_started,1,[{file,"src/dirbusterl.erl"},{line,57}]},{dirbusterl,start,0,[{file,"src/dirbusterl.erl"},{line,91}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

I can send the crash dump if needed.

v-p-b commented 10 years ago

Unit test result in the following failures:

# make test | fgrep fail
  mochitemp: mkdtemp_n_failonce_test...[0.001 s] ok
  mochitemp: mkdtemp_n_fail_test...ok
  mochitemp: make_dir_fail_test...ok
  mochiweb_session:159: generate_check_session_cookie...*failed*
  mochiweb_session:164: generate_check_session_cookie...*failed*
  mochiweb_session:169: generate_check_session_cookie...*failed*
  mochiweb_session:174: generate_check_session_cookie...*failed*
  mochiweb_session:180: generate_check_session_cookie...*failed*
  mochiweb_session:186: generate_check_session_cookie...*failed*
  mochiweb_session:192: generate_check_session_cookie...*failed*
  mochiweb_session:204: generate_check_session_cookie...*failed*
    mochiweb_websocket_tests: make_handshake_for_correct_client_test...*failed*
ERROR: One or more eunit tests failed.
ERROR: eunit failed while processing /root/DirBustErl/deps/mochiweb: rebar_abort
make: *** [test] Error 1
dnet commented 10 years ago

c99e210 should fix this

Bo0oM commented 9 years ago

The same problem, the latest version DirBustErl. Kali linux.

dnet commented 9 years ago

Please copy the full output from the console, so that we can see what went wrong.

Bo0oM commented 9 years ago

make test | grep failed mochiweb_session:159: generate_check_session_cookie...*failed* mochiweb_session:164: generate_check_session_cookie...*failed* mochiweb_session:169: generate_check_session_cookie...*failed* mochiweb_session:174: generate_check_session_cookie...*failed* mochiweb_session:180: generate_check_session_cookie...*failed* mochiweb_session:186: generate_check_session_cookie...*failed* mochiweb_session:192: generate_check_session_cookie...*failed* mochiweb_session:204: generate_check_session_cookie...*failed* mochiweb_websocket_tests: make_handshake_for_correct_client_test...*failed* ERROR: One or more eunit tests failed. ERROR: eunit failed while processing /home/bo0om/soft/DirBustErl/deps/mochiweb: rebar_abort


full output ./start.sh

Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:false]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === 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==== 16-Dec-2014::16:45:49 === 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==== 16-Dec-2014::16:45:49 === 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==== 16-Dec-2014::16:45:49 === 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==== 16-Dec-2014::16:45:49 === application: sasl started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,kernel_safe_sup} started: [{pid,<0.42.0>}, {name,timer_server}, {mfargs,{timer,start_link,[]}}, {restart_type,permanent}, {shutdown,1000}, {child_type,worker}] Eshell V5.9.1 (abort with ^G) 1> =PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,inets_sup} started: [{pid,<0.49.0>}, {name,ftp_sup}, {mfargs,{ftp_sup,start_link,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,httpc_profile_sup} started: [{pid,<0.52.0>}, {name,httpc_manager}, {mfargs, {httpc_manager,start_link, [default,only_session_cookies,inets]}}, {restart_type,permanent}, {shutdown,4000}, {child_type,worker}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,httpc_sup} started: [{pid,<0.51.0>}, {name,httpc_profile_sup}, {mfargs, {httpc_profile_sup,start_link, [[{httpc,{default,only_session_cookies}}]]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,httpc_sup} started: [{pid,<0.53.0>}, {name,httpc_handler_sup}, {mfargs,{httpc_handler_sup,start_link,[]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,inets_sup} started: [{pid,<0.50.0>}, {name,httpc_sup}, {mfargs, {httpc_sup,start_link, [[{httpc,{default,only_session_cookies}}]]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,inets_sup} started: [{pid,<0.54.0>}, {name,httpd_sup}, {mfargs,{httpd_sup,start_link,[[]]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,inets_sup} started: [{pid,<0.55.0>}, {name,tftp_sup}, {mfargs,{tftp_sup,start_link,[[]]}}, {restart_type,permanent}, {shutdown,infinity}, {child_type,supervisor}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: inets started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,crypto_sup} started: [{pid,<0.60.0>}, {name,crypto_server}, {mfargs,{crypto_server,start_link,[]}}, {restart_type,permanent}, {shutdown,2000}, {child_type,worker}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: crypto started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: asn1 started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: public_key started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,ssl_sup} started: [{pid,<0.67.0>}, {name,ssl_manager}, {mfargs,{ssl_manager,start_link,[[]]}}, {restart_type,permanent}, {shutdown,4000}, {child_type,worker}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === supervisor: {local,ssl_sup} started: [{pid,<0.68.0>}, {name,ssl_connection}, {mfargs,{ssl_connection_sup,start_link,[]}}, {restart_type,permanent}, {shutdown,4000}, {child_type,supervisor}]

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: ssl started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: xmerl started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: compiler started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: syntax_tools started_at: nonode@nohost

=PROGRESS REPORT==== 16-Dec-2014::16:45:49 === application: mochiweb started_at: nonode@nohost {"init terminating in do_boot",{{case_clause,{error,{"no such file or directory","ibrowse.app"}}},[{dirbusterl,ensure_started,1,[{file,"src/dirbusterl.erl"},{line,57}]},{dirbusterl,start,0,[{file,"src/dirbusterl.erl"},{line,98}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

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

dnet commented 9 years ago

Thanks, it seems that it cannot find ibrowse. Try building and/or downloading a version of rebar that works better and execute ./rebar compile. See https://github.com/rebar/rebar#building for instructions w.r.t both methods.