Kaltura CE 11 Installation on Ubuntu 14.04 LTS - Login Not Working

Hi ,
I have done Kaltura CE 11 Installation on Ubuntu 14.04 LTS

While installing Kaltura it goes all well till it ask for MySQL Root Password just for installation
At this step it always says “Your MySQL settings are incorrect, do you wish to run kaltura-mysql-settings.sh in order to correct them?”

But I have given right root password while installation.
Kindly guide me on this.


The “Your MySQL settings are incorrect, do you wish to run

kaltura-mysql-settings.sh in order to correct them?” should be answered with a YES, or else, you can manually correct it yourself if you’d like.
You can see exactly what the script will do, simply open /opt/kaltura/bin/kaltura-mysql-settings.sh in a viewer/editor to see.

As far as your problem to login goes, you need to SSH to the server and:

. /etc/profile.d/kaltura-base.sh

note that there is a space between the ‘.’ and
/etc/profile.d/kaltura-base.sh. This means sourcing the ENV vars of /etc/profile.d/kaltura-base.sh into the shell, when using BASH, you can use the ‘source’ command also.
then run:

kaltlog


I have followed suggested step and below are the output

root@ip-172-30-1-36:/opt# kaltlog
tail: [2016-09-08 09:12:29]exception ‘Exception’ with message ‘Configuration file [/opt/kaltura/app/configurations/sphinx/populate/ip-172-30-1-36.ini] not found.’ in /opt/kaltura/app/infra/log/KalturaLog.php:83
Stack trace:
#0 /opt/kaltura/app/plugins/sphinx_search/scripts/populateFromLog.php(36): KalturaLog::err(‘Configuration f…’)

2016-09-08 01:05:12 [0.001329] [180.76.15.31] [873547176] [12] [PS2] [sfView->initialize] INFO: {sfView} initialize view for "kmc/kmc"
2016-09-08 01:05:12 [0.001063] [180.76.15.31] [873547176] [13] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmcSuccess.php"
2016-09-08 01:05:12 [0.004784] [180.76.15.31] [873547176] [14] [PS2] [sfPHPView->decorate] INFO: {sfView} decorate content with "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2016-09-08 01:05:12 [0.000077] [180.76.15.31] [873547176] [15] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2016-09-08 01:05:12 [0.001924] [180.76.15.31] [873547176] [16] [PS2] [sfRenderingFilter->execute] INFO: {sfFilter} render to client cannot open ‘/opt/kaltura/log/batch/*.log’ for reading: No such file or directory

Kindly help me on this to make it work.

Hello,

/opt/kaltura/app/configurations/sphinx/populate/ should contain an INI file that corresponds to your own hostname. If you hostname was changed, it will cause such an issue.
You can correct this particular issue manually but seeing how additional similar issues are likely to occur, I suggest you rerun /opt/kaltura/bin/kaltura-config-all.sh, ensure it runs without errors or, if you do see errors paste them here, and then try again.

Hi,

I have checked for INI file in /opt/kaltura/app/configurations/sphinx/populate
and found ip-172-31-41-148.ini

Now i am trying to rerun /opt/kaltura/bin/kaltura-config-all.sh

will update on this shortly.

Below is the Output -:

root@ip-172-30-1-36:/opt/kaltura/bin# ./kaltura-config-all.sh
Running base config…

/opt/kaltura/bin/kaltura-base-config.sh: line 74: rpm: command not found
Exiting as kaltura-base is not installed.
This MAY be because the installation of it was skipped do to SELinux being in ‘Enforcing’ mode.
Please review: https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#disable-selinux---required-currently-kaltura-cant-run-properly-with-selinux
And re-run:

yum install kaltura-server

kaltura-config-all.sh FAILED with: 17615 on line 42

Archving logs to /opt/kaltura/log/log_13_09_16_09_45.tar.gz…

When i Insatlled selinux Utils the Installation start automatically.
Its created All DB required for kaltura and was trying to connect to database.
attached screen appears

ERROR: Couldn’t connect to Sphinx with mysql -h52.25.209.21 -P9312.
ERROR: Couldn’t make an API request to http://52.25.209.21/api_v3/index.php?service=system&action=ping

Done, I have removed kaltrua and followed all steps again.
and its working now for Kaltura admin login but for KMC login its asking for Flash Player.

But in Chrome Browser Flash player is already available.

Kindly Guide.

Hello,

I am unable to reach http://52.25.209.21/ myself, possible due to a FW.
At any rate, you should open your browser’s dev tools, try to request the KMC index page and look for errors in both the “network” and “console” tabs. Once you have the errors, we can continue.

Hi,
The Link is http://52.74.53.32/

And in browser De tool is shows –:
Failed to load resource: net::ERR_NAME_NOT_RESOLVED
http://ip-172-30-1-36/lib/js/swfobject_v2.2.js Failed to load resource: net::ERR_NAME_NOT_RESOLVED
langMenu.min.js:4 Uncaught ReferenceError: $ is not defined(anonymous function) @ langMenu.min.js:4
kmc.login.js:41 Uncaught ReferenceError: $ is not defined(anonymous function) @ kmc.login.js:41

In above log “ip-172-30-1-36” is the private IP of amazon erver and not public ( 52.74.53.32)

Hi,

Resolved,
Now I could login to Admin as well as in KMC too.

I have created publisher and able to login too,but the all content are not showing
attached is the screen.

also once login to newly created publisher logout button is not working. not able to logout.

please see in to these.

Please check the “Network” and “Console” tabs for errors and share them here if you need help fixing them.

Hi,
Network Tab is fine but on console it says -:

VM1086:1 Uncaught ReferenceError: logout is not defined

Hi,

It was a bit hard for me to see before but in your screenshot, I see partner -2 is being used.
You shouldn’t login to KMC with that. Go to admin_console->Publishers and create a new partner, then, use that to login to KMC and you should be fine.

Thanks,