Hello all.
I am totaly lost with the whole celery stuff.
I have the rabbitMQ deamon running, but i have no idea where and how to 
configure celeryd.
from the rabbitmq log

=INFO REPORT==== 27-Jun-2011::14:06:19 ===
Limiting to approx 32668 file handles (29399 sockets)

=INFO REPORT==== 27-Jun-2011::14:06:19 ===
Memory limit set to 1279MB.

=INFO REPORT==== 27-Jun-2011::14:06:19 ===
msg_store_transient: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 27-Jun-2011::14:06:19 ===
msg_store_persistent: using rabbit_msg_store_ets_index to provide index

=INFO REPORT==== 27-Jun-2011::14:06:19 ===
started TCP Listener on [::]:5672

=INFO REPORT==== 27-Jun-2011::14:06:19 ===
started TCP Listener on 0.0.0.0:5672

but celeryd i can not start.
What file do i need to configure.
i did download the init script.

if i start it the following message comes up.
beasty ~ # /usr/local/etc/rc.d/celery start
celeryd-multi v2.2.6
 > Starting nodes...
 > celery.beasty.double-l.local: 
/usr/local/lib/python2.7/site-packages/celery-2.2.6-py2.7.egg/celery/loaders/default.py:54:
 
NotConfigured: No 'celeryconfig' module found! Please make sure it 
exists and is available to Python.
   "is available to Python." % (configname, )))


this is my log from celery
[2011-06-27 14:10:03,332: WARNING/MainProcess] 
/usr/local/lib/python2.7/site-packages/celery-2.2.6-py2.7.egg/celery/apps/worker.py:124:
 
UserWarning: Running
celeryd with superuser privileges is not encouraged!
   "Running celeryd with superuser privileges is not encouraged!")
[2011-06-27 14:10:03,342: WARNING/MainProcess] -------------- 
[email protected] v2.2.6
---- **** -----
--- * ***  * -- [Configuration]
-- * - **** ---   . broker:      amqplib://guest@localhost:5672/
- ** ----------   . loader:      celery.loaders.default.Loader
- ** ----------   . logfile:     /var/log/celery/[email protected]@INFO
- ** ----------   . concurrency: 4
- ** ----------   . events:      OFF
- *** --- * ---   . beat:        OFF
-- ******* ----
--- ***** ----- [Queues]
  --------------   . celery:      exchange:celery (direct) binding:celery


[Tasks]
[2011-06-27 14:10:03,350: INFO/PoolWorker-1] child process calling 
self.run()
[2011-06-27 14:10:03,352: INFO/PoolWorker-2] child process calling 
self.run()
[2011-06-27 14:10:03,354: INFO/PoolWorker-3] child process calling 
self.run()
[2011-06-27 14:10:03,356: INFO/PoolWorker-4] child process calling 
self.run()
[2011-06-27 14:10:03,358: WARNING/MainProcess] 
[email protected] has started.
[2011-06-27 14:10:06,364: ERROR/MainProcess] Consumer: Connection Error: 
Socket closed. Trying again in 2 seconds...
[2011-06-27 14:10:07,010: WARNING/MainProcess] celeryd: Hitting Ctrl+C 
again will terminate all running tasks!
[2011-06-27 14:10:07,011: WARNING/MainProcess] celeryd: Warm shutdown 
(MainProcess)
[2011-06-27 14:10:08,101: INFO/PoolWorker-4] process shutting down
[2011-06-27 14:10:08,101: INFO/PoolWorker-1] process shutting down
[2011-06-27 14:10:08,101: INFO/PoolWorker-2] process shutting down
[2011-06-27 14:10:08,101: INFO/PoolWorker-1] process exiting with exitcode 0
[2011-06-27 14:10:08,102: INFO/PoolWorker-2] process exiting with exitcode 0
[2011-06-27 14:10:08,102: INFO/PoolWorker-3] process shutting down
[2011-06-27 14:10:08,103: INFO/PoolWorker-3] process exiting with exitcode 0
[2011-06-27 14:10:08,101: INFO/PoolWorker-4] process exiting with exitcode 0
[2011-06-27 14:10:08,108: INFO/MainProcess] process shutting down

i see it trys to connect with amqplib://guest@localhost:5672/
But this user is disabled as by the installation guide.

BTW i am on FreeBSD 8.2-STABLE

Thanks for your time!

regards,
Johan Hendriks



_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to