in discussion WikiPBX / Technical Support » Install Issues Centos 5.4
It's described in mod_wsgi docs.
It seems you have no tags attached to pages. To attach a tag simply click on the tags button at the bottom of any page.
It's described in mod_wsgi docs.
starting from scratch again..
gee i love VM servers..
I just googled that error and got this..
I completely forgot about this document:
http://www.venkysblog.com/2009/12/centos-python-wsgi-dango/
which was linked from the installation manual and centos-install-notes but it was kind of buried.
I have remd the mod_python out.. now new error..
i'll get thorough this if i dont die of old age first…
error-----—-
[Errno 13] Permission denied: '/root/.python-eggs'
The Python egg cache directory is currently set to:
/root/.python-eggs
is there any easy way to fix this ??
by the way i really appreciate the help..
If you need both, check out http://wikipbx.subwiki.com/install-mod-wgi#toc9 Otherwise just get rid of mod_python if you don't need it for anything else.
No rpm or deb packages yet… kind of hoping for someone with a lot of experience packaging python web apps to come along and offer some help.
The thing is the user base seems to be about 50/50 split among Ubuntu/Deb and CentOS, so it would be nice to have a solution that worked on both.
well it is loading both..
has anyone made a rpm for all this ??
Ummm.. that looks way off the mark.
For starters you need to use mod_wsgi instead of mod_python
close enough..
I have included the settings in the apache.conf..
it seems that the web server is not reading !! the python files even though it is loading the module..
this is from my python config..
LoadModule python_module modules/mod_python.so
<Directory "/var/www/manual/mod/mod_python">
<Files *.html>
SetHandler default-handler
</Files>
</Directory>
is that correct ?
Did you do the steps listed here?
http://wikipbx.subwiki.com/configure-wikipbx-mod-wsgi
You should see a page with a wikipbx logo and a link that says "add root user"
there is nothing else on the page..
if i just use http://host/ i get the apache test page..
there doesn't seem to be a default page set..
what should the default page be ?
thanks for this..
Is there anything else on that page besides those 3 lines?
Btw, you're supposed to access just http://host/ , wikipbx.wsgi is mod_wsgi handler that isn't exposed in the URLs.
that is what is displayed in the browser when trying to access http://host/wikipbx.wsgi
You've pasted only a piece of code from wikipbx, not the actual error message that you've had.
PS is there anyone the can install this professionally ?
well i have progressed, i have a new error..
I would like to help.. Generally dont in fear of leading someone astray..
New Error..
os.environ['DJANGO_SETTINGS_MODULE'] = 'wikipbx.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
any ideas anyone ?
Unfortunately no ..
My advice would be to go through the installation manual and refer to the forum post that you mentioned to do things the Centos way when appropriate. (eg, install python packages from source rather than relying on apt-get package manager).
Any contributions on the forum or wiki you could make for other Centos users would be greatly appreciated .. its definitely one of the Linux flavors we want to support as much as possible.
Update: as of version 0.8, wikipbx requires python 2.5 or later
Checked into svn in the contrib/solo9300 directory. Thanks again for the contribution!
is there any easy to follow install instruction for Centos 5 ?
regards Fred