[rabbitmq-discuss] error on startup

Billy Chasen billy.chasen at gmail.com
Mon Feb 2 21:05:34 GMT 2009


>
> Do you know what shell /bin/sh is on your system?

it's bash

>
> And did the second option, i.e. switching the shell to 'bash', work?

no, sh is a symlink to bash.  This is all very weird, because if I
start quoting things, it will work.

I changed:

erl -pa /usr/lib/rabbitmq/bin/../ebin -noinput -s rabbit -sname rabbit
-boot start_sasl +W w +K true +A30 -kernel inet_default_listen_options
'[{nodelay,true},{sndbuf,16384},{recbuf,4096}]' -kernel
inet_default_connect_options '[{nodelay,true}]' -rabbit tcp_listeners
[{"0.0.0.0", 5672}] -sasl errlog_type error -kernel error_logger
{file,"/var/log/rabbitmq/rabbit.log"} -sasl sasl_error_logger
{file,"/var/log/rabbitmq/rabbit-sasl.log"} -os_mon start_cpu_sup true
-os_mon start_disksup false -os_mon start_memsup false -os_mon
start_os_sup false -os_mon memsup_system_only true -os_mon
system_memory_high_watermark 0.95 -mnesia dir
"/var/lib/rabbitmq/mnesia/rabbit" -noinput

to:

erl -pa /usr/lib/rabbitmq/bin/../ebin -noinput -s rabbit -sname rabbit
-boot start_sasl +W w +K true +A30 -kernel inet_default_listen_options
'[{nodelay,true},{sndbuf,16384},{recbuf,4096}]' -kernel
inet_default_connect_options '[{nodelay,true}]' -rabbit tcp_listeners
'[{"0.0.0.0", 5672}]' -sasl errlog_type error -kernel error_logger
'{file,"/var/log/rabbitmq/rabbit.log"}' -sasl sasl_error_logger
'{file,"/var/log/rabbitmq/rabbit-sasl.log"}' -os_mon start_cpu_sup
true -os_mon start_disksup false -os_mon start_memsup false -os_mon
start_os_sup false -os_mon memsup_system_only true -os_mon
system_memory_high_watermark 0.95 -noinput

and it worked.

however, for some reason, in the latter, I had to take out  -mnesia
dir "var/lib/rabbitmq/mnesia/rabbit" because it returned {"init
terminating in do_boot",{aborted,{aborted,{application_load_error,{bad_environment_value,"var/lib/rabbitmq/mnesia/rabbit"}}}}}

I upgraded bash to 3.2.48, same problem

-billy

>
>
> Matthias.
>




More information about the rabbitmq-discuss mailing list