我在谷歌上搜索了问题所在,但一无所获,我真的需要一些帮助
“beam/beam_load.c(916): 加载模块 inet:\n 时出错,格式为大小 44416,大于二进制大小 12280\n”
~$ sudo rabbitmq-server
{error_logger,{{2014,3,6},{17,0,40}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{'EXIT',{undef,[{inet,udp_options,[[{port,0},{recbuf,8192}],inet]},{inet_udp,open,2},{inet_config,set_hostname,0},{inet_config,init,0},{inet_db,start_link,0},{supervisor,do_start_child,2},{supervisor,start_children,3},{supervisor,init_children,2}]}}},{offender,[{pid,undefined},{name,inet_db},{mfargs,{inet_db,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2014,3,6},{17,0,40}},"~s~n",["beam/beam_load.c(916): Error loading module inet:\n form size 44416 greater than size 12280 of binary\n"]}
{error_logger,{{2014,3,6},{17,0,40}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
答案1
事实证明,我的 Erlang 安装已损坏,我不得不清除 erlang(不幸的是,它删除了 rabbitmq),然后我通过 apt 重新安装,一切恢复正常。
我还借此机会通过 Erlang 解决方案仓库更新到了最新版本