Connection problems - Celery/Django

Posted by RadiantHex on Stack Overflow See other posts from Stack Overflow or by RadiantHex
Published on 2010-12-28T03:49:21Z Indexed on 2010/12/28 3:54 UTC
Read the original article Hit count: 395

Filed under:
|
|
|
|

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? :|

© Stack Overflow or respective owner

Related posts about python

Related posts about django