我使用自制软件安装了rabbitmq。我正在尝试启动rabbitmq服务器,但我总是收到这个错误,我无法弄清楚为什么!
我已经安装了 erlang,并且没有在同一个端口上运行其他应用程序。
$rabbitmq 服务器 {error_logger,{{2013,2,11},{22,37,49}},"无法设置短节点名!\n请检查您的配置\n",[]} {error_logger,{{2013,2,11},{22,37,49}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,},{registered_name,[ ]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,320}]},{proc_lib,init_p_do_apply,3,[ {file,"proc_lib.erl"},{line,227}]}]}},{ancestors,[net_sup,kernel_sup,]},{messages,[]},{links,[]},{dictionary,[ {longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,249}],[]]} {error_logger,{{2013,2,11},{22,37,49}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution} },{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[rabbitmqprelaunch1593,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type ,工人}]}]} {error_logger,{{2013,2,11},{22,37,49}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[ {pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]} {error_logger,{{2013,2,11},{22,37,49}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}} ,{类型,永久}]} {"内核 pid 终止",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"} 崩溃转储被写入:erl_crash.dump 内核 pid 终止 (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
顺便说一句,erl -sname abc
给出相同的输出
更新:
这就是我所拥有的/etc/hosts
127.0.0.1 本地主机 255.255.255.255 广播主机