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
So has anyone successfully got the new CE 2.0 working? Any tips or tricks on installation? I can't seem to get it to work at all, and I had a pretty good grasp of setting up the previous version.
EDIT: got it working with the help of the team from x7Host
rtcwp07,
what issues are you experiencing ?
do you see any errors output?
were you able to start the installation script ? (php install.php)
The script fails after supplying database details with root user and password.
I can connect to mysql from the command line with
# mysql -u root -p
but when running (and entering the correct root user and password)
# php install.php
I get in the install-log.txt
TIME: 1279600284] PrerequisitesStep - connect - CANT_CONNECT_DB
Description:
Cannot connect to host [127.0.0.1] as [root] - Can't connect to MySQL server on '127.0.0.1' (111)
Stack Trace:
#0 ErrorObject::debug_string_backtrace() called at [/root/kalturaCE_v2.0.0/lib/ErrorObject.class.php:17]
#1 ErrorObject->__construct(connect, CANT_CONNECT_DB, Cannot connect to host [127.0.0.1] as [root] - Can't connect to MySQL server on '127.0.0.1' (111)) called at [/root/kalturaCE_v2.0.0/lib/DatabaseUtils.class.php:16]
#2 DatabaseUtils::connect(mysqli Object (), 127.0.0.1, root, p0ng0b0ng0, , 3306) called at [/root/kalturaCE_v2.0.0/lib/DatabaseUtils.class.php:70]
#3 DatabaseUtils::dbExists(kaltura, localhost, root, p0ng0b0ng0, 3306) called at [/root/kalturaCE_v2.0.0/steps/PrerequisitesStep.class.php:147]
#4 PrerequisitesStep->checkDatabases() called at [/root/kalturaCE_v2.0.0/steps/PrerequisitesStep.class.php:34]
#5 PrerequisitesStep->install() called at [/root/kalturaCE_v2.0.0/KalturaInstaller.class.php:236]
#6 KalturaInstaller->run() called at [/root/kalturaCE_v2.0.0/install.php:33]
Why is the Kaltura install script calling the database with 127.0.0.1 instead of localhost? I think that's why it's failing.
Platform: Ubuntu 10.04 LAMPP/XAMPP 1.7.1 configured as per the Prerequisites page
I discovered that I needed to disable SElinux after all.
i did not have the /etc/selinux/config file
I created it and put the text:
SELINUX=disabled
in it and rebooted and the install went fine. Mysql access on the network is then available and the script can connect to mysql on 127.0.0.1
Installation process on Centos 5.5 64bit went well after following all instructions, however, when attempting to access my /start page or KMC I just get the Symfony error page. I'm gonna change some things and do a re-install and I will let you know if I make any progress.
I am very interested in the possibility of running more than one CE server instance on the same server, and so I am also looking into hacking the MySQL database structure, analytics, and server monitor - although I notice that your installation guide calls for declaring localhost as a single domain within /etc/hosts, so I hope I'm not biting off more than I can chew there.
Hi all,
is it possible to avoid setting "lower_case_table_names = 1"? I will install it only on an Ubuntu server, not Windows Server.
This makes a lot of trouble on my server due to other mysql DBs!
Many thanks in advance!
BR, Peer
I need to get around this "lower_case_table_names = 1" issue myself. I have existing databases which would require conversion for each, which is not going to happen. This setting would conflict with other programs. Why this setting is required leaves me mystified to say the least. Maybe there is something I am not seeing, or simply overlooking, but is there a logical reason as to why this requirement is in place?
Hi ssa2204,
I absolutely agree!
This is exactly what I thought.
Maybe this should be set in order to ease any migration to a windows platform. I don't know.
So, dear support team, pls tell us how to avoid this setting.
Many thanks in advance!
BR, Peer
Well it seems to me that no thought was given to existing servers running on Linux. What annoys me is to have a requirement such as this that would affect an entire database server, as if we can simply dump or change all other databases. This is something I just do not expect to see in any release at this version. I double checked just to make sure that would I downloaded was not some alpha version. Very disappointing. I can't say that my experience with this project has been positive to date.
KalturaCE version 2.0 installation notes:
Don't specify an IP based host/server name/location (use a whatever.xyz address)
Don't use the installation directory (the one your running the install.php file from) as the content/storage path.
(You might have to specify "ServerName localhost" in your /etc/apache2/apache2.conf file)
a2enmod your missing modules (if your lucky enough to have a2enmod installed)
Make sure MySql is at least 5.1.37 and 5.1 > PHP < 5.3 (not 100% sure about this one)
hello all.
for start - the "lower_case_table_names = 1" setting is required for the DataWarhouse DB.
due to some internal limitations we could not change the DWH scripts to not need this setting.
you can revert back this setting after installation (just to go through the prerequisites step) but your DWH might not function correctly, which means you will not have some of the analytics features.
remember that the global recommendation for installing KalturaCE is to have a dedicated server, in which case there should be no conflict with the needs of other applications.
this recommendation is because KalturaCE requires resources for all l its components (batch jobs, video transcoding, thumbnail extracting, DB queries, HTTP serving), and sharing server with other applications that use the same resources might cause performance issues.
regarding Jeff's comment about PHP version - for now we require PHP 5.2.x.
PHP < 5.2 will not work due to missing libraries that were introduced in 5.2
PHP >= 5.3 was not tested, and will most likely not function correctly.
in the near future we will be working on expanding the support for PHP 5.3
Gonen.
Hi Gonen,
thanks for your reply.
However, I don't get it running.
Now the installation routine tells me that "[threat_stack] was not found in the my.cnf file" although it is defined.
I am running Ubuntu. The file "my.cnf" file is located in "/etc/mysql/".
What might be wrong?
I am looking foward to your reply.
BR, Peer
It should be [thread_stack]... not [threat_stack]
Check out the attached my.cnf file for details
Note: Location within the my.cnf file for different variables does matter!
(attached as my.txt because *.cnf extensions are filtered by the up-loader)
---Jeff
| Attachment | Size |
|---|---|
| my.txt | 3.59 KB |
Hi jeff,
many thanks for your reply!
It was just a typo in my posting. Sorry.
In my "my.cnf" it looks like this:
>>>
thread_stack = 262144
thread_cache_size = 8
<<<
It should be correct.
But the installation routine does not "find" it. Why?
BR, Peer
under the
admin console -> Batch Processing control -> setup
Nothing is listed under either (Active Batch Schedulers) or (Configured Batch Services)
is this expected behavior? Also, When videos are uploaded to the system via. the media:addfromurl call and when they are uploaded via. the flash uploader in the kmc, the entries arn't completing processing and stay at pending/in queue...(did/is my installation fail/incomplete?)
Thanks,
---Jeff
Attached is Entry_0_zy9qowf3.txt (rename to Entry_0_zy9qowf3.ked)
| Attachment | Size |
|---|---|
| Entry_0_zy9qowf3.txt | 3.26 KB |
I have it installed now with Php5.2.9, and connected to another MySQL 5.1.41 (CentOS).
I got it installed fine, no errors. Afterwords I can go to http://mydomain/start just fine. I can then go to the KMC (control panel), put the page loops. I do see the page come up, then it quickly refreshes.
Jeff,
please check if you batches are up by running the following command:
ps aux | grep php
it they are running, you should see a line that contains KGenericBatchMgr.class.php
if they are not, then you can start them manually:
/YOUR_PATH/TO/KALTURA/app/scripts/serviceBatchMgr.sh restart
Gonen
Batch's were not running, running that got them up without any issues!
Thanks!
---Jeff
Only got this warning:
(Warning : using default batch_config.ini !)
Jeff,
can you send me your installation log file, I'd like to see if there's anything there that might give a hint on why the batches did not start automatically.
thanks.
For me, I think it proved to a be a problem with the installer not failing cleanly. I had a bit of a problem with the mySQL user (had to use the root user) so the install script failed and left some junk.
First time around I told the installer I would use /kaltura rather than /myKalturaApp and caught it trying to start this nonexistent process after I eventually got the install to run through to completion:
/opt/lampp/bin/php KGenericBatchMgr.class.php /opt/lampp/bin/php /opt/kaltura/app//batch/batch_config.ini
Correct path should be /opt/myKalturaApp and manually running /opt/myKalturaApp/app/scripts/serviceBatchMgr.sh restart produces this running process:
/opt/lampp/bin/php KGenericBatchMgr.class.php /opt/lampp/bin/php /opt/myKalturaApp/app//batch/batch_config.ini
Slight issue,
When uploading from the kmc everything works fine, however, if I use the addFromUrl I get an "Error Converting" message and when/if I click on the reconvert button the page goes blank/crashes!...?!
Attached is the entry ked file if it helps? (Should I attach some log files as-well? if so which ones?)
---Jeff
| Attachment | Size |
|---|---|
| Entry_0_ub1cwg2k.txt | 3.49 KB |
Well I gave up trying to get it to work on my Centos cPanel servers and went with the recommended Ubuntu 10.04 LTS XAMPP setup. Everything is working fine (as far as I know).
For anyone that wants to mess around with a test server, here you go (please play nice):
http://zeus.exseven.com/admin_console (x7host@x7host.com, x7host)
http://zeus.exseven.com/kmc (exseven@exseven.com, x7host)
Thanks for your pointers Jeff.
On a side note, does anyone know how to get the v2.0 working with CDN? It was really easy on v1.5 but I don't see it for 2.0!
For CDN in the admin_console go-to:
Publishers -> Publisher Management -> Select Action [Configure]
---Jeff
Server looks good! (The only thing that was 'weird' was the names for the batch services, the listing was blank? fluke?)
Hi rtcwp07,
looks great! Thanks.
Do you also have a test page at which you have integrated some player with playlists?
BR, Peer
@liebesprinz thanks man - I had a test page with some v1.5 sample integrations that is offline at the moment. Currently working on one for v2.0 ...stay posted.
@rtcwp07
Great. I am looking forward to it!
Many thanks.
Anyone tried out webcam uploading in the new CE 2.0? Do we have install FMS/Red5/Wowza like with v1.5 and hack some files or has it been streamlined this time?
I don't have a webcam on my travel laptop and I'm dying to know...thanks.
I am also interested in these issues running KalturaCE with RTMP, RTMPE and SecureToken, e.g. with Red5.
Does this all work?
I had Kaltura CE 2.0 running great for almost a week. Now I can't login, says it can't get Accound settings or something and no content plays. Huge frustration, I thought I had finally got a stable thing going.
Running Ubuntu 10 with Xampp 1.7.1
Am Nomad,
Can you share a link?
Did you change anything?
I'm getting errors with logs being processed. I'm wondering of it is due to a permissions issue with the files in /opt/kalturaserver.
What should the permissions be?
Should /opt/kalturaserver
be owned by www-data, group www-data
permissions 766?
Or does the etl user belong to the Hobbit server?
Other than this everything is running fine.
Also how do I find out the version of my server - I think it's 2.0.0 and I notice that 2.0.1 is out. How do we upgrade incrementally?
Cheers
At the end of the install, when I edit the httpd.conf and add the Include for my_kaltura.conf, then restart apache, I get an error. It says Syntax error on line 12 of the my_kaltura.conf file, invalid command "php_value". I did an Ubuntu 10.4 install with your XLAMPP distro.
Everything else went as expected, except MySQL did not have a password, which differed from your instructions.
I had the same problem, so I uncommented this line in /opt/lampp/etc/httpd.conf:
LoadModule php5_module modules/libphp5.so
Now php5 is already baked in, so whenever Apache is shut down it complains that php is already running. Still, it works.
I also noticed that I have to manually restart lampp every time the server is rebooted. Does anyone have the script to put in to init.d?
I now have a problem getting to the /start page or any others after changing the IP address to a fixed IP instead of using DHCP. Is there a config file that saves the IP address somewhere? I never would have thought that.
x7Host has just released turn-key KalturaCE v2.0 cloud video servers - http://www.x7host.com/kalturace-cloud-servers
For my forum friends, get 20% off your first payment with code: givemece2
If this violates forum rules I sincerely apologize but this is just too exciting not to share!
FYI- I solved my start page issue by reinstalling.
FYI- I solved my start page issue by reinstalling.
Just to clarify: You reinstalled the OS itself?
I had the same problem, so I uncommented this line in /opt/lampp/etc/httpd.conf:
LoadModule php5_module modules/libphp5.so
That line was already uncommented for me.
Does anyone else have ideas RE: error on line 12 when starting XAMP? I'd really like to try this product but don't have quite the technical expertise to understand the back ends of all of this...
I had same error "error on line 12..". But then I modified /opt/lampp/etc/httpd.conf and changed following lines:
From:
<IfDefine JUSTTOMAKEAPXSHAPPY> LoadModule php4_module modules/libphp4.so LoadModule php5_module modules/libphp5.so </IfDefine>
TO:
LoadModule php5_module modules/libphp5.so <IfDefine JUSTTOMAKEAPXSHAPPY> LoadModule php4_module modules/libphp4.so LoadModule php5_module modules/libphp5.so </IfDefine>
and now Kaltura us running for me except it gives a little warning "[warn] module php5_module is already loaded, skipping" when I do "/opt/lampp/lampp restart". But it still works.
I meant that I solved the /start page issue by reinstalling the Kaltura app, not the OS.
The libphp5.so line was uncommented under another section that doesn't appear to get called by anything except under special circumstances. I added it under the regular section above it.
CE 2.0.2 still working second day after installation. Will see if it stays up longer.
Trying to install the All-in-One drupal 6 kaltura module now. But the instruction seems to be outdated. There is no kalturaCE URI is there ? The instruction requires me to change kaltura_settings.php by entering http:///kalturaCE. There is also no way for me to enter partner id.
Hi,
You should try with the Kaltura Drupal Module 6.2 dev version. it has UI for CE installation as wel.
the mysql version check really should come before the lower_case_table_names check. This was my problem had to upgrade mysql first then everything work great.
Hello,
I think this is probably the best place to post. I have successfully installed Kaltura (as far as I know), with the install presenting no problems, and apache restarting properly with the required Include, however I am unable to access mydomain.com/start? I am simply presented with the classic 404 page not found. Is this because I installed it as root and I should have installed it as a user with an htmp_public folder? Or is there simply further Apache setup that I need to do.
Thanks for your help in advance!
Cheers,
David
Hopefully this is just a permissions problem although I've tried changing permissions/ownership of the files/directory with no luck.
Output from install-log below:
[TIME: 1282130573] execAsUser - CANT_EXECUTE
Description:
Cannot change owner for [sudo -u etl /home/etl//ddl/dwh_ddl_install.sh] - etl
perhaps someone can advise?
Have you verified that the directory /home/etl exists?
Jason
Hi,
yes it does exist.
It was a permissions problem which I've fixed by running
chown etl:etl etl -R
I can proceed to the next step now
Cheers, J
i'm failed when i want running the script!
root@ubuntu:/# wget http://kaltura.myhost.com/start
--2010-08-25 14:09:42-- http://kaltura.myhost.com/start
Resolving kaltura.myhost.com... 127.0.0.1
Connecting to kaltura.myhost.com|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-08-25 14:09:42 ERROR 404: Not Found.
anybody can give me solutions?
thank.
Ubuntu Server 10.14 LTS
Xampp 1.7.1
deleted
I did but I had to completely wipe out my server and follow their directions step by step using the Ubuntu guide. It's pretty sweet I must admit. The only thing I haven't done is get the server monitor going and I'm not sure yet analytics is up