RHEL5 / Centos 5 64 bit Installation Failure - absolute path error

4 replies [Last post]
Joined: 05/14/2009
Points: 35

Hello,

My server specs
PHP 5.2.10
Apache 2.2.X

When I go through the installation process the Kaltura software assigns my host name and the absolute path to my "www_host" variable in the Kaltura configuration file. My host name only exists on my development machine. I added the host name + IP into my /etc/hosts file

So if my host name is "video.test" and my absolute path is "/var/www/workspace/video/" my "www_host" value is "http://video.test/var/www/workspace/video/"

404 Installation fails and when I attempt to access any of the resources I get the following error.
Not Found http://video.test/var/www/workspace/video/api_v3/sample/

If I use my savy computer skill and enter the correct url I get
"Default partner with ID "1" was not found!"

Any ideas?

Joined: 05/14/2009
Points: 35

I had two problems to fix....

1) To remove the absolute path from the url you must comment out the following line in the install/install.php file.
//$host .= $path_after_host;
It is around line 700 in the install.php file

2) sudo cp -rp uiconf.template/* uiconf/
For some reason the demo players do not load right until to reload the uiconf files. Again, this is related to the absolute file path being in the URL

Joined: 01/05/2009
Points: 1697

Cool. thx for sharing.
Does that fix all issues with CentOS 64bit installation? (i.e. Did you successfully finished installation after that?)

Joined: 10/02/2009
Points: 1

I am getting a similar thing. When I installed in order to get success I unchecked the subscribe option ( Ithink it was because it failed the first few times and my email address had already been sent)
but in many places it has incorrect URLs
an example is on the demos
SKIN LOADING ERRORUnable to load style(Error #2035): http://kaltura.realtyweb.net/var/www/kalturaCE/content/uiconf/kaltura/ap....
where the URL should be http://kaltura.realtyweb.net/content/uiconf/kaltura/appstudio/v.1/kdp_sk....

is there somewhere this is configured?

My setup is also 5.3Centos 64 bit. I hand installed everything else. your test screen was clean.

Joined: 12/03/2009
Points: 8

I had the same 2 problems on debian lenny x64.
Im must delete the "$host .= $path_after_host;" in the file before installing KalturaCE.

The solution from redbeard works for me. THANK YOU.