Error Kaltura CE6 installation process

2 replies [Last post]
Joined: 08/28/2012
Points: 49

Hi, Am getting these errors while installing Kaltura CE6 on my cloud server (Ubuntu 12)

One or more prerequisites required to install Kaltura failed:
sh: 1: getenforce: not found
Failed to connect to database user:aaronkdb. Please check the database settings you provided and verify that MySQL is up and running.

Joined: 01/05/2009
Points: 1697

Hey Justin,

As specified in the install docs, Ubuntu is not a recommended platform for Kaltura at the moment, as the installation scripts expect CentOS/RHEL based commands.

To insist on Ubuntu and overcome this specific issue, edit the following file: ~/ce-packager/installer/installer/Prerequisites.php
And remove/comment the following code:

exec("getenforce", $statusresponse, $exit_code);
if ($exit_code !== 0) {
        // $prerequisites .= "Could not resolve SE-Linux status, run again.".PHP_EOL;
} elseif(!empty($statusresponse[0])) {
        if(!strcmp($statusresponse[0],'Enforcing')) {
                $prerequisites .= "SE linux is Enabled, please disable.".PHP_EOL;

*Note that if you insist on Ubuntu, this will likely not be the only issue you'll face. But if you stick to Ubuntu, continue posting your problems here and we'll try to point out possible fixes.


Joined: 05/22/2014
Points: 150

After read a couple of the articles on your website these few days, and I truly like your style of blogging. I tag it to my favorites internet site list and will be checking back soon. Please check out my web site also and let me know what you think. Agen Ibcbet