Can't log into KMC

13 replies [Last post]
Joined: 07/23/2010
Points: 3

I'm using Kaltura CE 2.0 on Ubuntu 10.04 with XAMPP 1.7.1 and did the whole installation following the guide for 10.04. I created a partner but can't login at /index.php/kmc/kmc.

This is the API's response:
<?xml version="1.0" encoding="ISO-8859-1"?><xml><result><serverTime>1279903185</serverTime></result><error><num_0><code>ADMIN_KUSER_NOT_FOUND</code><desc>The data you entered is invalid</desc></num_0></error><debug><sigtype>1</sigtype><validateSignature></validateSignature><signature>f05daa0b6030de429e38ff4655793a0e</signature><execute_impl_time>0.00512599945068</execute_impl_time><execute_time>0.0649869441986</execute_time><total_time>0.0658278465271</total_time></debug></xml>

Joined: 07/23/2010
Points: 1

I'm having the same issue, the admin tool seems to work fine.

Joined: 07/23/2010
Points: 1

I thought I was going nuts, I too am having the same problem. Followed the installation instructions for install for 2.0 and everything works for the admin console, but any user that is created from there can't login. they get the email with the password but I get the "the data you entered is invalid".

Installed on Ubuntu Server (fresh install) following the instructions to install XAMP.

Joined: 07/07/2010
Points: 7

Bump!

Same problem here too with Ubuntu.

"The data you entered is invalid"

Joined: 07/27/2010
Points: 10

The link in my email, from registration_confirmation@my.server.com, says ...

Quote:
Your account has been created and you can get started by logging in to the Kaltura Management Console - KMC - here: http://kaltura.com/kmc .

If you click on that link like I did, you'll be trying to log into the Kaltura.com site, not your own site.

Try going directly to your.server.com/kmc and logging in there. The username, password, and ID credentials are correct but the rest of the email is boilerplate.

Joined: 07/07/2010
Points: 7

This log seems to put on the right track to solve the problem:

