Copyright © 2011 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
I configured my ubuntu server running nginx that serves php5 through fastcgi. Any reason why this setup would not work for hosting the Kaltura Community Edition? I know it's supposed to be Apache..
Thanks
Jim
Yea, it was kind of a general question. I hadn't even begun to install it. I just wanted to see if someone would tell me not to even try for some reason (some kind of dependence on Apache for something?). I'll give it a shot.
Thanks
Jim
It seemed to install OK using nginx+fastcgi+php5(with xcache) on Ubuntu Hardy. It did fail on the final step after installation, with "Local Registration failed"
From reading another thread, I assume that was due to the missing .htaccess, which is not used in nginx. So I rewrote the rewrites into nginx's technique for doing the same thing and inserted it in my nginx/available-sites/myserver.com file. I suspect it may still not be right. Its shown at the bottom and taken in part from discussion here: http://www.ruby-forum.com/topic/175868
So now when I go to my main /kalturaCE, it says:
"Your KalturaCE Server Is Only Partially Functional
1 services are down - go to the Server Monitor to learn more"
When I click on the "Server Monitor" link which takes me here:
http://myserver.com/kalturaCE/index.php/kmc?tab=server
I get a 404.
I'm not sure if there is some kaltura monitoring process that is not getting restarted after reboot, that is causing this. Or maybe it's the local registration that failed on my install, or my rewrites are wrong. So many variables..
I think I have the xcache config setup right within php.ini.
http://myserver.com/kalturaCE/api_ver3/web/testme fails with a 404
Any help is appreciated.
Jim
These are my rewrites within my nginx/available-sites/myserver.com
I basically just added "/kalturaCE/" and put a "last;" at the end. I'm learning as I go here..
location /kalturaCE/ {
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/thumbnail/(.*)$ /kalturaCE/index.php/extwidget/thumbnail/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/thumbnail/(.*)$ /kalturaCE/index.php/extwidget/thumbnail/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/raw/(.*)$ /kalturaCE/index.php/extwidget/raw/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/raw/(.*)$ /kalturaCE/index.php/extwidget/raw/$1 last;
rewrite ^/kalturaCE/downloadUrl(.*)$ /kalturaCE/index.php/extwidget/downloadUrl/$1 last;
rewrite ^/kalturaCE/entryPage(.*)$ /kalturaCE/index.php/extwidget/entryPage/$1 last;
rewrite ^/kalturaCE/userPage(.*)$ /kalturaCE/index.php/extwidget/userPage/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/flvclipper/(.*)$ /kalturaCE/index.php/keditorservices/flvclipper/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/flvclipper/(.*)$ /kalturaCE/index.php/keditorservices/flvclipper/$1 last;
rewrite ^/kalturaCE/flvclipper/(.*)$ /kalturaCE/index.php/keditorservices/flvclipper/$1 last;
rewrite ^/kalturaCE/s/p/[0-9]+/sp/[0-9]+/flvclipper/(.*)$ /kalturaCE/index.php/keditorservices/flvclipper/$1 last;
rewrite ^/kalturaCE/s/p/[0-9]+/flvclipper/(.*)$ /kalturaCE/index.php/keditorservices/flvclipper/$1 last;
rewrite ^/kalturaCE/s/flvclipper/(.*)$ /kalturaCE/index.php/keditorservices/flvclipper/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/flv/(.*)$ /kalturaCE/index.php/flv/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/flv/(.*)$ /kalturaCE/index.php/flv/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/kpreloader/(.*)$ /kalturaCE/index.php/extwidget/kpreloader/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/kpreloader/(.*)$ /kalturaCE/index.php/extwidget/kpreloader/$1 last;
rewrite ^/kalturaCE/kpreloader/(.*)$ /kalturaCE/index.php/extwidget/kpreloader/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/swf/(.*)$ /kalturaCE/swf/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/swf/(.*)$ /kalturaCE/swf/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/demos/(.*)$ /kalturaCE/demos/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/demos/(.*)$ /kalturaCE/demos/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/flash/(.*)$ /kalturaCE/flash/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/flash/(.*)$ /kalturaCE/flash/$1 last;
rewrite ^/kalturaCE/kwidget/(.*)$ /kalturaCE/index.php/extwidget/kwidget/$1 last;
rewrite ^/kalturaCE/kcw/(.*)$ /kalturaCE/index.php/extwidget/kcw/$1 last;
rewrite ^/kalturaCE/kse/(.*)$ /kalturaCE/index.php/extwidget/kse/$1 last;
rewrite ^/kalturaCE/kae/(.*)$ /kalturaCE/index.php/extwidget/kae/$1 last;
rewrite ^/kalturaCE/kupload/(.*)$ /kalturaCE/index.php/extwidget/kupload/$1 last;
rewrite ^/kalturaCE/api/(.*)$ /kalturaCE/index.php/partnerservices2/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/content/(.*)$ /kalturaCE/content/$1 last;
rewrite ^/kalturaCE/p/[0-9]+/sp/[0-9]+/content/(.*)$ /kalturaCE/content/$1 last;
rewrite ^/kalturaCE/extservices/(.*)$ /kalturaCE/index.php/extservices/$1 last;
# redirect collectstats to nothing.php
#rewrite ^/kalturaCE/(.*)/collectstats /kalturaCE/nothing.php last;
# rewrite rule for an errornous url from myspace - fetch a 1-pixel.gif
rewrite ^/kalturaCE/(.*)entry/widget/(.*) /kalturaCE/images/blank_one_pixel.gif last;
rewrite ^/kalturaCE/lib/(.*)$ /kalturaCE/kaltura/alpha/web/lib/$1 last;
# rewrite rules for old links
rewrite ^/kalturaCE/swf/(.*)$ /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/swf/$1 last;
rewrite ^/kalturaCE/simpleswf/(.*)$ /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/simpleswf/$1 last;
rewrite ^/kalturaCE/images/(.*)$ /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/images/$1 last;
rewrite ^/kalturaCE/js/(.*)$ /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/js/$1 last;
rewrite ^/kalturaCE/css/(.*)$ /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/css/$1 last;
rewrite ^/kalturaCE/api_v3/(.*)$ /kalturaCE/kaltura/api_v3/web/$1
rewrite ^/kalturaCE/index.php/(.*)$ /kalturaCE/kaltura/alpha/web/index.php/$1
rewrite ^/kalturaCE/kaltura/alpha/web/js/(.*)$ /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/js/$1
rewrite ^/kalturaCE/kaltura/alpha/web/css/(.*)$ /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/css/$1
rewrite ^/kalturaCE/kaltura/alpha/web/swf/(.*)$ /kalturaCE/kaltura/alpha/web/OLD_PATHS/web/swf/$
hi jimwww,
It seems like a mod-rewrite issue.
I'm not too familiar with nginx, but you should make sure that the rewrite rules apply (or adjust them to apply).
if you can browse to:
http://myserver.com/kalturaCE/kaltura/alpha/web/index.php/kmc?tab=server
and the page will load - then this is definitely a rewrite issue
I also get a 404 on that last link you wanted me to try.
http://myserver.com/kalturaCE/kaltura/alpha/web/index.php/kmc?tab=server
So I suppose that knocks out the rewrites as the source of the problem. (though they are probably wrong..)
Could it be an xcache thing?
Jim
You can try and disable the cache and see if it works.
Also validate that the files really do exist on -
When you get this error it basically means the "registration"/creation of the KalturaCE partner on your local database failed.
The registration step definitely failed for some reason during my installation. But it did say "Installation Complete" or something to that effect.
Jim, did you try to remove xcache, remove the installation and install again?
I have a similar problem with Kaltura and Nginx. Kaltura is up & running: http://kaltura.irangreenvoice.com/
Nginx is serving FLV content without any problem but cannot load the Kaltura's SWF files (e.g. uploader or player). Any suggestion on what is going wrong?
I've been installed kaltura on ubuntu server with fast-cgi php mode and all seems go ok on installation process. But when I try to go to: http://fempirineu.cat/kalturaCE/index.php/kmc didn't connect.
I've as result: No input file specified
Base install path: http://fempirineu.cat/kalturaCE/
Any suggestion? I should run php in mod_php mode?
Thanks and regards, Aram.
You should php cli installed.
However, it seems you have a problem with your database configuration.
if you go to that page: http://fempirineu.cat/kalturaCE/api_v3/sample/players/ you'll get the following issue that may imply on wrong db auth?
Sorry it's my fault this mess, but this is not the problem, now the database is properly configured.
all requirements for kaltura are ok, php-cli, curl, gd, everything.
the problem is on all flash applets, for example:
http://fempirineu.cat/kalturaCE/kwidget/wid/_1/ui_conf_id/48410/entry_id...
http://fempirineu.cat/kalturaCE/index.php/kmc?tab=server
always you get the message "No input file specified. ", we were wondering if kaltura doesn't works with php-cgi instead of php-mod.
Thanks for your time Zohar!
We have a dedicated server and we are not capable to make kalturaCE to work properly with fast-cgi mode. We need fast-cgi mode because is a requisit of our server admin panel (ISPcontrol). Any idea or help is welcome.
SPECS of SERVER:
Apache/2.2.12 (Ubuntu)
PHP Version 5.2.10-2ubuntu6.4
Build Date Jan 6 2010 22:50:53
Server API CGI/FastCGI
Thanks and regards, Aram.
Hi Aram,
Did you try using Kaltura CE 2? Any difference?
Thanks Kalturian for the interest.
Not yet. We will study this possibility when come out the next release of drupal kaltura plugin compatible with kaltura CE 2. Have you any date release for this plugin?
What do you think about this security questions of drupal kaltura plugin?
http://drupal.org/node/847952
http://www.mc-kenna.com/drupal/2010/08/a-word-of-caution-on-cms-plugins-...
http://www.mc-kenna.com/screenshots/1773
Thanks and regards, Aram.
Hi Aram,
You can read my view in the thread http://www.mc-kenna.com/drupal/2010/08/a-word-of-caution-on-cms-plugins-...
Things are now fixed ans stable so you can be calm on the state of things. There are two new community maintainers that have volunteered for the Drupal module, and we are very pleased with their commitment and contributions, and will do what every possible to provide them support to continue.
Version 2 is in the works. Even though the dev version is pretty stable already, so you can just grab it from drupal.org.
Please update us when you try version 2 on nginx and with the Drupal module v6.2.
Zohar
We install KalturaCE 2 on Apache2 server running php on cgi mode and didn't success to use.
For this reason we desisted to use Kaltura at the moment.
Thanks and regards
Have you tested if new kalturaCE 3.0 works with php-cgi instead of php-mod?
Thanks and regards, Aram
Hi All
I am using Kaltura video service fo my site http://spoken-tutorial.org. But I am unable to upload the files on my Ubuntu 9.10-Karmic. It is just giving an error on the upload page.Can you please help in this regard.
Thanking You
Shambu
You'll need to provide more information about your issues.
Thanks,
Jason
Has anyone successfully deployed Kaltura on nginx? I've spent hours trying to get it to work with no dice. I'd really rather not have to run apache alongside nginx...
If so, could someone post their nginx vhost config file?
Thanks!
You are going to have to recreate the vhosts and mod-rewrite stuff that we use with Apache. That may be
challenging with just nginx. We also use Apache filters and nmap. Let us know if you get it to work.
J
i checked out cm version 3. but i having problem with nginx, it gives 403 Forbidden...
Can you help me......
Hi,
This is a very general message... can you provide more technical and detailed information about your issue - what is problematic, errors, screenshots, configuration..