[rabbitmq-discuss] error on startup
Billy Chasen
billy.chasen at gmail.com
Mon Feb 2 21:40:53 GMT 2009
I think this stems from a conflict or misconfiguration on this image
(only major addition was daemontools). I was able to successfully
install rabbitmq on a fresh image from a few months ago
On Mon, Feb 2, 2009 at 4:05 PM, Billy Chasen <billy.chasen at gmail.com> wrote:
>>
>> 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