[rabbitmq-discuss] error on startup

Billy Chasen billy.chasen at gmail.com
Mon Feb 2 18:57:57 GMT 2009


Erlang (BEAM) emulator version 5.5 [source] [async-threads:0] [hipe]

Eshell V5.5  (abort with ^G)

The command:

erl -sname test -kernel inet_default_listen_options \
 '[{nodelay,true},{sndbuf,16384},{recbuf,4096}]'

ran and put me inside the shell with no errors

and this is the output you wanted:

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}]
-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

thanks,

billy

On Mon, Feb 2, 2009 at 1:38 PM, Matthias Radestock <matthias at lshift.net> wrote:
> Billy,
>
> Billy Chasen wrote:
>>
>> I'm on fc4 and installed rabbitmq with:
>>
>> yum install erlang
>> rpm -i rabbitmq-server-1.5.1-1.i386.rpm
>>
>> Everything installed fine, but on startup, I get:
>>
>> Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log,
>> _err
>>
>> Output of that log file is:
>>
>> Starting all nodes...
>> Starting node rabbit at domU-11-22-33-01-BA-45...
>> {error_logger,{{2009,2,2},{12,19,53}},"Protocol: ~p: register error:
>>
>> ~p~n",["inet_tcp",{function_clause,[{prim_inet,enc_opt_val,[[t],[22,[0,0,0,0],23,[0,0,0,2]\
>>
>> ]]},{prim_inet,setopts,2},{inet,open,7},{inet_tcp,listen,2},{inet_tcp_dist,do_listen,3},{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_\
>> protos,3}]}]}
>
> That's a new one. Looks like Erlang is unhappy about some tcp socket options
> it was told to use.
>
> What version of erlang are you running? Just start an erlang shell with
> 'erl' and report the number it displays.
>
> Also, try running the following:
>
> erl -sname test -kernel inet_default_listen_options \
>  '[{nodelay,true},{sndbuf,16384},{recbuf,4096}]'
>
> and let me know whether that starts an erlang shell ok.
>
> Finally, locate the rabbitmq-server script - it should live under
> /usr/lib/rabbitmq/bin/ - and change the line that reads
>  exec erl \
> to
>  echo erl \
> Then try to start the server normally (e.g. with
> "/etc/init.d/rabbitmq-server start") and send me the output of
> /var/log/rabbitmq/startup_log. That will tell me which options erlang is
> being started with.
>
>
> Matthias.
>




More information about the rabbitmq-discuss mailing list