在Ubuntu 14.04上安装了erlang-base-hipe的Rabbitmq启动正常,但在/ var / log / rabbitmq / startup_log文件中记录了其中几条消息
Error: function_clause
Stack trace: [{error_logger_file_h,write_event,
[{<0.4819.0>,"/var/log/rabbitmq/rabbit@rab04.log",[]},
{info_msg,<0.31.0>,
{<0.2.0>,"HiPE in use: compiled ~B modules in ~Bs.~n",
"9\e"}}],
[{file,"error_logger_file_h.erl"},{line,114}]},
{error_logger_file_h,handle_event,2,
[{file,"error_logger_file_h.erl"},{line,79}]},
{rabbit_error_logger_file_h,safe_handle_event,3,[]},
{gen_event,server_update,4,[{file,"gen_event.erl"},{line,538}]},
{gen_event,server_notify,4,[{file,"gen_event.erl"},{line,520}]},
{gen_event,server_notify,4,[{file,"gen_event.erl"},{line,522}]},
{gen_event,handle_msg,5,[{file,"gen_event.erl"},{line,261}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]
RabbitMQ工作正常,但是,我们不再将信息写入错误日志文件。
更改是我们安装了erlang-base-hipe并使用
修改了/etc/rabbitmq/rabbitmq.config {hipe_compile, true}
/var/log/rabbitmq/rabbit@rab04.log上的权限为644,由用户和组rabbitmq拥有,rabbitmq是为rabbitmq服务配置的用户。
有关如何调试和/或修复此问题的建议表示赞赏。