On Tue, 28 Jun 2011 17:51:13 +0200, Andrew Colin Kissa wrote:
> On 28 Jun 2011, at 4:39 PM, Johan Hendriks wrote:
>
>> Ok i  was to soon with my yahoo.
>> It start, but it does not run as baruwa.
>> [2011-06-28 16:25:47,153: WARNING/MainProcess] 
>> [email protected] has started.
>> [2011-06-28 16:25:50,163: ERROR/MainProcess] Consumer: Connection 
>> Error: Socket closed. Trying again in 2 seconds...
>
> Okay try
>
> 
> CELERYD_MULTI="/usr/local/lib/python2.7/site-packages/baruwa-1.1.0-py2.7.egg/baruwa/manage.py
> celeryd"
>
>> When i run it straigt from the command line it looks like it works 
>> better, the broker is not  baruwa@ like it should.
>>
>> beasty run # 
>> /usr/local/lib/python2.7/site-packages/baruwa-1.1.0-py2.7.egg/baruwa/manage.py
>>  
>> celeryd
>> [2011-06-28 16:29:50,349: 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-28 16:29:50,352: WARNING/MainProcess]
>>
>>  -------------- [email protected] v2.2.6
>> ---- **** -----
>> --- * ***  * -- [Configuration]
>> -- * - **** ---   . broker:      
>> amqplib://[email protected]:5672/baruwa
>> - ** ----------   . loader:      djcelery.loaders.DjangoLoader
>> - ** ----------   . logfile:     [stderr]@WARNING
>> - ** ----------   . concurrency: 4
>> - ** ----------   . events:      OFF
>> - *** --- * ---   . beat:        OFF
>> -- ******* ----
>> --- ***** ----- [Queues]
>>  --------------   . beasty.double-l.local: exchange:default (direct) 
>> binding:beasty.double-l.local
>>                   . default:     exchange:default (direct) 
>> binding:default
>>
>> [2011-06-28 16:29:50,378: WARNING/MainProcess] 
>> [email protected] has started.
>>
>>
>> Any more hints what could be wrong.!! or to be more precise what i 
>> am doing wrong ! :D
>
>>From the command line it is working correctly
>
>>
>> If i got this working i will create a baruwa howto on the FreeBSD 
>> forum.
>
> Why don't u add it to the baruwa wiki ?
>
> --
> Baruwa - www.baruwa.org
>
> _______________________________________________
> Baruwa mailing list
> [email protected]
> http://lists.baruwa.org/mailman/listinfo/baruwa

If i do 
CELERYD_MULTI="/usr/local/lib/python2.7/site-packages/baruwa-1.1.0-py2.7.egg/baruwa/manage.py
 
celeryd
I get the following

beasty ~ # /usr/local/etc/rc.d/celery start
/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, )))
Usage: 
/usr/local/lib/python2.7/site-packages/baruwa-1.1.0-py2.7.egg/baruwa/manage.py 
celeryd [options]

Runs a Celery worker node.

/usr/local/lib/python2.7/site-packages/baruwa-1.1.0-py2.7.egg/baruwa/manage.py: 
error: no such option: --uid

I will write the wiki page also.


regards,
Johan Hendriks



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

Reply via email to