Connection problems - Celery/Django
- by RadiantHex
Hi folks,
long night... can't get my second Celery/RabbitMQ setup run to work.
step 1
sudo rabbitmq-server
runs: 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 have definitely:
added rabbitmq user and vhost
updated the Django setings.py
Edit:
I think it might have to with installing from a .deb instead of apt-get.
After uninstalling the deb and installing the apt-get version I get this:
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)
Any ideas on how I could debug this? :|