Installation problems...

8 replies [Last post]
Joined: 02/11/2010
Points: 5

Hi,
Following the wizard, I get approval to proceed:

http://screencast.com/t/YTQ4ZGQwMD

And then I get an error on the last step:

http://screencast.com/t/ZTQ2N2U2ZTM

Any suggestions on what to do next? if I continue, I get to the welcome page, but it's full of broken links; and I can't load the control panel.

thanks,
Rob

Joined: 06/29/2009
Points: 93

http://www.kaltura.org/installation-issue

http://www.kaltura.org/install-success-cant-do-anything

If that doesn't help any, you might drop your sys. specs. here:

Joined: 02/11/2010
Points: 5

What from my brand new vps can I provide to help finding the cause of the problem?

Thanks
Rob

Joined: 01/05/2009
Points: 1697

Hi,

You can upload your installation logs from the Kaltura installation folder (make sure you clear any private data first).
And we'll try to help you identify the problem and learn how to improve.

LSS
LSS's picture
User offline. Last seen 1 year 41 weeks ago.
Joined: 02/15/2010
Points: 16

I have the exactly same problem. I've double checked all pre-Installation requirements and they should be ok.

After installation I got the welcome page and it said installation is fully functional, but most of the links were not working.

I restarted Apache and now it says "Your KalturaCE Server Is Only Partially Functional. 5 services are down - go to the Server Monitor to learn more".
When I click the Server Monitor link I get the same welcome page, but without css-formatting.

This was the second time I have tried installing and got the same result both times.

Found this in install.log:

[2010-02-25 06:44:43] starting db injection function
[2010-02-25 06:44:43] function inject_db_content called - starting db injection
[2010-02-25 06:44:43] db port set to
[2010-02-25 06:44:43] connected to DB
[2010-02-25 06:44:43] Going to run query
[2010-02-25 06:44:44] db injection status
<div class="install failed">An error occured while trying to import DB.<br />Failed on the following queries:<br />  <br />Please make sure that your MySql server is up, and run that query manually</div>
[2010-02-25 06:44:44] registering local partner

...

[2010-02-25 06:44:44] local registration status
<div class="error"><h2>Local Registration failed</h2><h3>Error Code:  </h3><h4>Error Message: </h4></div>

MySql server was up at the time of installation.
Any suggestions?

If I browse to mydomain/kalturaCE/kaltura/api_v3/web/sample/advanced_editor/
I get "Default partner with ID "1" was not found!".

Joined: 01/05/2009
Points: 1697

Hi,

Are you using a special system settings? is your mysql hosted on the localhost or other url?
Can you upload the complete log + your system spec?

LSS
LSS's picture
User offline. Last seen 1 year 41 weeks ago.
Joined: 02/15/2010
Points: 16

What do mean special system settings? The server was basically a clean install there is nothing else running on it. I followed the KalturaCE installations instructions. I also tried using Xampp, but that didn't work either. I will give it yet another try, though. Mysql is hosted on localhost and I can see that Kaltura installation created the tables in the database.

kaltura_install.log:

[2010-02-25 11:20:29] Setting db POST values in global variable $dbdata
[2010-02-25 11:20:29] db POST values set. verifying db port and setting to global $dbdata
[2010-02-25 11:20:29] checking if registration with kaltura.com is required
[2010-02-25 11:20:29] registration with kaltura.com skipped
[2010-02-25 11:20:29] starting replacement function
[2010-02-25 11:20:29] going to write sfrootdir.php file in alpha/config
[2010-02-25 11:20:29] function do_file_replacements called - starting replacements
[2010-02-25 11:20:29] going to replace values in kConf.php
[2010-02-25 11:20:29] kConf.php.template file read, going to calculate value according to form
[2010-02-25 11:20:29] host from form included relative path, assuming the user knows best, going on.
[2010-02-25 11:20:29] trimmed / from host, new host: **************
[2010-02-25 11:20:29] checking if user supllied CDN
[2010-02-25 11:20:29] CDN not supllied, setting to same as host
[2010-02-25 11:20:29] CDN host is: **************
[2010-02-25 11:20:29] searching for replacement strings
[2010-02-25 11:20:29] replacement string found, replacing...
[2010-02-25 11:20:29] replacement done, going to write target in: **************/kalturaCE/kaltura/alpha/config/kConf.php
[2010-02-25 11:20:29] successfuly updated kConf.php
[2010-02-25 11:20:29] kConf replacement output: <div class="install passed">Updated kConf.php</div>
[2010-02-25 11:20:29] going to replace values in database.ini
[2010-02-25 11:20:29] replace_database_ini function called
[2010-02-25 11:20:29] database.ini template file in: templates/database.ini.template and target path is: **************/kalturaCE/kaltura/api_v3/config/database.ini
[2010-02-25 11:20:29] database.ini file read, going to find replacement strings
[2010-02-25 11:20:29] all replacement strings found in database.ini, going to replace
[2010-02-25 11:20:29] replacing to values: Array
(
    [host] => localhost
    [name] => **************
    [user] => **************
    [pass] => **************
    [port] => 3306
)

