[rabbitmq-discuss] remote startup over ssh hangs

Matthias Radestock matthias at rabbitmq.com
Fri Dec 17 10:50:36 GMT 2010


Anton,

Anton Lebedevich wrote:
> It seems that rabbitmq startup scripts don't detach from controlling
> terminal properly.
> When I start rabbitmq on remote host over ssh in such way
> # ssh $HOST sudo invoke-rc.d rabbitmq-server start
> it starts rabbitmq but then ssh hangs. Workaround is to use ssh -t.
> 
> Isn't it better to start rabbitmq-server with "-detached" instead of
> "-noinput" in rabbit_multi:run_rabbitmq_server_unix() ?

That would swallows stdout/err, including various diagnostics and error 
messages without which it would be hard to troubleshoot a failing 
startup. I see though that we do exactly that on Windows. Hmmm. Will 
file a bug.


Matthias.


More information about the rabbitmq-discuss mailing list