Problems in Install Kaltura CE on Ubuntu 14.04 LTS 64

Hi,
I’m trying to install Kaltura CE (10.19.0-2) on an EC2 Ubuntu 14.04 LTS 64 instance.

I have got two issues:

Cannot complete Red5 install:


seems that in Ubuntu repos there is still 1.0 release while the latest stable is 1.6

KMC - I gpt the message “You must have flash installed”

Of course Flash is installed.


If I run the Sanity Check, everything looks fine (ie: every check is PASSED with RC: 0)up to this point

[DWH cycle] [FAILED, RC: 255] - [28.804273323]
[Upload content kaltura_logo_animated_green.flv] [PASSED, RC: 0] - [.540777618]
[Upload bulk using CSV] [PASSED, RC: 0] - [.340624401]
[Upload bulk using XML] [PASSED, RC: 0] - [.196114349]
[Create player] [PASSED, RC: 0] - [.131206538]
[Generate thumb] [PASSED, RC: 0] - [.220463660]
[Delete partner] [PASSED, RC: 0] - [.216310073]
[Red5 file upload] [SKIPPED as OflaDemo isn’t configured]
see: https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#configure-red5-server

What can I do ?

tks

Hello,

Red5 - on Ubuntu/Debian, we use the package supplied by the official repo, called red5-server.
About KMC, run the dev tools on your browser and check the networking tab, let us see what call is failing, also, in parallel, on the server side, run kaltlog from the shell.

Thanks Jess,
on issue #2 (KMC) I’ll do what you suggest.

About Red5: what do you suggest ? try to manually install a more recent release ?

Here is kaltlog:

2015-10-01 21:03:30 [0.000274] [93.70.89.118] [429809310] [12] [PS2] [sfView->initialize] INFO: {sfView} initialize view for “kmc/kmc”
2015-10-01 21:03:30 [0.000311] [93.70.89.118] [429809310] [13] [PS2] [sfPHPView->renderFile] INFO: {sfView} render “/opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmcSuccess.php”
2015-10-01 21:03:30 [0.000657] [93.70.89.118] [429809310] [14] [PS2] [sfPHPView->decorate] INFO: {sfView} decorate content with “/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php”
2015-10-01 21:03:30 [0.000138] [93.70.89.118] [429809310] [15] [PS2] [sfPHPView->renderFile] INFO: {sfView} render “/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php”
2015-10-01 21:03:30 [0.000374] [93.70.89.118] [429809310] [16] [PS2] [sfRenderingFilter->execute] INFO: {sfFilter} render to client


and this what I get from the browser

tks again

Hello,

Red5 - not sure I understand the exact problem… what happens when you try to install kaltura-red5?
As for KMC, you can see that 2 files are failing to load… check the full URL by right clicking on the line and opening it in a new tab, make sure that call goes through, perhaps the hostname is not resolvable from the machine you open the browser on?

RED5: after # aptitude install kaltura-red5 i got:

The following NEW packages will be installed:

kaltura-red5 red5-server{a}
0 packages upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/112 kB of archives. After unpacking 356 kB will be used.
Do you want to continue? [Y/n/?] Y
Selecting previously unselected package red5-server.
(Reading database … 140970 files and directories currently installed.)
Preparing to unpack …/red5-server_1.0~svn4374-3_all.deb …
Unpacking red5-server (1.0~svn4374-3) …
Selecting previously unselected package kaltura-red5.
Preparing to unpack …/kaltura-red5_1.0.0-1+b2_amd64.deb …
Unpacking kaltura-red5 (1.0.0-1+b2) …
Processing triggers for ureadahead (0.100.0-16) …
Setting up red5-server (1.0~svn4374-3) …
Allowing use of questionable username.
Adding system user _red5' (UID 110) ... Adding new user_red5’ (UID 110) with group nogroup' ... Not creating home directory/usr/share/red5’.

  • Starting Flash streaming server red5-server [fail]
    invoke-rc.d: initscript red5-server, action “start” failed.
    dpkg: error processing package red5-server (–configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of kaltura-red5:
    kaltura-red5 depends on red5-server; however:
    Package red5-server is not configured yet.

dpkg: error processing package kaltura-red5 (–configure):
dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) …
No apport report written because the error message indicates its a followup erro r from a previous failure.
Errors were encountered while processing:
red5-server
kaltura-red5
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up red5-server (1.0~svn4374-3) …

  • Starting Flash streaming server red5-server [fail]
    invoke-rc.d: initscript red5-server, action “start” failed.
    dpkg: error processing package red5-server (–configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of kaltura-red5:
    kaltura-red5 depends on red5-server; however:
    Package red5-server is not configured yet.

dpkg: error processing package kaltura-red5 (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
red5-server
kaltura-red5

Re KMC I’ve probably seen the problem: misconfigured URL. I’ ll try to fix on my own

Hi,

Red5 - yeah, quite a few people reported install failures when trying to install the red5-server package. Unfortunately, since it is not maintained by us, there is not much I can do but refer you to the package maintainer, you can see their address when doing:
# aptitude show red5-server

You can also try to edit /var/lib/dpkg/info/red5-server.postinst and add -x to the #!/bin/sh to get some helpful debug info.

As far as correcting the hostname, you can just do:
# dpkg-reconfigure kaltura-base
# dpkg-reconfigure kaltura-front
# dpkg-reconfigure kaltura-batch

And insert different values.

Hi Jess,

thanks a lot for your advices; I fixed up the host name config and now everything seems OK !

Regarding Red5 issue, I still have to fix the issue; as you suggested, I’ll contact the maintainer; as soon as I’ll find a solution, I’ll post it hoping this could be useful for the community.

Bye

Great:) I am sure it will help others as well and hopefully, the red5-server maintainers will push a fix to the package postinst as a result.

Happy Kalturing,