long night ... cannot make my second celery / RabbitMQ launch work.
step 1
sudo rabbitmq-server
works: ok!
step 2
python manage.py celeryd -l info
error: [2010-12-28 03:38:24,690: ERROR/MainProcess] CarrotListener: Connection Error: Socket closed. Trying again in 28 seconds...
I definitely:
- added user rabbitmq and vhost
- updated by Django setings.py
Edit:
I think this could be due to installing from .deb instead of apt-get.
After uninstalling the deb and installing the apt-get version, I get the following:
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing rabbitmq-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
My decision:
apt-get --purge remove rabbitmq-server
apt-get install rabbitmq-server
... no comments ... maybe you need a dream :)
Any ideas on how I could debug this ?: |
source
share