@jess
I completed the reconfiguration. Here is what I came accross in the various logs
Populating DB with data.. please wait..
Output for /opt/kaltura/app/deployment/base/scripts/installPlugins.php being logged into /opt/kaltura/log/installPlugins.log
Output for /opt/kaltura/app/deployment/base/scripts/insertDefaults.php being logged into /opt/kaltura/log/insertDefaults.log
Output for /opt/kaltura/app/deployment/base/scripts/insertPermissions.php being logged into /opt/kaltura/log/insertPermissions.log
Output for /opt/kaltura/app/deployment/base/scripts/insertContent.php being logged into /opt/kaltura/log/insertContent.log
Nothing appears in the first two logs.
installPlugins.log
insertDefaults.log
I found the following errors in the ‘insertPermissions’ log.
2016-03-15 14:18:59 [KalturaStatement->execute] DEBUG: /* tig03.hiphopservers.com[928451227][propel] */ SELECT permission.ID, permission.TYPE, permission.NAME, permission.FRIENDLY_NAME, permission.DESCRIPTION, permission.PARTNER_ID, permission.STATUS, permission.DEPENDS_ON_PERMISSION_NAMES, permission.TAGS, permission.CREATED_AT, permission.UPDATED_AT, permission.CUSTOM_DATA FROM `permission` WHERE permission.NAME='PARTNER_-1_GROUP_*_PERMISSION' AND permission.TYPE IN ('1','4') AND permission.PARTNER_ID IN ('0','0','-1') AND permission.STATUS<>'3' LIMIT 1
2016-03-15 14:18:59 [KalturaStatement->execute] DEBUG: Sql took - 0.00021791458129883 seconds
2016-03-15 14:18:59 [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [PARTNER_-1_GROUP_*_PERMISSION] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:65
Stack trace:
#0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(284): KalturaLog::alert('ERROR - Permiss...')
#1 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(197): addItemToPermissions(Object(kApiActionPermissionItem), Array, '0')
#2 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(40): addActionPermissionItem(Object(Zend_Config))
#3 {main}
2016-03-15 14:18:59 [KalturaStatement->execute] DEBUG: /* tig03.hiphopservers.com[928451227][propel] */ SELECT permission_item.ID, permission_item.TYPE, permission_item.PARTNER_ID, permission_item.PARAM_1, permission_item.PARAM_2, permission_item.PARAM_3, permission_item.PARAM_4, permission_item.PARAM_5, permission_item.TAGS, permission_item.CREATED_AT, permission_item.UPDATED_AT, permission_item.CUSTOM_DATA FROM `permission_item` WHERE permission_item.PARAM_1='groupuser' AND permission_item.PARAM_2='delete' AND permission_item.PARTNER_ID IN ('0','0') AND permission_item.TYPE='kApiActionPermissionItem' LIMIT 1
2016-03-15 14:18:59 [KalturaStatement->execute] DEBUG: Sql took - 0.00014710426330566 seconds
2016-03-15 14:18:59 [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [PARTNER_-1_GROUP_*_PERMISSION] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:65
Stack trace:
#0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(284): KalturaLog::alert('ERROR - Permiss...')
#1 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(197): addItemToPermissions(Object(kApiActionPermissionItem), Array, '0')
#2 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(40): addActionPermissionItem(Object(Zend_Config))
#3 {main}
2016-03-15 14:18:59 [KalturaStatement->execute] DEBUG: Sql took - 0.00021481513977051 seconds
2016-03-15 14:18:59 [addItemToPermissions] ALERT: exception 'Exception' with message 'ERROR - Permission name [PARTNER_-1_GROUP_*_PERMISSION] for partner [0] not found in database - skipping!' in /opt/kaltura/app/infra/log/KalturaLog.php:65
Stack trace:
#0 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(284): KalturaLog::alert('ERROR - Permiss...')
#1 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(197): addItemToPermissions(Object(kApiActionPermissionItem), Array, '0')
#2 /opt/kaltura/app/alpha/scripts/utils/permissions/addPermissionsAndItems.php(40): addActionPermissionItem(Object(Zend_Config))
#3 {main}
2016-03-15 14:19:45 [KalturaStatement->execute] DEBUG: /* tig03.hiphopservers.com[1783304601][propel] */ SELECT permission_item.ID, permission_item.TYPE, permission_item.PARTNER_ID, permission_item.PARAM_1, permission_item.PARAM_2, permission_item.PARAM_3, permission_item.PARAM_4, permission_item.PARAM_5, permission_item.TAGS, permission_item.CREATED_AT, permission_item.UPDATED_AT, permission_item.CUSTOM_DATA FROM `permission_item` WHERE permission_item.PARAM_1='stats' AND permission_item.PARAM_2='reportkceerror' AND permission_item.PARTNER_ID IN ('0','0') AND permission_item.TYPE='kApiActionPermissionItem' LIMIT 1
2016-03-15 14:19:45 [KalturaStatement->execute] DEBUG: Sql took - 0.00048184394836426 seconds
2016-03-15 14:19:45 [KalturaStatement->execute] DEBUG: /* tig03.hiphopservers.com[1783304601][propel] */ INSERT INTO permission_item (`ID`,`TYPE`,`PARTNER_ID`,`PARAM_1`,`PARAM_2`,`PARAM_3`,`PARAM_4`,`PARAM_5`,`TAGS`,`CREATED_AT`,`UPDATED_AT`) VALUES (NULL,'kApiActionPermissionItem','0','stats','reportkceerror','','','','','2016-03-15 14:19:45','2016-03-15 14:19:45')
2016-03-15 14:19:45 [KalturaStatement->execute] DEBUG: Sql took - 0.022797107696533 seconds
2016-03-15 14:19:45 [kObjectCreatedEvent->__construct] DEBUG: Event [kObjectCreatedEvent] object type [kApiActionPermissionItem] id [271]
2016-03-15 14:19:45 [kObjectSavedEvent->__construct] DEBUG: Event [kObjectSavedEvent] object type [kApiActionPermissionItem] id [271]
2016-03-15 14:19:45 [addActionPermissionItem] NOTICE: New permission item id [271] added for [stats->reportkceerror] partner id [0]
Everything after that seems to repeat the same errors over and over. I will submit the result of the DWH logs in my other thread related to analytic reporting issues.
Let me note that my installation is configured as an SSL installation. I have done two other installation with non-SSL and oddly even with the various issues. When I run the config all script it actually runs completely though without errors assuming everything is in order. The SSL enable configuration never runs completely without breaking at the same part.
This then requires me to fix the issue in the non httpd zzzkaltura.conf file then manually re-run the last two steps of the script. My guess is that this is part of the issue with the configuration never actually completing fully. If I am missing some of the steps after the break point then this could be the point where things go array.
Generating UI confs..
Shutting down monit: [FAILED]
Starting monit: Starting Monit 5.13 daemon with http interface at [*]:2812
[ OK ]
Running Batch config...
kaltura-batch-11.10.0-2.noarch
base-config completed successfully, if you ever want to re-configure your system (e.g. change DB hostname) run the following script:
# rm /opt/kaltura/app/base-config.lock
# /opt/kaltura/bin/kaltura-base-config.sh
Reloading httpd: not reloading due to configuration syntax error
[FAILED]
kaltura-batch-config.sh FAILED with: 18597 on line 98
Archving logs to /opt/kaltura/log/log_15_03_16_19_37.tar.gz...
ERROR: /opt/kaltura/bin/kaltura-batch-config.sh failed:( You can re-run it when the issue is fixed.
The issue causing the break here is the script does not correctly insert the proper token values for the HTTP port and paths to the log files. So HTTPD can not properly restart. I would request that this be fixed to work properly during SSL installation on RPM setups in the next release. It would make for a smoother install avoiding breaking the system installation.