Install Issues Centos 5.4
Forum » WikiPBX / Technical Support » Install Issues Centos 5.4
Started by: mickey_mousemickey_mouse
On: 1268086800|%e %b %Y, %H:%M %Z|agohover
Number of posts: 32
rss icon RSS: New posts
Summary:
after following install there is no ' initserver.py '
Install Issues Centos 5.4
mickey_mousemickey_mouse 1268086800|%e %b %Y, %H:%M %Z|agohover

I have followed the install procedure at ' http://wikipbx.subwiki.com/forum/t-115012/freeswitch-svn-1-0-2-wikipbx-svn-61-centos-5-1-installation-instructions '
and after completing there is no ' initserver.py '
I would greatly appreciate some help..

thanks in advance Fred

Reply  |  Options
Unfold Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268086800|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
stas_shtinstas_shtin 1268087573|%e %b %Y, %H:%M %Z|agohover

This version was written for an older version of wikipbx, in v.0.8 that script isn't needed and doesn't exist.

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by stas_shtinstas_shtin, 1268087573|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268088725|%e %b %Y, %H:%M %Z|agohover

is there any easy to follow install instruction for Centos 5 ?

regards Fred

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268088725|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268090017|%e %b %Y, %H:%M %Z|agohover

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.

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268090017|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268105983|%e %b %Y, %H:%M %Z|agohover

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 ?

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268105983|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268110132|%e %b %Y, %H:%M %Z|agohover

PS is there anyone the can install this professionally ?

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268110132|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
stas_shtinstas_shtin 1268123067|%e %b %Y, %H:%M %Z|agohover

You've pasted only a piece of code from wikipbx, not the actual error message that you've had.

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by stas_shtinstas_shtin, 1268123067|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268128658|%e %b %Y, %H:%M %Z|agohover

that is what is displayed in the browser when trying to access http://host/wikipbx.wsgi

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268128658|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
stas_shtinstas_shtin 1268139847|%e %b %Y, %H:%M %Z|agohover

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.

Unfold Re: Install Issues Centos 5.4 by stas_shtinstas_shtin, 1268139847|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268172876|%e %b %Y, %H:%M %Z|agohover

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..

Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268172876|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268173999|%e %b %Y, %H:%M %Z|agohover

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"

Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268173999|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268177078|%e %b %Y, %H:%M %Z|agohover

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

  1. Override type-map handler for /var/www/manual

<Directory "/var/www/manual/mod/mod_python">
<Files *.html>
SetHandler default-handler
</Files>
</Directory>

is that correct ?

Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268177078|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268178233|%e %b %Y, %H:%M %Z|agohover

Ummm.. that looks way off the mark.

For starters you need to use mod_wsgi instead of mod_python

Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268178233|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268179828|%e %b %Y, %H:%M %Z|agohover

well it is loading both..
has anyone made a rpm for all this ??

Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268179828|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268181934|%e %b %Y, %H:%M %Z|agohover

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.

Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268181934|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268182189|%e %b %Y, %H:%M %Z|agohover

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..

Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268182189|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268183387|%e %b %Y, %H:%M %Z|agohover

I just googled that error and got this..

http://discuss.joyent.com/viewtopic.php?id=11174

Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268183387|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
stas_shtinstas_shtin 1268209737|%e %b %Y, %H:%M %Z|agohover

It's described in mod_wsgi docs.

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by stas_shtinstas_shtin, 1268209737|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268182244|%e %b %Y, %H:%M %Z|agohover

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.

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268182244|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268190814|%e %b %Y, %H:%M %Z|agohover

starting from scratch again..

gee i love VM servers..

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268190814|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268283162|%e %b %Y, %H:%M %Z|agohover

well i started from scratch with a Debian VM and have it up and running..

can even see the web page..

but can not log in.. using the root user i have made ??

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268283162|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268283861|%e %b %Y, %H:%M %Z|agohover

not panic…

i rebooted the server and it is fine..

im in there..

i'll see how i go driving it..

thanks for all the help..

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268283861|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268291811|%e %b %Y, %H:%M %Z|agohover

just one more question if I may..

every time i try to add a end point, it seems to hang ?

any ideas..

thanks again..

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268291811|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
stas_shtinstas_shtin 1268306254|%e %b %Y, %H:%M %Z|agohover

That's not normal behavior. Could be something with your database. Do you use postgres or something else? Which version and driver (django supports 2 of them)?

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by stas_shtinstas_shtin, 1268306254|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268309164|%e %b %Y, %H:%M %Z|agohover

got passed that one..

but having trouble getting extensions and SIP trunks to register

Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268309164|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
stas_shtinstas_shtin 1268322497|%e %b %Y, %H:%M %Z|agohover

Make sure that freeswitch has correct event_socket.conf.xml file - it should be the same host/port/password as event socket config you have in the web interface. The same goes to xml_curl.conf.xml - it should be able to reach your server (described in install guide). If that doesn't help, be more specific and check if there are any related errors in freeswitch logs.

Unfold Re: Install Issues Centos 5.4 by stas_shtinstas_shtin, 1268322497|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268329350|%e %b %Y, %H:%M %Z|agohover

Should be no need to touch event_socket.conf.xml, wikipbx will serve that up dynamically. I double checked and the install docs don't mention anything about event_socket.conf.xml

Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268329350|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268329488|%e %b %Y, %H:%M %Z|agohover

mickey_mouse — can you make sure freeswitch is pulling the configuration from freeswitch?

Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268329488|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268652068|%e %b %Y, %H:%M %Z|agohover

in event_socket.conf.xml what password is this ??

Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268652068|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
stas_shtinstas_shtin 1268660528|%e %b %Y, %H:%M %Z|agohover

I was wrong - that config will be given to freeswitch by wikipbx dynamically, so it doesn't matter what you have in the text config.

Unfold Re: Install Issues Centos 5.4 by stas_shtinstas_shtin, 1268660528|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
mickey_mousemickey_mouse 1268718390|%e %b %Y, %H:%M %Z|agohover

i have had a look and cant see where there is an error.. But it is not pulling the config from wikipbx

Unfold Re: Install Issues Centos 5.4 by mickey_mousemickey_mouse, 1268718390|%e %b %Y, %H:%M %Z|agohover
Re: Install Issues Centos 5.4
tleydentleyden 1268761663|%e %b %Y, %H:%M %Z|agohover

Most likely freeswitch mod_xml_curl is not configured correctly, or was not compiled, or is not being loaded.

  • Please paste your mod_xml_curl configuration xml file (/usr/local/freeswitch/conf/mod_xml_curl.conf)
  • Did you modify /usr/src/freeswitch/modules.conf to uncomment mod_xml_curl when building freeswitch?
  • Did you modify /usr/local/freeswitch/conf/autoloadconfigs/modules.conf.xml to tell freeswitch to load mod_xml_curl?

See also this troubleshooting tip

Reply  |  Options
Unfold Re: Install Issues Centos 5.4 by tleydentleyden, 1268761663|%e %b %Y, %H:%M %Z|agohover
New Post
page_revision: 0, last_edited: 1226259295|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License