Install Problems Redirect Loop

24 replies [Last post]
Joined: 05/27/2009
Points: 1

When i installed the server it said everything was good but when I click the control panel link it gives a redirect loop. The addressbar says http://localhost/kalturaCE/index.php/install/install....etc What have I done wrong? The only error I received was an error saying that it "failed to serialize server result" Thanks.

Joined: 05/19/2009
Points: 9

I had the same trouble. It means that your php is not installed correctly.

Dale

Joined: 02/22/2009
Points: 97

Either that or you don't have mod_rewrite installed and enabled.

Gonen

Joined: 06/03/2009
Points: 3

I'm having the same problems and php seems to be working fine for the 2 other apps that I have. mod_rewrite is enabled.

One thing I have is that it's installed in a subfolder like mysite.com/kaltura would that make a difference?

Joined: 06/04/2009
Points: 6

Same problem here, too.
Redirection limit for this URL exceeded.

Joined: 06/03/2009
Points: 3

FYI
Ubuntu Jaunty
Apache 2.2.11
PHP 5.2.6

Joined: 06/04/2009
Points: 22

same problem here

Joined: 06/04/2009
Points: 1

Hi,

same problem here

And congrats to Kaltura for all this great job :)

Joined: 06/04/2009
Points: 6

I am running Ubuntu server 9.04
Apache 2.2.11
PHP 5.2.9

Joined: 02/22/2009
Points: 97

Hi guys...
a mistake was found in the release, could you please re-download and re-install and let me know if the problems persists ?

Thanks, and sorry for the hassle,

Gonen

Joined: 06/04/2009
Points: 6

Thanks Gonen
Problem solved.
Many, many thanks

Sally

Joined: 06/03/2009
Points: 3

Problem solved for me too.

Joined: 05/27/2009
Points: 3

I downloaded the latest version from the website, and I still get the redirect loop after installation.
At the end of the installation I get the "local registration failed" error.

I am installing on ubuntu 9.04

kaltura_install.log contains:

[2009-06-05 16:31:10] Setting db POST values in global variable $dbdata
[2009-06-05 16:31:10] db POST values set. verifying db port and setting to global $dbdata
[2009-06-05 16:31:10] can't find php executable path

I'm not sure why it can't find the php executable, it's in %path%
Do I need to configure it somewhere?

Joined: 06/04/2009
Points: 6

Are you using Xampp?
If so, does the xampp/phpinfo.php load OK and if so, does it give any clues?

Cheers

Sally

Joined: 05/27/2009
Points: 3

I'm not using Xampp, but I can run phpinfo() fine and there's nothing obviously missing what should I be looking for?

Joined: 06/15/2009
Points: 5

I pulled a new tarball down today, and am experiencing the same redirect loop issue. Was the fix rolled into the kalturaCE v 1.01?

At first I thought it might be a redirect issue with my directory alias of kaltura instead of kalturaCE. A lot of the redirects in .htaccess were relative to the kaltura subdirectory of the installation, so I thought naming the reference directory kaltura seemed like "a bad idea(tm)." However, this was a dead-end. I had the error with 'serializing' mentioned in the first post on this topic too, but following the suggested fixes on that topic (127.0.0.1 -> hostname in install.php) haven't solved the redirect situation.

PHP is working for several other CMS sites installed -- rewrite too. Any tips or hints on what the original fix alluded to above was, that was rolled into the release?

ADVthanksANCE

Joined: 06/15/2009
Points: 5

Downloaded fresh again today, and tried again on a different server. This server also has a bunch of CMS sites with php and rewrite working successfully in production.

After (successful) kalturaCE installation, I go to manage the content through the kmc link provided on the initial page:
http://mysite.com/kalturaCE/index.php/kmc

Clicking on this link causes the infinite rewrite recursion to
http://mysite.com/kalturaCE/index.php/install/install/install/install/in.......

It appears as if the rewrite rule in .htaccess that's causing the recursion is:

RewriteRule ^index.php/(.*)$ kaltura/alpha/web/index.php/$1

I can bypass the rewrite rule and drill down manually to
http://mysite.com/kalturaCE/kaltura/alpha/web/index.php/kmc.
Once there, flash loads fine, but I cannot authenticate through the flash frontend and the site is broken.

It seems like there's a RewriteCond missing in the .htaccess file to kick it out of the loop ... Any tips?

---
No one says, "Hey, I can't read that ASCII attachment ya sent me."

Joined: 01/05/2009
Points: 1697

clusterboy,

Can you add [L] at the end of the line RewriteRule ^index.php/(.*)$ kaltura/alpha/web/index.php/$1 ?
And report back if it solved the problem ?

Can you check that your .htaccess is actually processed ?

Joined: 06/15/2009
Points: 5

I'll reinstall fresh and check. The rewrite rules were definitely being parsed -- I added debugging and tailed the rewrite logs and watched things follow through the matches.

I'm wondering if ewout's post touches on the crux of the issue: I'm installing (the "Debian Way(tm)" ) kalturaCE under /usr/share and not /var/www.

In the process, the apache error log shows errors such as this when trying to load the kmc:
[Wed Jun 17 10:09:40 2009] [error] [client 111.222.333.444] File does not exist: /var/www/usr, referer: http://mysite.com/kalturaCE/install/installed.php

... Update: I just did a clean reinstall under /var/www instead of /usr/share and everything works as advertised (except that my e-mail address is now coming back as invalid data...but it's further along than before, but that's an issue for a different thread).

---------------------
No one says, "Hey, I can't read that ASCII attachment ya sent me."

Joined: 06/21/2009
Points: 1

I had the same problem when I tried to install in a subdirectory (http://localhost/kaltura/) but it went away when I installed in the root of the domain. Maybe the .htaccess file should have a "RewriteBase /subdir/" entry when installing in a subdirectory (but I did not test that).

Joined: 05/29/2009
Points: 6

I'm fried. I've installed this application 20 odd times on about 6 different systems, twice successfully.

I've used VmWare installations of Fedora 8, and downloaded the VmWare appliance provided. Initial success was with Alpha 1.0, then tried using 1.01 as suggested with no success.

I've installed as http://localhost/kalturaCE - moved DocumentRoot to /var/www/html/kalturaCE. I've looked for the 127.0.0.1 issue reported on one thread, and after 2 weeks still am left at Error Message: Array ( [0] => failed to serialize server result ) .

The couple of times it worked thrilled me, but I right now I'm fried.

Anyone have a clue?

Joined: 01/05/2009
Points: 1697

Hi Sandy,

  • Can you access http://localhost/kalturaCE/api/testme ?
  • Do you have mod_rewrite enabled and set up ?
  • What are your AllowOverride (in httpd.conf) Setting for the kalturaCE folder ? (Should be AllowOverride All)
Joined: 07/25/2009
Points: 2

Hey guys, I'm not sure if my problem is related or not but I'm having an issue with the PHP binary not being able to be found. Every time I click Finish in the final installation step, I get the following error: "can't find php executable path". I'm out of options here as PHP works absolutely and perfectly fine for every PHP based application on this server but Kaltura. Even in the very first step where the system requirements were checked, PHP passed. The result of `which php` on this server returns "/usr/bin/php" but it just wont work. Please, anyone, ideas? I need to get this setup for a client and if I cannot, I have no choice but to switch to another solution as we need to begin some development next week and need a system like Kaltura in place for it. Thanks!

Joined: 01/05/2009
Points: 1697

Hi Rami,

Do you have php cli installed ?

Joined: 01/05/2009
Points: 1697

Another potential solution maybe on - Conversion doesn't start.