problem in celeryd

134 views
Skip to first unread message

hasan mousavi

unread,
Dec 25, 2012, 3:04:22 AM12/25/12
to openqu...@googlegroups.com
Dear all
I installed OpenQuake and run it correctly. But Now, I have below problem in running it:

>hasan@hasan:~/Desktop/openquake-test/openquake-test1$ openquake --config-file config.gem
>[2012-12-17 06:09:51,684 #2 hasan PROGRESS MainProcess/2322 root] ** initializing (hazard)
>[2012-12-17 06:09:53,153 #2 hasan PROGRESS MainProcess/2322 root] ** pre_executing (hazard)
>[2012-12-17 06:09:56,359 #2 hasan PROGRESS MainProcess/2322 root] ** executing (hazard)
>[2012-12-17 06:09:57,389 #2 hasan CRITICAL MainProcess/2322 root] No live compute nodes, aborting >calculation
>[2012-12-17 06:09:58,446 #2 - ERROR MainProcess/2323 supervisor] job process 2322 crashed or terminated
>hasan@hasan:~/Desktop/openquake-test/openquake-test1$

When I run celeryd,
it give some error message

hasan@hasan:~/Desktop/openquake-test/openquake-test1$ celeryd
/usr/local/lib/python2.7/dist-packages/celery-2.4.5-py2.7.egg/celery/loaders/default.py:45: NotConfigured: No 'celeryconfig' module found! Please make sure it exists and is available to Python.
  "is available to Python." % (configname, )))

[2012-12-17 10:51:08,977: WARNING/MainProcess] 

 -------------- celery@hasan v2.4.5
---- **** -----
--- * ***  * -- [Configuration]
-- * - **** ---   . broker:      amqp://guest@localhost:5672//
- ** ----------   . loader:      celery.loaders.default.Loader
- ** ----------   . logfile:     [stderr]@WARNING
- ** ----------   . concurrency: 1
- ** ----------   . events:      OFF
- *** --- * ---   . beat:        OFF
-- ******* ----
--- ***** ----- [Queues]
 --------------   . celery:      exchange:celery (direct) binding:celery
                 

[2012-12-17 10:51:08,998: WARNING/MainProcess] celery@hasan has started.
openquake --config-file config.gem

and I don,t get any feedback

I will be glad if anyone can help me on this issue.
hasan mousavi

Lars Butler

unread,
Dec 25, 2012, 6:11:22 AM12/25/12
to openqu...@googlegroups.com
Hi Hasan,

When you start celery, it needs to know where to find the celeryconfig.py module. I believe the openquake software package installs the celeryconfig.py module to /usr/openquake. There are two ways to point celeryd to this file:

1. cd to /usr/openquake and run celeryd from there.
2. run celeryd like so: $ celery --config=/usr/openquake/celeryconfig.py

Try either one of those, then try running your calculation again. Let us know if you need more help.

Cheers,
Lars

hasan mousavi

unread,
Dec 25, 2012, 6:24:40 AM12/25/12
to openqu...@googlegroups.com
Hi Lars
Thanks for your useful comment
my problem is solved
Hasan

hasan mousavi

unread,
Dec 25, 2012, 6:27:57 AM12/25/12
to openqu...@googlegroups.com
Hi Lars
Thanks for your useful comment
my problem is solved
Hasan

On Tuesday, December 25, 2012 2:41:22 PM UTC+3:30, Lars Butler wrote:
Reply all
Reply to author
Forward
0 new messages