V14.16 kaltura-db-config.sh error [session->start] forbidden, FAILED with: 255 on line 227

#1

During execution of kaltura-db-config.sh v14.16 on AWS EC2 with RHEL-7.6_HVM_GA-20181017-x86_64-0-Hourly2-GP2 (ami-011b3ccf1bd6db744).

CREATE USER kaltura;
CREATE USER etl;
CREATE DATABASE kaltura;
CREATE DATABASE kaltura_sphinx_log;
CREATE DATABASE kalturadw;
CREATE DATABASE kalturadw_ds;
CREATE DATABASE kalturadw_bisources;
CREATE DATABASE kalturalog;
Checking connectivity to needed daemons…
Connectivity test passed:)
Cleaning cache…
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
Generating UI confs…
PHP Fatal error: Uncaught exception ‘KalturaException’ with message ‘The access to service [session->start] is forbidden’ in /opt/kaltura/apps/clientlibs/php5/KalturaClientBase.php:894
Stack trace:
#0 /opt/kaltura/apps/clientlibs/php5/KalturaClient.php(7035): KalturaClientBase->throwExceptionIfError(Array)
#1 /opt/kaltura/html5/html5lib/playkitSources/kaltura-ovp-player/create_playkit_uiconf.php(17): KalturaSessionService->start(‘73d222b894e9685…’, NULL, 2, ‘0’)
#2 {main}
thrown in /opt/kaltura/apps/clientlibs/php5/KalturaClientBase.php on line 894

kaltura-db-config.sh FAILED with: 255 on line 227


Following with kaltlog, these entries occur around the time that the exception is thrown:

