[rabbitmq-discuss] error on startup

Matthias Radestock matthias at lshift.net
Mon Feb 2 19:07:58 GMT 2009


Billy,

Billy Chasen wrote:
> 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
> t -kernel inet_de\
> fault_connect_options t -rabbit tcp_listeners [{"0.0.0.0", 5672}]

Something is not right here. Notice how the inet_default_listen_options 
and inet_default_connect_options just say 't', which is precisely what 
Erlang is complaining about.

Did you modify the script or override SERVER_ERL_ARGS or 
RABBITMQ_SERVER_ERL_ARGS?

The script should have the following line in it:

[ "x" = "x$RABBITMQ_SERVER_ERL_ARGS" ] && RABBITMQ_SERVER_ERL_ARGS="+K 
true +A30 \
-kernel inet_default_listen_options 
[{nodelay,true},{sndbuf,16384},{recbuf,4096}] \
-kernel inet_default_connect_options [{nodelay,true}]"

Is that there? If so try putting single quotes around the option value, i.e.

[ "x" = "x$RABBITMQ_SERVER_ERL_ARGS" ] && RABBITMQ_SERVER_ERL_ARGS="+K 
true +A30 \
-kernel inet_default_listen_options 
'[{nodelay,true},{sndbuf,16384},{recbuf,4096}]' \
-kernel inet_default_connect_options '[{nodelay,true}]'"


Matthias.




More information about the rabbitmq-discuss mailing list