[2010-02-25 11:20:29] going to write database.ini file
[2010-02-25 11:20:29] successfuly wrote database.ini
[2010-02-25 11:20:29] database.ini replacement output: <div class="install passed">Updated databases.ini</div>
[2010-02-25 11:20:29] going to replace values in databases.yml
[2010-02-25 11:20:29] replace_db_yml function called
[2010-02-25 11:20:29] databases.yml template file in: templates/databases.yml.template and target path is: **************/kalturaCE/kaltura/alpha/config/databases.yml
[2010-02-25 11:20:29] databases.yml file read, going to find replacement strings
[2010-02-25 11:20:29] all replacement strings found in databases.yml, going to replace
[2010-02-25 11:20:29] replacing to values: Array
(
    [host] => localhost
    [name] => **************
    [user] => **************
    [pass] => **************
    [port] => 3306
)

[2010-02-25 11:20:29] going to write databases.yml file
[2010-02-25 11:20:29] successfuly wrote databases.yml
[2010-02-25 11:20:29] databases.yml replacement output: <div class="install passed">Updated databases.yml</div>
[2010-02-25 11:20:29] going to replace values in settings.yml
[2010-02-25 11:20:29] replace_settings_yml function called - going to replace in settings.yml
[2010-02-25 11:20:29] source file is: templates/settings.yml.template target file is: **************/kalturaCE/kaltura/alpha/apps/kaltura/config/settings.yml
[2010-02-25 11:20:29] settings.yml.template file read, going to check for replacement strings
[2010-02-25 11:20:29] replacement string found, replacing settings.yml now
[2010-02-25 11:20:29] replacement done, going to write target file
[2010-02-25 11:20:29] successfully updated settings.yml
[2010-02-25 11:20:29] settings.yml replacement output: <div class="install passed">Updated settings.yml</div>
[2010-02-25 11:20:29] going to replace values in logger.ini
[2010-02-25 11:20:29] replace_logger_ini function called - going to replace in logger.ini
[2010-02-25 11:20:29] source file is: templates/logger.ini.template target file is: **************/kalturaCE/kaltura/api_v3/config/logger.ini
[2010-02-25 11:20:29] logger.ini.template file read, going to check for replacement strings
[2010-02-25 11:20:29] replacement string found, replacing logger.ini now
[2010-02-25 11:20:29] replacement done, going to write target file
[2010-02-25 11:20:29] successfully updated logger.ini
[2010-02-25 11:20:29] logger.ini replacement output: <div class="install passed">Updated logger.ini</div>
[2010-02-25 11:20:29] going to replace values in kaltura_env.sh
[2010-02-25 11:20:29] replace_kaltura_env function called - going to replace in kaltura_env.sh
[2010-02-25 11:20:29] source file is: templates/kaltura_env.sh.template target file is: **************/kalturaCE/kaltura/alpha/batch/kaltura_env.sh
[2010-02-25 11:20:29] kaltura_env.sh.template file read, going to check for replacement strings
[2010-02-25 11:20:29] replacement string found, replacing kaltura_env.sh now
[2010-02-25 11:20:29] replacement done, going to write target file
[2010-02-25 11:20:29] successfully updated kaltura_env.sh
[2010-02-25 11:20:29] kaltura_env.sh replacement output: <div class="install passed">Updated kaltura_env.sh</div>
[2010-02-25 11:20:29] going to replace values in emails_en.ini
[2010-02-25 11:20:29] emails_en.ini.template file read, going to calculate value according to form
[2010-02-25 11:20:29] searching for replacement strings
[2010-02-25 11:20:29] replacement string found, replacing...
[2010-02-25 11:20:29] replacement done, going to write target in: **************/kalturaCE/kaltura/alpha/apps/kaltura/config/emails_en.ini
[2010-02-25 11:20:29] successfuly updated emails_en.ini
[2010-02-25 11:20:29] emails_en.ini replacement output: <div class="install passed">Updated emails_en.ini</div>
[2010-02-25 11:20:29] going to replace installation relative root in UIConf files
[2010-02-25 11:20:29] replace_uiconfs called, going to replace UIConfs
[2010-02-25 11:20:29] replace uiconfs with command php ./run_replace_root.php /**************/kalturaCE
[2010-02-25 11:20:29] successfuly updated uiconf filesArray
(
)