> 2019-04-23 20:50:16 [0.000139] [172.28.148.8] [884084486] [480] [API] [kuser->setFullName] ALERT: exception 'Exception' with message 'Field [full_name] on object [kuser] is deprecated' in /opt/kaltura/app/infra/log/KalturaLog.php:70
> Stack trace:
> #0 /opt/kaltura/app/alpha/lib/model/kuser.php(935): KalturaLog::alert('Field [full_nam...')
> --
> 2019-04-23 20:50:16 [0.000779] [172.28.148.8] [477516782] [25] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00069713592529297 seconds
> 2019-04-23 20:50:16 [0.000398] [172.28.148.8] [477516782] [26] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'Flavor params id "33" not found' in /opt/kaltura/app/api_v3/lib/types/conversionProfile/KalturaConversionProfile.php:364
> Stack trace:
> #0 /opt/kaltura/app/api_v3/lib/types/conversionProfile/KalturaConversionProfile.php(303): KalturaConversionProfile->validateFlavorParamsIds()
> --
> 2019-04-23 20:50:16 [0.000772] [172.28.148.8] [1707972899] [25] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00068211555480957 seconds
> 2019-04-23 20:50:16 [0.000277] [172.28.148.8] [1707972899] [26] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'System name [Passthrough_Live] already exists' in /opt/kaltura/app/api_v3/lib/types/conversionProfile/KalturaConversionProfile.php:311
> Stack trace:
> #0 /opt/kaltura/app/api_v3/lib/types/KalturaObject.php(571): KalturaConversionProfile->validateForInsert(Array)
> --
>             [tmp_name] => /opt/kaltura/web/tmp/phpYgn1Zc
>             [error] => 0
>             [size] => 1867662
> --
>             [tmp_name] => /opt/kaltura/web/tmp/phpRbp9I5
>             [error] => 0
>             [size] => 42262
> --
> 2019-04-23 20:50:17 [0.000151] [172.28.148.8] [1540848060] [168] [API] [KalturaObject->generateFromObjectClass] NOTICE: entry::getEntitledPusersView uses private property/method getEntitledPusersViewArray
> 2019-04-23 20:50:17 [0.004001] [172.28.148.8] [1540848060] [169] [API] [KalturaFrontController->getExceptionObject] CRIT: exception 'Exception' with message 'Could not include cached code file - /opt/kaltura/app/cache//api_v3/fromObject/Map_KalturaMediaEntry_entry.php' in /opt/kaltura/app/api_v3/lib/types/KalturaObject.php:398
> Stack trace:
> #0 /opt/kaltura/app/api_v3/services/MediaService.php(87): KalturaObject->fromObject(Object(entry), NULL)
> --
> 2019-04-23 20:50:17 [0.000081] [172.28.148.8] [1540848060] [190] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/api_v3/lib/types/KalturaObject.php line 379 - include_once(): Failed opening '/opt/kaltura/app/cache/api_v3/fromObject/Map_KalturaUploadToken_UploadToken.php' for inclusion (include_path='/opt/kaltura/app/vendor/ZendFramework/library:.:/usr/share/pear:/usr/share/php:/opt/kaltura/app:/opt/kaltura/app/vendor/symfony:/opt/kaltura/app/vendor/symfony/vendor:/opt/kaltura/app/vendor/ZendFramework/library:/opt/kaltura/app/alpha:/opt/kaltura/app/alpha/lib:/opt/kaltura/app/alpha/apps/kaltura/lib')
> 2019-04-23 20:50:17 [0.001506] [172.28.148.8] [1540848060] [191] [API] [KalturaFrontController->getExceptionObject] CRIT: exception 'Exception' with message 'Could not include cached code file - /opt/kaltura/app/cache//api_v3/fromObject/Map_KalturaUploadToken_UploadToken.php' in /opt/kaltura/app/api_v3/lib/types/KalturaObject.php:398
> Stack trace:
> #0 /opt/kaltura/app/api_v3/services/UploadTokenService.php(43): KalturaObject->fromObject(Object(UploadToken), NULL)
> --
> 2019-04-23 20:50:17 [0.000136] [172.28.148.8] [1540848060] [210] [API] [kObjectSavedEvent->__construct] DEBUG: Event [kObjectSavedEvent] object type [UploadToken] id [0_cc2f0b8026f5c1a1e0d63eb99f2decdc]
> 2019-04-23 20:50:17 [0.000185] [172.28.148.8] [1540848060] [211] [API] [KalturaFrontController->getExceptionObject] CRIT: exception 'Exception' with message 'Could not include cached code file - /opt/kaltura/app/cache//api_v3/fromObject/Map_KalturaUploadToken_UploadToken.php' in /opt/kaltura/app/api_v3/lib/types/KalturaObject.php:398
> Stack trace:
> #0 /opt/kaltura/app/api_v3/services/UploadTokenService.php(43): KalturaObject->fromObject(Object(UploadToken), NULL)
> --
> 2019-04-23 20:50:17 [0.000829] [172.28.148.8] [1540848060] [222] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00073599815368652 seconds
> 2019-04-23 20:50:17 [0.000181] [172.28.148.8] [1540848060] [223] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'Entry id "" not found' in /opt/kaltura/app/api_v3/services/ThumbAssetService.php:77
> Stack trace:
> #0 [internal function]: ThumbAssetService->addAction('', Object(KalturaThumbAsset))
> --
>             [tmp_name] => /opt/kaltura/web/tmp/phpYgn1Zc
>             [error] => 0
>             [size] => 1867662
> --
> 2019-04-23 20:50:17 [0.000671] [172.28.148.8] [1540848060] [232] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00058913230895996 seconds
> 2019-04-23 20:50:17 [0.000185] [172.28.148.8] [1540848060] [233] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'Upload token not found' in /opt/kaltura/app/api_v3/services/UploadTokenService.php:91
> Stack trace:
> #0 [internal function]: UploadTokenService->uploadAction('', Array, false, true, -1)
> --
>             [tmp_name] => /opt/kaltura/web/tmp/phpRbp9I5
>             [error] => 0
>             [size] => 42262
> --
> 2019-04-23 20:50:17 [0.000682] [172.28.148.8] [1540848060] [241] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00060009956359863 seconds
> 2019-04-23 20:50:17 [0.000180] [172.28.148.8] [1540848060] [242] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'Upload token not found' in /opt/kaltura/app/api_v3/services/UploadTokenService.php:91
> Stack trace:
> #0 [internal function]: UploadTokenService->uploadAction('', Array, false, true, -1)
> --
> 2019-04-23 20:50:17 [0.000866] [172.28.148.8] [1540848060] [252] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00077199935913086 seconds
> 2019-04-23 20:50:17 [0.000193] [172.28.148.8] [1540848060] [253] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'Entry id "" not found' in /opt/kaltura/app/api_v3/services/MediaService.php:114
> Stack trace:
> #0 [internal function]: MediaService->addContentAction('', Object(KalturaUploadedFileTokenResource))
> --
> 2019-04-23 20:50:17 [0.000719] [172.28.148.8] [1540848060] [261] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00061678886413574 seconds
> 2019-04-23 20:50:17 [0.000175] [172.28.148.8] [1540848060] [262] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'The Thumbnail asset id "" not found' in /opt/kaltura/app/api_v3/services/ThumbAssetService.php:118
> Stack trace:
> #0 [internal function]: ThumbAssetService->setContentAction('', Object(KalturaUploadedFileTokenResource))

Any help would be appreciated.