2010-07-24 05:48:06 [701280387] [Kaltura_ClientLoggingProxy->log] DEBUG: service url: [http://video.mysite.com]
2010-07-24 05:48:06 [701280387] [Kaltura_ClientLoggingProxy->log] DEBUG: curl: <a href="http://video.mysite.com/api_v3/index.php?service=systemuser&action=verifyPassword&apiVersion=3.0&format=3&clientTag=php5&email=paolo.calvi%40mysite.com&password=password&partnerId=-2&ks=Zjg0NGRiZWM5MjJiODRiOGM4NmI4Y2EzMmJhODBlOWQ2YzA4YTUzZHwtMjs7MTI4MDAyMjQ4NjsyOzEyNzk5MzYwODYuOTs7&kalsig=64e8583633eed66357e509e88b75a6d6
2010-07-24" title="http://video.mysite.com/api_v3/index.php?service=systemuser&action=verifyPassword&apiVersion=3.0&format=3&clientTag=php5&email=paolo.calvi%40mysite.com&password=password&partnerId=-2&ks=Zjg0NGRiZWM5MjJiODRiOGM4NmI4Y2EzMmJhODBlOWQ2YzA4YTUzZHwtMjs7MTI4MDAyMjQ4NjsyOzEyNzk5MzYwODYuOTs7&kalsig=64e8583633eed66357e509e88b75a6d6
2010-07-24">http://video.mysite.com/api_v3/index.php?service=systemuser&action=verif...</a> 05:48:06 [701280387] [Kaltura_ClientLoggingProxy->log] DEBUG: result (serialized): a:2:{s:4:"code";s:22:"ACTION_DOES_NOT_EXISTS";s:7:"message";s:64:"Action "verifyPassword" does not exists for service "systemuser"";}
2010-07-24 05:48:06 [701280387] [Kaltura_ClientLoggingProxy->log] DEBUG: result (object dump): Array
(
    [code] => ACTION_DOES_NOT_EXISTS
    [message] => Action "verifyPassword" does not exists for service "systemuser"
)

2010-07-24 05:48:06 [701280387] [Kaltura_ClientLoggingProxy->log] DEBUG: execution time for [http://video.mysite.com/api_v3/index.php?service=systemuser&action=verifyPassword]: [0.0141968727112]

Joined: 07/07/2010
Points: 7

And also got this:

0 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(60): KalturaDispatcher->dispatch('batchcontrol', 'reportStatus', Array)
#1 /opt/kaltura/app/api_v3/web/index.php(20): KalturaFrontController->run()
#2 {main}
2010-07-24 06:30:32 [127.0.0.1] [1107430095] [API] [KalturaFrontController->serializeResponse] DEBUG: Serialize start
2010-07-24 06:30:32 [127.0.0.1] [1107430095] [API] [KalturaFrontController->serializeResponse] DEBUG: Serialize took - 0.000320911407471
2010-07-24 06:30:32 [127.0.0.1] [1107430095] [API] [global] INFO: API-end [0.00650596618652]
2010-07-24 06:30:32 [127.0.0.1] [1107430095] [API] [global] DEBUG: <------------------------------------- api_v3 -------------------------------------
2010-07-24 06:30:36 [127.0.0.1] [1319167558] [API] [global] DEBUG: >------------------------------------- api_v3 -------------------------------------
2010-07-24 06:30:36 [127.0.0.1] [1319167558] [API] [global] INFO: API-start
2010-07-24 06:30:36 [127.0.0.1] [1319167558] [API] [KalturaDispatcher->dispatch] DEBUG: Dispatching service [systemuser], action [verifyPassword] with params Array
(
    [service] => systemuser
    [action] => verifyPassword
    [apiVersion] => 3.0
    [format] => 3
    [clientTag] => php5
    [email] =>

    [password] => password
    [partnerId] => -2
    [ks] => M2IxMTkzNDNhZWNkODY5ZWNiN2VmZjY1ZmMzZTdhYTYwNjk0NjUxY3wtMjs7MTI4MDAyNTAzNjsyOzEyNzk5Mzg2MzYuNjQ7Ow==
    [kalsig] => 618360dd56ff443458339c342758a33f
)

2010-07-24 06:30:36 [127.0.0.1] [1319167558] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'Action "verifyPassword" does not exists for service "systemuser"' in /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php:56

Joined: 02/22/2009
Points: 97

guys,

I suspect we have a little mess here...

how did you create the "partner" ? did you do it in the admin_console under the 'users' tab ?

if so - you created an admin console user.

for creating "partner" you have to "add publisher" under the publishers tab, then you should be able to login with the details you get in mail.

verify password is the service to login to the admin console and not to the KMC.
the first error (the one in the XML - admin kuser not found) is relevant, but it might only imply that it was not a partner created but an admin console user.

Gonen

Joined: 07/07/2010
Points: 7

Gonen thank you for your support but the first time I realized that mistake, reinstalled for scruples but when I try to login here:
http://video.mysite.com/admin_console/

i got a white page, nothing appears and I can see this in the /opt/kaltura/log/admin_console.log :

2010-07-26 15:30:10 [63963906] [Kaltura_ClientLoggingProxy->log] DEBUG: service url: [http://video.mysite.com]
2010-07-26 15:30:10 [63963906] [Kaltura_ClientLoggingProxy->log] DEBUG: curl: <a href="http://video.mysite.com/api_v3/index.php?service=systemuser&action=verifyPassword&apiVersion=3.0&format=3&clientTag=php5&email=paolo.calvi%40mysite.com&password=password&partnerId=-2&ks=NDczMWY0ODFlZTgwZWI4ZTFhNzRkYzM0MTkxOWQ2ZWJmOWIzZDZmZXwtMjs7MTI4MDIzMDIxMDsyOzEyODAxNDM4MTAuNjQ7Ow%3D%3D&kalsig=d2e4fc490c097d3991e59e4926b2f68a
2010-07-26" title="http://video.mysite.com/api_v3/index.php?service=systemuser&action=verifyPassword&apiVersion=3.0&format=3&clientTag=php5&email=paolo.calvi%40mysite.com&password=password&partnerId=-2&ks=NDczMWY0ODFlZTgwZWI4ZTFhNzRkYzM0MTkxOWQ2ZWJmOWIzZDZmZXwtMjs7MTI4MDIzMDIxMDsyOzEyODAxNDM4MTAuNjQ7Ow%3D%3D&kalsig=d2e4fc490c097d3991e59e4926b2f68a
2010-07-26">http://video.mysite.com/api_v3/index.php?service=systemuser&action=verif...</a> 15:30:10 [63963906] [Kaltura_ClientLoggingProxy->log] DEBUG: result (serialized): a:2:{s:4:"code";s:22:"ACTION_DOES_NOT_EXISTS";s:7:"message";s:64:"Action "verifyPassword" does not exists for service "systemuser"";}
2010-07-26 15:30:10 [63963906] [Kaltura_ClientLoggingProxy->log] DEBUG: result (object dump): Array
(
    [code] => ACTION_DOES_NOT_EXISTS
    [message] => Action "verifyPassword" does not exists for service "systemuser"
)

2010-07-26 15:30:10 [63963906] [Kaltura_ClientLoggingProxy->log] DEBUG: execution time for [http://video.mysite.com/api_v3/index.php?service=systemuser&action=verifyPassword]: [0.00948095321655]

Am i doing something wrong?

What does it mean Action "verifyPassword" does not exists for service "systemuser"?

Joined: 07/23/2010
Points: 3

Yes, I definitely created a partner.

The API action called is /partnerservices2/adminlogin which is a bit confusing as I'm logging in at /kmc/kmc. There are also no matching log entries at all.

Joined: 07/07/2010
Points: 7

Problem SOLVED! (at least for me) I had to disable eaccelerator

Joined: 01/05/2009
Points: 1697

paolocalvi - good to hear that and thanks for sharing. Did you get to investigate further and learn what caused this in eaccelerator?

crollison, sysnickm - does the problem remain? did you reinstall? --can you share some information about your system deployment? version of PHP?

kuwpicwb - I see that you're using partnerservices2 - you should use only api_v3. partnerservices2 is deprecated.

wire - thanks, this was fixed on the email. did you too have issues logging in to your server?

Joined: 11/04/2010
Points: 1

Hi. I'm new here and to Kaltura

In Kaltura 3.0.0Beta1 error would look like so:
Action "list" does not exists for service "systempartner_systempartner" ACTION_DOES_NOT_EXISTS

The problem starts (line 84) in KalturaDispatcher.php when reflector is asked if (!$reflector->isActionExists($action))
$action being "list"

KalturaServiceReflector.php public function isActionExists($actionName) calls $this->getActions();
And here is all what goes wrong with the eaccelerator - line 128 $docComment = $reflectionMethod->getDocComment();
On first request this will return DocComments for all public methods reflection found, but on subsecuent requests
none will be returned since eaccelerator strips DocComments from opcode as optimisation measure.
http://eaccelerator.net/ticket/229
Not a good idea in our case since we have SystemPartnerService.php defining @action list being listAction as follows:

* @action list
* @param KalturaPartnerFilter $filter
* @param KalturaFilterPager $pager
* @return KalturaPartnerListResponse
*/
public function listAction(KalturaPartnerFilter $filter = null, KalturaFilterPager $pager = null)

So, essentially eaccelerator breaks link between what plugins where supposed to provide and what reflection found they provide.

Solved by adding these two lines to my_kaltura.conf
php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0

Joined: 05/25/2011
Points: 2

I am installing this on CentOS 5.6, x64.

Had the same problem as the original post with the released KalturaCE 3.0.0...

Solved with redfred's solution above:

php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0

(remember to restart the httpd server)

Thank you for sharing the solution, would never have imagined this problem coming from e-accelerator in a million years. :D