Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 11.79 KB | None | 0 0
  1. ./init.sh: line 16: WARN:: command not found
  2. Erlang/OTP 21 [erts-10.3.5.4] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]
  3.  
  4. Eshell V10.3.5.4  (abort with ^G)
  5. (cracozaurus@127.0.0.1)1> 10:21:19.423 [info] Starting Boss in development mode...
  6. 10:21:19.430 [info] Start Database Adapter boss_db_adapter_pgsql options [{adapter,pgsql},{cache_enable,false},{cache_prefix,db},{shards,[]},{is_master_node,true},{db_database,"cargo-tvzavr"},{db_password,"cargo"},{db_username,"cargo"},{db_host,"cargo.tvzavr.ru"},{db_port,5432}]
  7. Starting Cowboy Server on {127,0,0,1}:8001
  8. Using Cowboy Dispatch Table:
  9.   [{'_',[],
  10.         [{[<<"static">>,'...'],
  11.           [],cowboy_static,
  12.           {priv_dir,cargo,"static",[{mimetypes,cow_mimetypes,all}]}},
  13.          {'_',[],cowboy_simple_bridge_anchor,[]}]}]
  14. Starting distributed session mnesia storagestart gc
  15. gc pid <0.384.0>
  16. 10:21:19.828 [info] Cargo server started on node 'cracozaurus@127.0.0.1'
  17. 10:21:19.830 [info] cargo_srv: create tables
  18. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -- START -- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!=SUPERVISOR REPORT==== 11-Dec-2019::10:21:19.836242 ===
  19.     supervisor: {local,cargo_sup}
  20.     errorContext: start_error
  21.     reason: {{badmatch,{error,{connection_error,ehostunreach}}},
  22.              [{cargo_srv,redis,0,
  23.                          [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},
  24.                           {line,43}]},
  25.               {cargo_srv,init,1,
  26.                          [{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},
  27.                           {line,32}]},
  28.               {gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]},
  29.               {gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]},
  30.               {proc_lib,init_p_do_apply,3,
  31.                         [{file,"proc_lib.erl"},{line,249}]}]}
  32.     offender: [{pid,undefined},
  33.                {id,cargo_srv},
  34.                {mfargs,{cargo_srv,start_link,[[]]}},
  35.                {restart_type,permanent},
  36.                {shutdown,2000},
  37.                {child_type,worker}]
  38. =CRASH REPORT==== 11-Dec-2019::10:21:19.836046 ===
  39.   crasher:
  40.     initial call: eredis_client:init/1
  41.     pid: <0.387.0>
  42.     registered_name: []
  43.     exception exit: {connection_error,ehostunreach}
  44.       in function  gen_server:init_it/6 (gen_server.erl, line 358)
  45.     ancestors: [cargo_srv,cargo_sup,<0.319.0>]
  46.     message_queue_len: 0
  47.     messages: []
  48.     links: [<0.386.0>]
  49.     dictionary: []
  50.     trap_exit: false
  51.     status: running
  52.     heap_size: 987
  53.     stack_size: 27
  54.     reductions: 1161
  55.   neighbours:
  56.  
  57. =CRASH REPORT==== 11-Dec-2019::10:21:19.836526 ===
  58.   crasher:
  59.     initial call: cargo_srv:init/1
  60.     pid: <0.386.0>
  61.     registered_name: []
  62.     exception error: no match of right hand side value
  63.                      {error,{connection_error,ehostunreach}}
  64.       in function  cargo_srv:redis/0 (/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl, line 43)
  65.       in call from cargo_srv:init/1 (/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl, line 32)
  66.       in call from gen_server:init_it/2 (gen_server.erl, line 374)
  67.       in call from gen_server:init_it/6 (gen_server.erl, line 342)
  68.     ancestors: [cargo_sup,<0.319.0>]
  69.     message_queue_len: 0
  70.     messages: []
  71.     links: [<0.385.0>,<0.387.0>]
  72.     dictionary: []
  73.     trap_exit: true
  74.     status: running
  75.     heap_size: 987
  76.     stack_size: 27
  77.     reductions: 686
  78.   neighbours:
  79.     neighbour:
  80.       pid: <0.387.0>
  81.       registered_name: []
  82.       initial call: eredis_client:init/1
  83.       current_function: {code_server,call,1}
  84.       ancestors: [cargo_srv,cargo_sup,<0.319.0>]
  85.       message_queue_len: 0
  86.       links: [<0.386.0>]
  87.       trap_exit: false
  88.       status: waiting
  89.       heap_size: 1598
  90.       stack_size: 78
  91.       reductions: 2970
  92.       current_stacktrace: [{code_server,call,1,[{file,"code_server.erl"},{line,140}]},
  93.                   {error_handler,undefined_function,3,
  94.                                  [{file,"error_handler.erl"},{line,41}]},
  95.                   {proc_lib,format_exception,4,
  96.                             [{file,"proc_lib.erl"},{line,851}]},
  97.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,830}]},
  98.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,833}]},
  99.                   {proc_lib,format_rep,3,[{file,"proc_lib.erl"},{line,828}]},
  100.                   {proc_lib,format_report,3,
  101.                             [{file,"proc_lib.erl"},{line,815}]},
  102.                   {proc_lib,do_format,2,[{file,"proc_lib.erl"},{line,793}]}]
  103. 10:21:19.836 [error] CRASH REPORT Process <0.387.0> with 0 neighbours exited with reason: {connection_error,ehostunreach} in gen_server:init_it/6 line 358
  104. 10:21:19.836 [error] Supervisor cargo_sup had child cargo_srv started with cargo_srv:start_link([]) at undefined exit with reason no match of right hand value {error,{connection_error,ehostunreach}} in cargo_srv:redis/0 line 43 in context start_error
  105. 10:21:19.836 [error] CRASH REPORT Process <0.386.0> with 1 neighbours crashed with reason: no match of right hand value {error,{connection_error,ehostunreach}} in cargo_srv:redis/0 line 43
  106. 10:21:19.836 [info] upload app starting~n
  107. 10:21:19.840 [info] upload app starting 0 ...~n
  108. 10:21:19.840 [info] upload app starting 1 ...~n
  109. 10:21:19.840 [info] upload server port 9999
  110. 10:21:19.841 [info] upload app starting 2 ...~n
  111. 10:21:19.901 [info] Chat dispatcher started on node 'cracozaurus@127.0.0.1'
  112. 10:21:19.916 [info] Bonus event dispatcher started on node 'cracozaurus@127.0.0.1'
  113. 10:21:19.920 [info] Notification event dispatcher started on node 'cracozaurus@127.0.0.1'
  114. 10:21:19.926 [info] Signup helper event dispatcher started on node 'cracozaurus@127.0.0.1'
  115. {"src/mail/view/base.html","base_tpl",{ok,base_tpl}}
  116. {"src/mail/view/cargo_email_layout.html","cargo_email_layout_tpl",
  117.  {ok,cargo_email_layout_tpl}}
  118. {"src/mail/view/cargo_email_layout_feedback.html",
  119.  "cargo_email_layout_feedback_tpl",
  120.  {ok,cargo_email_layout_feedback_tpl}}
  121. {"src/mail/view/generic_email.html","generic_email_tpl",
  122.  {ok,generic_email_tpl}}
  123. {"src/mail/view/new_admin_user_signup_notification.html",
  124.  "new_admin_user_signup_notification_tpl",
  125.  {ok,new_admin_user_signup_notification_tpl}}
  126. {"src/mail/view/trucker_attach_notification.html",
  127.  "trucker_attach_notification_tpl",
  128.  {ok,trucker_attach_notification_tpl}}
  129. Starting Sync (Automatic Code Compiler / Reloader)
  130. Scanning source files...
  131. 10:21:20.159 [info] Event_srv started on node 'cracozaurus@127.0.0.1'
  132. 10:21:20.159 [info] M: event_sup
  133. L: 22
  134. Mess:<<"Init">>
  135. 10:21:20.164 [info] psql starting
  136. 10:21:20.176 [info] psql starting
  137. psql.erl psql starting
  138. psql.erl psql starting 01
  139. 10:21:20.176 [info] psql.erl psql starting 01~n
  140. 10:21:20.176 [info] psql almost started
  141. psql.erl psql almost started
  142. 10:21:20.181 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  143. 10:21:20.276 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  144. 10:21:20.391 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  145. 10:21:20.477 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  146. 10:21:20.559 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  147. 10:21:20.657 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  148. 10:21:20.748 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  149. 10:21:20.854 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  150. 10:21:20.933 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  151. 10:21:21.065 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  152. 10:21:22.163 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  153. 10:21:22.297 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  154. 10:21:22.380 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  155. 10:21:22.461 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  156. 10:21:22.564 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  157. 10:21:22.727 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  158. 10:21:22.813 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  159. 10:21:22.970 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  160. 10:21:23.128 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  161. 10:21:23.237 [info] psql args [{hostname,"178.159.249.213"},{database,"fias"},{username,"postgres"},{password,"fiasfias"}]
  162. 10:21:23.779 [info] psql Res ok
  163. psql Res ok
  164.  ** LiLu has started **
  165.  ** LiLu starting viever: "ct" **
  166. 10:21:23.825 [info] Modulbank mock manager started on node 'cracozaurus@127.0.0.1'
  167.  ** LiLu starting viever: "console" **
  168.  ** LiLu starting viever: "error" **
  169. 10:21:23.939 [notice] Compile file "/Users/ramankovalitskiy/Projects/cargo/priv/init/cargo_01_news.erl" with options [{include_dirs,["/Users/ramankovalitskiy/Projects/cargo/include"]}]
  170. 10:21:32.342 [info] cargo_main_controller:main before_ _________________A:"user_settings" B:'GET' C:[]
  171. 10:21:32.563 [error] [{bonus_referral,1000},{bonus_referrer,1000},{bonus_privelege,5000},{backoffice_email_mask,<<"gmail.com">>},{beginning_hour_of_support,10},{cloud_pay_public_id,<<"pk_c36f1a5a5e418aad4d2be8579290a">>},{cloud_pay_term_url,<<"https://cargo.tvzavr.ru/cloudpayments">>},{deallocation_time_of_verification,5},{ending_hour_of_support,14},{start_date_of_service,{{2019,11,30},{0,0,0}}}]
  172. 10:21:32.575 [info] GET /api/user_settings [cargo] 200 320ms
  173. 10:21:34.170 [info] cargo_account_controller _________________"login" 'POST' []
  174. 10:21:34.171 [info] cargo_account_controller:login *Logging in...
  175. 10:21:34.171 [info] UserType "users"
  176. 10:21:34.171 [info] cargo_account_controller:login ::login -> " 7 (916) 813-25-77"
  177. 10:21:34.171 [info] cargo_account_controller:login ::password -> "qwerty"
  178. 10:21:34.171 [info] cargo_account_controller:login ::cookie -> <<>>
  179. 10:21:34.178 [info] common_check:valid_email ::trim -> 7(916)813-25-77
  180. 10:21:34.178 [info] common_check:valid_email ::email -> 7(916)813-25-77 is invalid!
  181. 10:21:34.178 [info] common_check:valid_phone ::len -> 12
  182. 10:21:34.180 [error] Error in controller error:badarg Stacktrace: [{ets,lookup,[cargo_user_sessions,[]],[]},{cargo_srv,valid_cookie,1,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/cargo_srv.erl"},{line,490}]},{auth_lib,do_AAA,6,[{file,"/Users/ramankovalitskiy/Projects/cargo/src/lib/auth_lib.erl"},{line,255}]},{boss_web_controller,call_controller_action,3,[{file,"src/boss/boss_web_controller.erl"},{line,307}]},{boss_web_controller,apply_action,4,[{file,"src/boss/boss_web_controller.erl"},{line,299}]},{boss_web_controller,execute_action_inner,9,[{file,"src/boss/boss_web_controller.erl"},{line,278}]},{boss_web_controller_handle_request,process_dynamic_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,257}]},{boss_web_controller_handle_request,process_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,244}]}]
  183. 10:21:34.181 [error] "Error in controller, see console.log for details\n"
  184. 10:21:34.185 [error] POST /account/login [cargo] 500 65ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement