Kaltura 3.0 on Ubuntu install error - could not open installer/Prerequisites.php

9 replies [Last post]
Joined: 11/17/2010
Points: 4

Warning, I am a linux noob and have managed my way through the Ubuntu install and all the prerequisites. During the Kaltura install process I get the following error.

One or more prerequisites required to install Kaltura failed:
Could not open input file: installer/Prerequisites.php

I am able to see this file and open it in dos view. I have downloaded the installer multiple times, but still get this error.

Any help to resolve is appreciated. If you can give me CL directions it is appreciated.
Thanks

Joined: 06/01/2010
Points: 72

Did you run the installation as root?

e.g.

prompt> sudo php install.php

-J

Joined: 11/17/2010
Points: 4

Yes, ran as sudo php install.php. It prompts me through all the setup steps for apache, sql, etc. Then I get to the prerequisite stage with that message.

It had given other messages before this one that have all been resolved. They were as follows:

Missing curl and memcache binary, lower_case_table_names = 1 in my.cnf, missing xsl and imap php extensions, and request_order to CGP in php.ini. Restarting SQL and Apache solved those issues.

Also had to switch out the # for // in my /etc/php5/cli/conf.d/imap.ini file.

M

Joined: 06/01/2010
Points: 72

Do you have Pentaho installed? Does the "which" command work on the command line for you?

J

Joined: 11/17/2010
Points: 4

I was actually using sudo php /usr/local/kaltura/kalturaCE_v3.0.0/install.php. Once I changed to the install directory, the prerequisite error went away.

Now I am faced with the other issues I thought I had resolved. If anyone is able to help with those, please reply.

1
Please set request_order ini value to include C, G and P. I have php.ini as:
Default value: On
Development Value: "CGP"
Production Value:"CGP"

2
Please set lower_case_table_names = 1 in my.cnf and restart MySQL: I have already added this line at the end of the /etc/mysql/my.cnf file. It was not there previously. Is this listed as some other variable or in another location?

3
Missing curl binary file, and missing memcached binary file: I thought the prerequisite was for memcache, not memcached? I have sudo apt-get install php5-curl and php5-memcache, how do I get the binary files?

Thanks
M

Joined: 06/01/2010
Points: 72

1)

Edit both of these files:

/etc/php5/cli/php.ini
/etc/php5/apache2/php.ini

Set the value to:

request_order = "CGP"

THEN RESTART APACHE

2)

So, you edited /etc/mysql/my.cnf and set
lower_case_table_names = 1 ?

Make sure that lower_case_table_names doesn't appear more than once in the file.

THEN RESTART MYSQL

3)
curl binary: apt-get install curl
memcached: apt-get install memcached

You need both php5 memcache extension and memcached

Joined: 11/17/2010
Points: 4

Thanks Mellow, all resolved. I appreciate your quick replies.

1
Had to delete the ";" in both php.ini files

2
Had to put lower_case_table_names = 1 in the correct location
[mysqld]
#
# * Basic Settings
#
#
# * IMPORTANT
# If you make changes to these settings and your system uses apparmor, you may
# also need to also adjust /etc/apparmor.d/usr.sbin.mysqld.
#
lower_case_table_names=1

3
Both your apt-gets worked.

M

Joined: 01/28/2011
Points: 4

Guys please help !!!! I fixed error with lower case but cnt fix error with CGP !!!!
There is my configs for it

request_order = "CGP"
; Default Value: "CGP"
; Development Value: "CGP"
; Production Value: "CGP"

Wht am not doing right ??

I need ur help ASAP !!!!
Thank you !!!

Joined: 11/15/2010
Points: 11

@kiler047
In all likelinhood, you have more than one php installations. please check. and use the right one.

Joined: 10/20/2010
Points: 1

killer047,
look further down in your php.ini for the request_order. You'll find it already has
request_order = "GP"

Just add the C