|
Hi, i had successfully installed osqa on my local ubuntu computer and made some changes to it. Now i am having problems with deploying it on the centOS server. The syncdb command runs successfully but i can't access the vhost (getting 500 error). This is the error in the log file:
I have installed markdown, mysql-python etc (following the steps outlined here). I tried 'import markdown' in Python interactive shell and it works fine. I googled around and i think i have to set the search directories to the directory where the egg files are located. I did this in osqa-server/osqa.wsgi but this does not seem to solve the problem. Any help will be appreciated. |
|
You'll need to get your Python path right. Please can you post your osqa.wsgi? And search previous questions for wsgi - this sort of problem happens quite often. And have a look at the wsgi file in the bitnami stack, if there is one, to compare against yours. 1
Thanks! I have a few leads and am working on it. Will let you know if it works out.
(29 Jul '11, 08:42)
Balaji
I used http://www.activestate.com/activepython and running 2.7 without any issues. centOS
(30 Jul '11, 12:28)
zerobandwidth
|
|
Here you go - @bitnami to the rescue! (I'm just gonna start deploying this answer to every "I'm having trouble installing" question, until we find one where it doesn't work) Bitnami just released a (completely free of charge) BitNami Stack for OSQA: http://bitnami.org/stack/osqa It includes everything that you need to install OSQA and is available as a native installer for Linux, Windows and OS X, as well as in the form of a virtual appliance / virtual machine (with Ubuntu or OpenSUSE) or as an AMI (Amazon Machine Image) for Amazon. @bitnami says: "We built this package because we're using OSQA ourselves and wanted to make it easier for others to deploy." Thanks for your help! I am using MySQL while the stack uses something else. Also i have made quite some changes to osqa and have spent the last 4-5 days trying to get it working on centOS. So, I am hesitant to start all over again. Is there no ways of fixing the error? Please help.
(29 Jul '11, 06:00)
Balaji
|