Local Registration failed

17 replies [Last post]
Joined: 10/11/2009
Points: 6
Screenshot.png

Hello,
I'm trying install kalturaCE on server (debian ecth with SysCP) and after all steps I getting:

"Kaltura Community Edition Server Installed Successfully
Local Registration failed
Error Code:
Error Message:
IMPORTANT!

* This information was sent to your email, assuming your mail server was set up and operational on this server.
* If your mail server is not set up, save this information now! You will not be able to recover it later."

And if I pressing "Continue" or "home page" link automaticly starts downloding "index.php" file,
what am I doing wrong?

p.s. sorry for my english

Joined: 03/29/2009
Points: 764

Can you please attach a screenshot?

Joined: 10/11/2009
Points: 6

I already did, it's in the right bottom corner at the first post

Joined: 10/11/2009
Points: 6

:) on right top

Joined: 10/13/2009
Points: 2

I am getting the exact same error after I tried to re-install the kaltura. Can someone help?

Joined: 10/26/2009
Points: 48

Did you solve this?

Joined: 10/20/2009
Points: 1

...happens to me. All requirements for installation are met, however what happens is that no local user is added to the database. If I look up the table admin_kuser after installation, it is entirely empty.

Joined: 08/07/2009
Points: 3

Am getting the same error also installing Linux 64-bit on Fedora 10. Inject_db_content thinks it has errors - but no errors in the log files. In addition to admin_kuser being empty - no partner data is being generated.

Joined: 10/11/2009
Points: 6

Everything Is Fine on ubuntu 9.04 with xampp 1.7.1 works fine, it's only one working good combination (at least for me).

Joined: 08/07/2009
Points: 3

On RHEL5 with Xampp 1.7.2 - got this error. Dropped back to Xampp 1.7.1 and things work.

Joined: 10/31/2009
Points: 1

Check everything in this guide: http://www.kaltura.org/kalturace-kaltura-community-edition-getting-start...

My problem was incorrect settings in Apache, works fine now on MacOS X.

Joined: 12/03/2009
Points: 8

I installed KalturaCE on debian lenny and have the same error: "Local Registration failed".

The installed webserver main site shows me "Your KalturaCE Server Is Up And Running" but i can't do nothing.
There are links for example to "Player Gallery" http://servername/api_v3/sample/players/, but in the Apache directory root there is no api_v3 directory.

Any suggestions?

Thanks.

Joined: 11/21/2009
Points: 14

I had reservations about the non-existent directories until I found that these are generated by settings in your .htaccess - make sure it is being processed (found a few different methods in google).

good luck

phil

Joined: 12/03/2009
Points: 8

You are right. I moved the files on the server and forgot the .htaccess file.
With new installation all works fine.
And of course i have "AllowOverride All" in the apache config.

Thank you lucky666.

Joined: 12/07/2009
Points: 14

Hi Phil

I still have the same issue as some people in previous post (I've been trying to get it running for 3 days now...) and I wonder if you answer is related to this issue ...

Installation on Debian etch ( PHP 5.2.0-8 ) seems OK according to the message : Kaltura Community Edition Server Installed Successfully
BUT
I got also "Local Registration failed", this is an exception raised when trying to register the client partner (which is the admin given in the install form.. I guess)

$reg_partner = $client->partner->register($partner, $_POST['password']);

catch(Exception $ex)
{
$errorReporter->addError(
'local registration error',
'failed to register local partner',
...

In the KalturaClient.php script, this function seems to put the request in queue , but what happens and why this failed ?

function register(KalturaPartner $partner, $cmsPassword = "")
{
$kparams = array();
$this->client->addParam($kparams, "partner", $partner->toParams());
$this->client->addParam($kparams, "cmsPassword", $cmsPassword);
$this->client->queueServiceActionCall("partner", "register", $kparams);
if ($this->client->isMultiRequest())
return null;
$resultObject = $this->client->doQueue();
$this->client->throwExceptionIfError($resultObject);
$this->client->validateObjectType($resultObject, "KalturaPartner");
return $resultObject;
}

Joined: 12/07/2009
Points: 14

I am running into the same issue (same message .. install on Debian etch)

looking into the install log, I can see what could be wrong but I don"t know how to get it right ;-))

I have a lot of warnings about the script ( install/replace_root.php not being able to write into ../kalturaCE/content/uiconf
which happens because the uiconf directory is created within the script (owner:group are www-data:www-data , permissions are rwx r-x r-x )
as I am running my vhost within Plesk, the standard user:group is :psacln....

-- from install/replace_root.php -----
if(is_dir('../content/uiconf'))
{
deleteDirectory('../content/uiconf');
echo "deleting ../content/uiconf\n";
}
if(is_dir('../content/uiconf.template'))
{
recurse_copy_and_change('../content/uiconf.template', '../content/uiconf', $server_root);
}
.....

function recurse_copy_and_change($src,$dst, $server_root) {
$dir = opendir($src);
@mkdir($dst);
while(false !== ( $file = readdir($dir)) ) {
if (( $file != '.' ) && ( $file != '..' )) {
if ( is_dir($src . '/' . $file) ) {
recurse_copy_and_change($src . '/' . $file,$dst . '/' . $file, $server_root);
}
else {
copy($src . '/' . $file,$dst . '/' . $file);
replace_root($dst . '/' . $file, $server_root);
}
}
}
closedir($dir);
}
-------

the ../contentuiconf directory should be created with the same owner:group as ../content/uiconf.template, not with the default www-data:www-data... but I am not a PHP dev...

Joined: 11/21/2009
Points: 14

hi kadoudal

sorry - you seem to have the impression that i know how kaltura hangs together - unfortunately i am just a frustrated wanna-be user the same as you - still waiting for someone to answer my question about the player contacting kaltura.com every time you open it.

the only advice i can give is :
- make sure your .htaccess is being processed (add some rubbish in there & refresh the page - if it is then you will get a server error).
- are you using LAMPP? - i have been able to get this running on both ubuntu 9.10 & sles 10 sp2 with xampp 1.7.1 - no luck at all with sles and the usual amp install, even with all the pre-reqs.

good luck & sorry i can't help more

phil

Joined: 03/29/2009
Points: 764

You are welcome to read this solution to the calling .com issue.