[2010-02-25 11:20:29] uiconf replacement output: <div class="install passed">UIConfs successfully updated</div>
[2010-02-25 11:20:29] finished replacemets
[2010-02-25 11:20:29] replacement status
<div class="install passed">Updated kConf.php</div><div class="install passed">Updated databases.ini</div><div class="install passed">Updated databases.yml</div><div class="install passed">Updated settings.yml</div><div class="install passed">Updated logger.ini</div><div class="install passed">Updated kaltura_env.sh</div><div class="install passed">Updated emails_en.ini</div><div class="install passed">UIConfs successfully updated</div>
[2010-02-25 11:20:29] starting db injection function
[2010-02-25 11:20:29] function inject_db_content called - starting db injection
[2010-02-25 11:20:29] db port set to
[2010-02-25 11:20:29] connected to DB
[2010-02-25 11:20:29] Going to run query
[2010-02-25 11:20:30] db injection status
<div class="install failed">An error occured while trying to import DB.<br />Failed on the following queries:<br />  <br />Please make sure that your MySql server is up, and run that query manually</div>
[2010-02-25 11:20:30] registering local partner
[2010-02-25 11:20:30] registering local partner using: KalturaPartner Object
(
    [id] =>
    [name] => **************
    [website] => **************
    [notificationUrl] =>
    [appearInSearch] => 0
    [createdAt] =>
    [adminName] => **************
    [adminEmail] => **************
    [description] => CE version 1.0
    [commercialUse] => non-commercial_use
    [landingPage] =>
    [userLandingPage] =>
    [contentCategories] => N/A
    [type] =>
    [phone] =>
    [describeYourself] => N/A
    [adultContent] => 0
    [defConversionProfileType] =>
    [notify] =>
    [status] =>
    [allowQuickEdit] =>
    [mergeEntryLists] =>
    [notificationsConfig] =>
    [maxUploadSize] =>
    [partnerPackage] =>
    [secret] =>
    [adminSecret] =>
    [cmsPassword] =>
)

[2010-02-25 11:20:30] using client: KalturaClient Object
(
    [media] => KalturaMediaService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [mixing] => KalturaMixingService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [baseEntry] => KalturaBaseEntryService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [session] => KalturaSessionService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [uiConf] => KalturaUiConfService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [playlist] => KalturaPlaylistService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [user] => KalturaUserService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [widget] => KalturaWidgetService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [search] => KalturaSearchService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [partner] => KalturaPartnerService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [adminUser] => KalturaAdminUserService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [system] => KalturaSystemService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [bulkUpload] => KalturaBulkUploadService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [notification] => KalturaNotificationService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [batch] => KalturaBatchService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [report] => KalturaReportService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [conversionProfile] => KalturaConversionProfileService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [stats] => KalturaStatsService Object
        (
            [client:protected] => KalturaClient Object
 *RECURSION*
        )

    [config:private] => KalturaConfiguration Object
        (
            [logger:private] =>
            [serviceUrl] => **************
            [partnerId] => 0
            [format] => 3
            [clientTag] => php5
        )

    [ks:private] =>
    [shouldLog:private] =>
    [isMultiRequest:private] =>
    [callsQueue:private] => Array
        (
        )

)

[2010-02-25 11:20:30] local registration status
<div class="error"><h2>Local Registration failed</h2><h3>Error Code:  </h3><h4>Error Message: </h4></div>
[2010-02-25 11:20:30] running batches now
[2010-02-25 11:20:30] run batch start command ran OK, checking status

System information:

Linux version 2.6.18.8-xenU.2-32 (root@xenhost97) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #2 SMP Fri Sep 25 14:18:55 EEST 2009

Server version: Apache/2.2.8 (Ubuntu)

PHP 5.2.4-2ubuntu5.10 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 6 2010 22:01:14)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2

Anything else you need?

LSS
LSS's picture
User offline. Last seen 1 year 41 weeks ago.
Joined: 02/15/2010
Points: 16

I just noticed that currently it shows "3 services are down" instead of the 5 before. I haven't made any changes in the installation after my first post.

LSS
LSS's picture
User offline. Last seen 1 year 41 weeks ago.
Joined: 02/15/2010
Points: 16

Got it working using XAMPP 1.7.1. (was trying without xampp before).