Installing Kaltura CE 3.0 on CentOS

9 replies [Last post]
Joined: 11/13/2010
Points: 3

Hello , I'm trying to install Kaltura CE 3.0 on a server running CentOS 5-5 32-bit
I've done too much work to get the prerequisites ready for the installation script however this is installation can't be done still .. The server doesn't run LAMP rather independent apache and php installations ..

I placed kaltura files on some directory in the server then ran "php install.php" .. this is the last two installations log

-----------------

[root@xxxxxxx kaltura]# php install.php
 Thank you for installing Kaltura Video Platform - Community Edition

A previous installation attempt has been detected, do you want to use the input you provided during you last installation? (Y/n)
> n

In order to improve Kaltura Community Edition, we would like your permission to send system data to Kaltura.
This information will be used exclusively for improving our software and our service quality. I agree (Y/n)
> n

Please provide the following information:

Installation could not automatically detect any apachectl script. Please provide a pathname to the apachectl script on your server.
> /usr/local/apache/bin/apachectl

The following PHP binary has been detected: /usr/local/bin/php. Do you want to use this script to run your Kaltura application? Leave empty to use or provide a pathname to an alternative PHP binary on your server.
>

Full target directory path for Kaltura application (leave empty for /opt/kaltura)
>

Please enter the domain name/virtual hostname that will be used for the Kaltura server (without http://)
> riverso-millenium.com

Your primary system administrator email address
> *******@gmail.com

The password you want to set for your primary administrator
> *********

Database host (leave empty for 'localhost')
>

Database port (leave empty for '3306')
>

Database username (with create & write privileges)
> root

Database password (leave empty for no password)
> ************

The URL to your xymon/hobbit monitoring location. Xymon is an optional installation. Leave empty to set manually later
Examples:
http://www.xymondomain.com/xymon/
http://www.xymondomain.com/hobbit/
>

Verifing prerequisites

One or more prerequisites required to install Kaltura failed:
   Failed to connect to database 127.0.0.1:3306 user:root. Please check the database settings you provided and verify that MySQL is up and running.
   Missing file_cache_module Apache module

-----------------

after that I contacted the webhosting provider and ran the installation once more and this is what I get at the end

Verifing prerequisites
sh: -c: line 0: syntax error near unexpected token `)'
sh: -c: line 0: `/usr/local/bin/php installer/Prerequisites.php /usr/local/apache/bin/apachectl 127.0.0.1 3306 root [%T)?A#;^l_f 2>&1'

One or more prerequisites required to install Kaltura failed:

Please resolve the issues and run the installation again.

The webhosting provider advised me to contact the script vendor so I sought to post her ..

Cheers

Joined: 11/05/2009
Points: 338

my first guess is that your issues may have something to do with the fact that you are using a mysql root password. i know that it is heavily documented (via testimonies on the forums, at least) that for some reason the software does not like a password to be set for the mysql root user - which is scary, i know...

Joined: 02/08/2011
Points: 7

I'm also getting the database connection issue. Instead of CentOS, I am on Ubuntu, but I don't think that should even be a factor.

I've tried with both the 'root' user (password protected) and a specified 'kalturadbuser' account (both with and without a password set in the database) and neither connects for the install script. I am completely capable of accessing mysql via command line and creating a database with both accounts; Kaltura just chokes every time.

Anyone know what Kaltura's issue is with the database connection during installation?

rtcwp07 wrote:
my first guess is that your issues may have something to do with the fact that you are using a mysql root password. i know that it is heavily documented (via testimonies on the forums, at least) that for some reason the software does not like a password to be set for the mysql root user - which is scary, i know...

Where are these testimonies on the forums? I have not been able to find them or what to do about it other than clear out the root password, and that is not an option for the long term for what should be an obvious security reason. Am I to do it just for the installation and then put in the root password afterwards?

============

Thank you for installing Kaltura Video Platform - Community Edition

In order to improve Kaltura Community Edition, we would like your permission to send system data to Kaltura.
This information will be used exclusively for improving our software and our service quality. I agree (Y/n)
> n

Please provide the following information:

The following apachectl script has been detected: /usr/sbin/apache2ctl. Do you want to use this script to run your Kaltura application? Leave empty to use or provide a pathname to an alternative apachectl script on your server.
>

The following PHP binary has been detected: /usr/bin/php. Do you want to use this script to run your Kaltura application? Leave empty to use or provide a pathname to an alternative PHP binary on your server.
>

Full target directory path for Kaltura application (leave empty for /opt/kaltura)
>

Please enter the domain name/virtual hostname that will be used for the Kaltura server (without http://)
> media.domain.com

Your primary system administrator email address
> sysadmin@domain.com

The password you want to set for your primary administrator
> ***************

Database host (leave empty for 'localhost')
>

Database port (leave empty for '3306')
>

Database username (with create & write privileges)
> kalturadbuser

Database password (leave empty for no password)
>

The URL to your xymon/hobbit monitoring location. Xymon is an optional installation. Leave empty to set manually later
Examples:
http://www.xymondomain.com/xymon/
http://www.xymondomain.com/hobbit/
>

Verifing prerequisites

One or more prerequisites required to install Kaltura failed:
Failed to connect to database 127.0.0.1:3306 user:kalturadbuser. Please check the database settings you provided and verify that MySQL is up and running.

Please resolve the issues and run the installation again.

Joined: 11/13/2010
Points: 3

so is there anything to do in order to fix this ? .. the most thing i wonder about is the lack of entering a database name in the configuration , because where's the information gonna be stored into ?

Joined: 11/13/2010
Points: 3

Now I'm getting this error

Verifing prerequisites

One or more prerequisites required to install Kaltura failed:
: No such file or directoryphp: line 1: ?php
: command not founduisites.php: line 2:
   installer/Prerequisites.php: line 3: syntax error near unexpected token `realpath'
   installer/Prerequisites.php: line 3: `include_once(realpath(dirname(__FILE__)'.'/DatabaseUtils.class.php');

Please resolve the issues and run the installation again.

Joined: 02/08/2011
Points: 7

The fix for me was in changing the database config bind-address to 127.0.0.1 instead of the external IP it had. Go figure.

Joined: 08/10/2010
Points: 176

Same problem here. Any suggestions? bind-adress didn't work as well other db user names etc...

Joined: 08/08/2011
Points: 5

Same problem here. (now Kaltura CE 4.0)...

Any suggestions ?

Joined: 08/08/2011
Points: 5

forget about rtcwp07's funny answer. this would be seriously insecure.

studied the code.

simply provided my mysql root pw as
- pw for primary administrator (hopefully I can change it now)
- pw for database (that might be the issue)

anyway - works for me now.

Joined: 06/03/2011
Points: 3

I am struggling with the last part of OP's issues:

One or more prerequisites required to install Kaltura failed: Missing file_cache_module Apache module

I don't have file_cache_module in my Apache compile. Does it mean I have to recompile Apache? That's not ideal. Also manual for file_cache_module has warnings about using it. I assume there has to be a way without using file_cache_module?