mofangyin 发表于 2026-4-23 22:04:46

求助苮逆H5多区跨服版启动不了

双击跨服程序后显示


Eshell V10.0.1(abort with ^G)
([email protected])1> WARNING: Lager's console backend is incompatible with the 'old' shell, not enabling it
([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:07.830000 ===
    alarm_handler: {set,
                     {lager_console_backend,
                           "WARNING: Lager's console backend is incompatible with the 'old' shell, not enabling it"}}
([email protected])1> =CRASH REPORT==== 23-Apr-2026::22:04:07.830000 ===
crasher:
    initial call: lager_handler_watcher:init/1
    pid: <0.119.0>
    registered_name: []
    exception exit: noproc
      in functiongen:do_for_proc/2 (gen.erl, line 228)
      in call from gen_event:rpc/2 (gen_event.erl, line 239)
      in call from lager_handler_watcher:install_handler2/3 (src/lager_handler_watcher.erl, line 117)
      in call from lager_handler_watcher:init/1 (src/lager_handler_watcher.erl, line 51)
      in call from gen_server:init_it/2 (gen_server.erl, line 374)
      in call from gen_server:init_it/6 (gen_server.erl, line 342)
    ancestors:
    message_queue_len: 0
    messages: []
    links: [<0.103.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 27
    reductions: 234
neighbours:

([email protected])1> =SUPERVISOR REPORT==== 23-Apr-2026::22:04:12.299000 ===
    supervisor: {local,sup_cross}
    errorContext: start_error
    reason: {bad_return_value,{failed_to_connect_to_database,econnrefused}}
    offender: [{pid,undefined},
               {id,db_mgr},
               {mfargs,{util,start_sup_child,]}},
               {restart_type,permanent},
               {shutdown,100000},
               {child_type,worker}]
([email protected])1> =CRASH REPORT==== 23-Apr-2026::22:04:12.299000 ===
crasher:
    initial call: db_mgr:init/1
    pid: <0.211.0>
    registered_name: db_mgr
    exception exit: {bad_return_value,
                        {failed_to_connect_to_database,econnrefused}}
      in functiongen_server:init_it/6 (gen_server.erl, line 366)
    ancestors:
    message_queue_len: 0
    messages: []
    links: [<0.213.0>,<0.206.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2586
    stack_size: 27
    reductions: 14533
neighbours:

([email protected])1> =CRASH REPORT==== 23-Apr-2026::22:04:12.299000 ===
crasher:
    initial call: application_master:init/4
    pid: <0.157.0>
    registered_name: []
    exception exit: {bad_return,
                     {{main_app,start,]},
                      {'EXIT',
                     {{badmatch,
                         {error,
                        {shutdown,
                           {failed_to_start_child,db_mgr,
                            {bad_return_value,
                           {failed_to_connect_to_database,econnrefused}}}}}},
                        [{main_app,start,2,
                        [{file,"src/apps/core/main_app.erl"},{line,36}]},
                         {application_master,start_supervisor,3,
                        [{file,"application_master.erl"},{line,331}]},
                         {application_master,start_the_app,5,
                        [{file,"application_master.erl"},{line,313}]},
                         {application_master,start_it_new,7,
                        [{file,"application_master.erl"},{line,299}]}]}}}}
      in functionapplication_master:init/4 (application_master.erl, line 138)
    ancestors: [<0.156.0>]
    message_queue_len: 1
    messages: [{'EXIT',<0.158.0>,normal}]
    links: [<0.156.0>,<0.42.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 27
    reductions: 228
neighbours:

([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.299000 ===
    application: main
    exited: {bad_return,
             {{main_app,start,]},
            {'EXIT',
               {{badmatch,
               {error,
                  {shutdown,
                   {failed_to_start_child,db_mgr,
                  {bad_return_value,
                     {failed_to_connect_to_database,econnrefused}}}}}},
                [{main_app,start,2,
                  [{file,"src/apps/core/main_app.erl"},{line,36}]},
               {application_master,start_supervisor,3,
                  [{file,"application_master.erl"},{line,331}]},
               {application_master,start_the_app,5,
                  [{file,"application_master.erl"},{line,313}]},
               {application_master,start_it_new,7,
                  [{file,"application_master.erl"},{line,299}]}]}}}}
    type: temporary
([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.315000 ===
    application: ibrowse
    exited: stopped
    type: temporary
([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.315000 ===
    application: cowboy
    exited: stopped
    type: temporary
([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.315000 ===
    application: ranch
    exited: stopped
    type: temporary
([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.315000 ===
    application: cowlib
    exited: stopped
    type: temporary
([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.330000 ===
    application: ssl
    exited: stopped
    type: temporary
([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.330000 ===
    application: public_key
    exited: stopped
    type: temporary
([email protected])1> 鏈嶅嫏鍣ㄥ紓甯?throw {error,{cannot_start_application,main,{bad_return,{{main_app,start,]},{'EXIT',{{badmatch,{error,{shutdown,{failed_to_start_child,db_mgr,{bad_return_value,{failed_to_connect_to_database,econnrefused}}}}}},[{main_app,start,2,[{file,},{line,36}]},{application_master,start_supervisor,3,[{file,},{line,331}]},{application_master,start_the_app,5,[{file,},{line,313}]},{application_master,start_it_new,7,[{file,},{line,299}]}]}}}}}}
[{main,'-manage_applications/6-fun-0-',6,[{file,},{line,71}]},{lists,foldl,3,[{file,},{line,1263}]},{main,manage_applications,6,[{file,},{line,65}]},{main,start,0,[{file,},{line,21}]},{server,start,0,[{file,},{line,27}]},{init,start_em,1,[{file,},{line,1111}]},{init,do_boot,3,[{file,},{line,819}]}]([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.330000 ===
    application: asn1
    exited: stopped
    type: temporary
([email protected])1> =INFO REPORT==== 23-Apr-2026::22:04:12.330000 ===
    application: crypto
    exited: stopped
    type: temporary
([email protected])1> =SUPERVISOR REPORT==== 23-Apr-2026::22:04:12.346000 ===
    supervisor: {local,gr_counter_sup}
    errorContext: child_terminated
    reason: killed
    offender: [{pid,<0.121.0>},
               {id,gr_lager_default_tracer_counters},
               {mfargs,{gr_counter,start_link,
                                 }},
               {restart_type,transient},
               {shutdown,brutal_kill},
               {child_type,worker}]
([email protected])1> =SUPERVISOR REPORT==== 23-Apr-2026::22:04:12.346000 ===
    supervisor: {local,gr_param_sup}
    errorContext: child_terminated
    reason: killed
    offender: [{pid,<0.120.0>},
               {id,gr_lager_default_tracer_params},
               {mfargs,{gr_param,start_link,}},
               {restart_type,transient},
               {shutdown,brutal_kill},
               {child_type,worker}]
([email protected])1> 请按任意键继续. . .



这个是什么问题啊,该装的环境都装了

hangshao 发表于 2026-4-24 00:29:17

那个设置变量呢

mofangyin 发表于 2026-4-24 00:33:22

hangshao 发表于 2026-4-24 00:29
那个设置变量呢

变量设置了也不行

pp88081 发表于 2026-4-24 03:38:35

换这个版本otp_win64_24.3.4.13,这里是 Erlang/OTP 官方下载页面,点击直达:
https://www.erlang.org/downloads ,然后变量改一下:C:\Program Files\erl-24.3.4.13\bin

流年若水 发表于 2026-4-24 08:10:18

问题好像出在数据库表没有,你连上sql看下,库下表没有,这个端有问题
页: [1]
查看完整版本: 求助苮逆H5多区跨服版启动不了

本站内容如若侵犯到您的权益,请来电来函告知,我们会尽快处理!
联系QQ:1953150286,2251387361,123784736,免责申明