<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">On a fresh install of rabbitmq-server 1.5.4 on ubuntu 8.10 server the install fails after trying to start rabbitmq-server.
It looks like when the install finishes installing and then trys to do an /etc/init.d/rabbitmq-server start, the process starts ok, but it doesn't daemonize. Eventually the install times out and says it fails:
<pre>
...
Starting rabbitmq-server:
[... long wait... ]
FAILED - check /var/log/rabbitmq/startup_log, _err
rabbitmq-server.
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing rabbitmq-server (--configure):
subprocess post-installation script returned error exit status 1
...
</pre>
ps shows that it is running:
<pre>
29782 ? Ssl 0:00 /usr/lib/erlang/erts-5.5.5/bin/beam -W w -K true -A30 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -pa /usr/lib/rabbitmq/bin/../ebin -noshell -noinput -s rabbit -sname rabbit -boot start_sasl -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" -noshell -noinput
</pre>
If I look at the startup_log it looks like it started fine:
<pre>
Starting all nodes...
Starting node rabbit@dashboard...
RabbitMQ 1.5.4 (AMQP 8-0)
Copyright (C) 2007-2009 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.
Licensed under the MPL. See <a href="http://www.rabbitmq.com/">http://www.rabbitmq.com/</a>
</pre><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">
Logging to "/var/log/rabbitmq/rabbit.log" </span></font><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">SASL logging to "/var/log/rabbitmq/rabbit-sasl.log"
</span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">starting database ...done</span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">starting core processes ...done </span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">starting recovery ...done </span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">starting persister ...done </span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">starting guid generator ...done </span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">starting builtin applications ...done </span></font></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">starting TCP listeners ...done
broker </span></font><div><br></div><div>running
startup_err does have this:<pre>Error: cannot_get_pid
</pre>
It does the same thing if I manually run /etc/initd./rabbitmq-server start except it just never returns from the command (ie the process doesn't daemonize)
Is this normal (my pre 1.5.3 installs on other systems didn't have this problem) Or am I forgetting to do something?
Thanks!
<br><br><div apple-content-edited="true"> <div><div><div><div><div><div><div>__________________</div><div>Robert J Berger - CTO</div><div>(Our name has been changed from Cinch to Runa)</div><div>520 San Antonio Rd Suite 210, Mountain View, CA 94040</div><div>+1 408-838-8896</div><div><a href="http://blog.ibd.com">http://blog.ibd.com</a> / <a href="http://www.runa.com">http://www.runa.com</a></div></div></div></div></div></div></div> </div><br></div></div></body></html>