I am attempting to get celeryd running as a daemon on RHEL 6.3 for django. I am unable to get the process running. Our celery process is within /opt/apps/prod/bin. Where does the celeryconfig have to live to recognize it and how do I get celery to run as a daemon. We had this running correctly on ubuntu based on the configuration steps from the celery docs.
hey guys am learning the django frame work as am interested in using the python modules for developing websites. can somebody suggest me a good IDE for working with django?can i be using eclipse with it? and also since am new to python and django i would also be glad if am given suggestions :)
I am attempting to daemonize a paster process which launches celeryd.
celeryd only exists in a python virtual environment.
I have no problem with paster serve, as that can daemonize itself. celeryd does not have this ability coded and it is recommended to use an init script that had been contributed to the project.
I have a problem running Django with mod_wsgi and Apache on CentOS.
Django runs on Python 2.5 or above but CentOS comes with Python 2.4. I can't just upgrade the default Python 2.4 because it breaks other services such as yum. I installed Python 2.7 into different directory.
I followed most of the tutorial and article about running Django with mod_wsgi but never able successfully run it.
I have installed Python 2.7 but still kept Python 2.4. When I enter the command python, it runs python 2.4 and I want to keep it this way. But how to I set Django to use /usr/local/bin/python2.7 when it runs?
[EDIT]
It is running on Apache with WSGI
I'm trying to setup Django w/ MySQL.
I've got Apache and mod_wsgi up and running, and am now trying to introduce django to mysql.
I've created a database named 'django' and a 'django' user.
I've granted all to django on django:
grant ALL on django.* to 'django'@'localhost';
Django's settings.py has been configured with MySQL's settings:
DATABASES = {
'default': {
'ENGINE': 'djan
I set up Django Mailer and added the two commands to the crontab:
* * * * * root python /srv/www/cpm/manage.py send_mail >> /srv/www/cpm/cron_mail.log
0,20,40 * * * * root python /srv/www/cpm//manage.py retry_deferred >> /srv/www/cpm/cron_mail_deferred.log
CPM is the directory that holds my Django project.
From the Django-Documentation:
The django-admin.py script should be on your system path if you installed Django via its setup.py utility. If it’s not on your path, you can find it in site-packages/django/bin within your Python installation. Consider symlinking it from some place on your path, such as /usr/local/bin.'
How do I 'symlink' and how do I know when I need to do it?
I'm new to Linux and am trying to set up Python / Django on my machine! I installed Python 3.3 from the source file and it was compiled into /usr/local/bin.