After installing Kaltura CE 10.14, can not login to KMC

Hi everyone,

I just installed Kaltura 10.14 on CentOS7 box + MySQL5.6.
I can login to [Kaltura Administration Console] but
I can not login to [Kaltura Management Console (KMC)]

http://<IP...>/kmc

after entry Email/ Password
the browser said that there are no page:

http://<IP...>/index.php/kmc/extlogin

final message tracing by kaltlog:

2015-07-06 00:59:32 [0.000550] [192.168.56.1] [77242341] [PS2] [sfView->initialize] INFO: {sfView} initialize view for "kmc/kmc"
2015-07-06 00:59:32 [0.000580] [192.168.56.1] [77242341] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmcSuccess.php"
2015-07-06 00:59:32 [0.002038] [192.168.56.1] [77242341] [PS2] [sfPHPView->decorate] INFO: {sfView} decorate content with "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2015-07-06 00:59:32 [0.000071] [192.168.56.1] [77242341] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2015-07-06 00:59:32 [0.000946] [192.168.56.1] [77242341] [PS2] [sfRenderingFilter->execute] INFO: {sfFilter} render to client

Thanks for any advice.
Regards,
NgMDat.

Hi everyone,

The second time open the [Kaltura Management Console (KMC)]
the browser was change to following images, but they don’t work, just display!!!

Hi everyone,

I have some update about error status.

But I really confuse that what’s happening on my CentOS box with Kaltura!!!

Regards,
NgMDat.

Hello,

Firstly, did you disable strict mode for MySQL before installing?
As per:

I would suggest you do so if you haven’t already, and then use:
# /opt/kaltura/bin/kaltura-drop-db.sh
to drop the existing DB
and then re-run the kaltura-config-all.sh script and mind the output to make sure all stages succeed.
You will get a read error message if something along the process fails.

Then, if you still have issues, use kaltlog from the shell while making the request to track the error messages in the log and we can take it from there.

Hi jess,

As your advice, I disable isable strict mode for MySQL then re-run [kaltura-config-all.sh]
I think that all stages succeed.

Setup completed successfully!

To access your Kaltura tools visit:
http://192.168.56.254:80

To verify the integrity of your deployment and that all components are fully configured and installed,
you can run the sanity tests using the following command:
/opt/kaltura/bin/kaltura-sanity.sh

when I login to KMC with URL:
http://192.168.56.254/kmc/

the browser said the requested URL: https://192.168.56.254/index.php/kmc/kmc2
"/index.php/kmc/kmc2" was not found on this server.

And final part of kaltlog as following:

--

2015-07-06 22:13:20 [0.000539] [192.168.55.28] [419162488] [PS2] [sfView->initialize] INFO: {sfView} initialize view for "kmc/kmc"
2015-07-06 22:13:20 [0.000570] [192.168.55.28] [419162488] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmcSuccess.php"
2015-07-06 22:13:20 [0.001854] [192.168.55.28] [419162488] [PS2] [sfPHPView->decorate] INFO: {sfView} decorate content with "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2015-07-06 22:13:20 [0.000070] [192.168.55.28] [419162488] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2015-07-06 22:13:20 [0.000931] [192.168.55.28] [419162488] [PS2] [sfRenderingFilter->execute] INFO: {sfFilter} render to client


[Mon Jul 06 21:40:17.484519 2015] [authz_core:error] [pid 18760] [client 192.168.55.28:53096] AH01630: client denied by server configuration: /opt/kaltura/app/kmc
[Mon Jul 06 21:40:17.544905 2015] [:error] [pid 18760] [client 192.168.55.28:53096] PHP Notice: Undefined offset: 0 in /opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmc1Success.php on line 927
[Mon Jul 06 21:40:17.544922 2015] [:error] [pid 18760] [client 192.168.55.28:53096] PHP Fatal error: Call to a member function getId() on a non-object in /opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmc1Success.php on line 927
[Mon Jul 06 21:41:41.224416 2015] [authz_core:error] [pid 18422] [client 192.168.55.28:53126] AH01630: client denied by server configuration: /opt/kaltura/app/kmc, referer: http://192.168.56.254/kmc

