[rabbitmq-discuss] rabbitmq with only ldap auth

Joey Jiao joey.jiaojg at gmail.com
Mon Jun 30 11:34:25 BST 2014


It's actually readable with 644 permission.
How can I know where it read from the config file

$ ll /etc/rabbitmq/
总用量 28
drwxr-xr-x   2 root root  4096  6月 30 18:25 ./
drwxr-xr-x 155 root root 12288  6月 30 16:17 ../
-rw-r--r--   1 root root    67  6月 30 18:20 enabled_plugins
-rw-r--r--   1 root root   549  6月 30 18:19 rabbitmq.conf
-rw-r--r--   1 root root    35  6月 30 18:23 rabbitmq-env.conf



2014-06-30 18:30 GMT+08:00 Simon MacMullen <simon at rabbitmq.com>:

> Your config file is not being read.
>
> As I've said twice before, the log file will tell you where the server
> looked for the config file. Please check that.
>
> If it is looking in the right place but still says "not found", you might
> have a permissions issue - the config file must be readable by the rabbitmq
> user.
>
> Cheers, Simon
>
>
> On 30/06/14 11:25, Joey Jiao wrote:
>
>> I have set CONFIG_FILE=/etc/rabbitmq/rabbitmq in
>> /etc/rabbitmq/rabbitmq-env.conf
>>
>>
>> $ sudo rabbitmqctl environment
>> Application environment of node 'rabbit at jiangenj-pro' ...
>> [{auth_backends,[*rabbit_auth_backend_internal]*},
>>
>>   {auth_mechanisms,['PLAIN','AMQPLAIN']},
>>   {backing_queue_module,rabbit_variable_queue},
>>   {channel_max,0},
>>   {cluster_nodes,{[],disc}},
>>   {cluster_partition_handling,ignore},
>>   {collect_statistics,fine},
>>   {collect_statistics_interval,5000},
>>   {default_permissions,[<<".*">>,<<".*">>,<<".*">>]},
>>   {default_user,<<"guest">>},
>>   {default_user_tags,[administrator]},
>>   {default_vhost,<<"/">>},
>>   {delegate_count,16},
>>   {disk_free_limit,50000000},
>>   {enabled_plugins_file,"/etc/rabbitmq/enabled_plugins"},
>>   {error_logger,{file,"/var/log/rabbitmq/rabbit at jiangenj-pro.log"}},
>>   {frame_max,131072},
>>   {halt_on_upgrade_failure,true},
>>   {heartbeat,580},
>>   {hipe_compile,false},
>>   {hipe_modules,[rabbit_reader,rabbit_channel,gen_server2,
>> rabbit_exchange,
>>                  rabbit_command_assembler,rabbit_framing_amqp_0_9_1,
>>                  rabbit_basic,rabbit_event,lists,queue,priority_queue,
>>
>> rabbit_router,rabbit_trace,rabbit_misc,rabbit_binary_parser,
>>                  rabbit_exchange_type_direct,rabbit_guid,rabbit_net,
>>                  rabbit_amqqueue_process,rabbit_variable_queue,
>>
>> rabbit_binary_generator,rabbit_writer,delegate,gb_sets,lqueue,
>>                  sets,orddict,rabbit_amqqueue,rabbit_limiter,gb_trees,
>>
>> rabbit_queue_index,rabbit_exchange_decorator,gen,dict,ordsets,
>>                  file_handle_cache,rabbit_msg_store,array,
>>                  rabbit_msg_store_ets_index,rabbit_msg_file,
>>
>> rabbit_exchange_type_fanout,rabbit_exchange_type_topic,mnesia,
>>
>> mnesia_lib,rpc,mnesia_tm,qlc,sofs,proplists,credit_flow,pmon,
>>
>> ssl_connection,tls_connection,ssl_record,tls_record,gen_fsm,
>>                  ssl]},
>>   {included_applications,[]},
>>   {log_levels,[{connection,info}]},
>>   {loopback_users,[<<"guest">>]},
>>   {msg_store_file_size_limit,16777216},
>>   {msg_store_index_module,rabbit_msg_store_ets_index},
>>   {plugins_dir,"/usr/lib/rabbitmq/lib/rabbitmq_server-
>> 3.3.4/sbin/../plugins"},
>>   {plugins_expand_dir,"/var/lib/rabbitmq/mnesia/rabbit@
>> jiangenj-pro-plugins-expand"},
>>   {queue_index_max_journal_entries,65536},
>>   {reverse_dns_lookups,false},
>>   {sasl_error_logger,{file,"/var/log/rabbitmq/rabbit@
>> jiangenj-pro-sasl.log"}},
>>   {server_properties,[]},
>>   {ssl_apps,[asn1,crypto,public_key,ssl]},
>>   {ssl_cert_login_from,distinguished_name},
>>   {ssl_listeners,[]},
>>   {ssl_options,[]},
>>   {tcp_listen_options,[binary,
>>                        {packet,raw},
>>                        {reuseaddr,true},
>>                        {backlog,128},
>>                        {nodelay,true},
>>                        {linger,{true,0}},
>>                        {exit_on_close,false}]},
>>   {tcp_listeners,[5672]},
>>   {trace_vhosts,[]},
>>   {vm_memory_high_watermark,0.4},
>>   {vm_memory_high_watermark_paging_ratio,0.5}]
>> ...done.
>>
>>
>
> --
> Simon MacMullen
> RabbitMQ, Pivotal
>



-- 
-Joey Jiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140630/b4ad5e55/attachment.html>


More information about the rabbitmq-discuss mailing list