[2015-07-06 20:51:26]failed to connect [1] [0.001410961151123] mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log;
PHP Fatal error: Uncaught exception ‘PropelException’ with message ‘Unable to open PDO connection dsn[mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log;] user[kaltura] password[bbsCiieaTeVquIu] [wrapped: SQLSTATE[28000] [1045] Access denied for user ‘kaltura’@‘localhost’ (using password: YES)]’ in /opt/kaltura/app/vendor/propel/Propel.php:649
Stack trace :
#0 /opt/kaltura/app/vendor/propel/Propel.php(532): Propel::initConnection(Array, ‘sphinx_log’)

2015-07-06 20:54:27 [451022730] [addPermissionsAndItems.php] [addItemToPermissions] ALERT: exception ‘Exception’ with message ‘ERROR - Permission name [] for partner [0] not found in database - skipping!’ in /opt/kaltura/app/infra/log/KalturaLog.php:64
Stack trace:
#0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(280): KalturaLog::alert(‘ERROR - Permiss…’)

==> /opt/kaltura/log/batch/dbcleanup-0-2015-07-04.err.log <==
PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message ‘Failed connect to 192.168.56.254:80; Connection refused’ in /opt/kaltura/app/batch/client/KalturaClientBase.php:362
Stack trace:
#0 /opt/kaltura/app/batch/client/KalturaClient.php(1309): KalturaClientBase->doQueue()

Regards,
NgMDat.

Hello,

Is your install over HTTP or HTTPs?

Hi jess,

I installed as following [Non-SSL Step-by-step Installation] guide.

And yet it seems to be redirecting to https which seems to be the problem.
What do you get with:
mysql> select * from kaltura.permission WHERE permission.NAME=‘FEATURE_KMC_ENFORCE_HTTPS’\G

If there is a record there, try deleting it and retry to login.

Hi jess

After delete record as your advice, the result of re-try login:

==> /opt/kaltura/log/kaltura_apache_errors.log <==
[Mon Jul 06 23:42:09.011642 2015] [:error] [pid 7589] [client 192.168.55.28:55039] PHP Notice: Undefined offset: 0 in /opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmc1Success.php on line 927, referer: http://192.168.56.254/kmc
[Mon Jul 06 23:42:09.011672 2015] [:error] [pid 7589] [client 192.168.55.28:55039] PHP Fatal error: Call to a member function getId() on a non-object in /opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmc1Success.php on line 927, referer: http://192.168.56.254/kmc

what have i to do next ?

Regards,
NgMdat.

Hello,

This still does not look right. You should be redirected to kmc4, not kmc1.
Can you clear your browser’s cache and retry?
Also, are you trying from the admin console by hitting ‘manage’ for your partner or directly from $HOSTNAME/kmc?

Further more, did you create a partner from the admin console? do not try to login to KMC using the admin partner.

Hi jess
Thanks for your advice.

Can you clear your browser’s cache and retry?

It has no change at result even though i clear cache and retry login.

Also, are you trying from the admin console by hitting ‘manage’ for your partner or directly >>from $HOSTNAME/kmc?

Oh!, I opened KMC from AdminConsole.
But it has some of error, I’ll report for detail them.

Further more, did you create a partner from the admin console? do not try to login to KMC >>using the admin partner.

After finishing the installing, at opening “Start Page” I hit KMC link to open KMC and then
login by Admin account which created by Installer.

By the way, for creating new user, please teach me how to make kaltura’s mailler can connect to my mail server (it’s mean how to let kaltura mailler known id/pwd for login my smtp server)

Regards,
NgMDat.

Hello,

As I said, you cannot login to KMC with the admin creds.
You need to login to admin console and go to the ‘Publishers’ tab and ‘Add New Publisher’.
Then use that partner to login to KMC.
As for mail, you need to setup your MTA, you can install postfix or sendmail and then configure.
For postfix the file is:
/etc/postfix/main.cf
for sendmail:
/etc/mail/sendmail.mc and then regenarate sendmail.cf

Remember to restart postfix or sendmail once done.

Hi jess,

Thanks for your advice.

I already have postfix server on other box, can i make kaltura submit mail by working on combination with that server ?

Regards,
NgMDat.

you can just copy the same postfix config to the Kaltura server.
if:
# echo “Hello” | mail -s Subject some@address.com
from the machine’s shell works, so will emails the Kaltura system sends.

Hi jess,

We’ll discuss further about submit mail in other topic.
I like to close this topic,

Thank you so much for your time and dedication.

Regards,
NgMDat.