PHP Fatal error: Uncaught exception 'KalturaClientException' with message 'couldn't connect to host'

I wonder id someone has answer . Thank you in advance. Dmitri

RHEL,
Server 1 Kaltura
Server 2 MySQL

mysql -h$DB1_HOST -u$DB1_USER -p$DB1_PASS kaltura
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor.

KALTLOG

  • #6 {main}
    2018-07-13 14:07:13 [0.054059] [131.137.245.209] [1798823623] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘Caption asset “N/A” is not ready’ in /client/kaltura/app/plugins/content/caption/base/services/CaptionAssetService.php:442
    Stack trace:

  • #0 [internal function]: CaptionAssetService->getUrlAction(‘0_tst7pos5’, 0)

  • /opt/kaltura/log/batch/bulkupload-0-2018-07-13.err.log <==
    PHP Notice: Use of undefined constant DUPLICATE_CATEGORY - assumed ‘DUPLICATE_CATEGORY’ in /client/kaltura/app/plugins/bulk_upload/xml/batch/BulkUploadEngineXml.php on line 1247

  • ==> /opt/kaltura/log/batch/dbcleanup-0-2018-07-13.err.log <==
    PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message ‘couldn’t connect to host’ in /client/kaltura/app/batch/client/KalturaClientBase.php:357
    Stack trace:
    #0 /client/kaltura/app/batch/client/KalturaClient.php(1309): KalturaClientBase->doQueue()

  • #3 {main}
    2018-07-11 23:59:20 [1253803025] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [5] - Drop folder path not valid [/tmp/sanity-drop-18-09-06-31-mydomain.ca]’ in /client/kaltura/app/infra/log/KalturaLog.php:82
    Stack trace:
    -.#0 /client/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(117): KalturaLog::err(‘Error with fold…’)

  • #3 {main}

Stack trace:

  • #6 {main}
    2018-07-13 14:07:13 [0.054059] [131.137.245.209] [1798823623] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘Caption asset “N/A” is not ready’ in /client/kaltura/app/plugins/content/caption/base/services/CaptionAssetService.php:442
    Stack trace:
  • #0 [internal function]: CaptionAssetService->getUrlAction(‘0_tst7pos5’, 0)

    ==> /opt/kaltura/log/batch/bulkupload-0-2018-07-13.err.log <==
    PHP Notice: Use of undefined constant DUPLICATE_CATEGORY - assumed ‘DUPLICATE_CATEGORY’ in /client/kaltura/app/plugins/bulk_upload/xml/batch/BulkUploadEngineXml.php on line 1247


==> /opt/kaltura/log/batch/dbcleanup-0-2018-07-13.err.log <==
PHP Fatal error: Uncaught exception ‘KalturaClientException’ with message ‘couldn’t connect to host’ in /client/kaltura/app/batch/client/KalturaClientBase.php:357
Stack trace:

  • #0 /client/kaltura/app/batch/client/KalturaClient.php(1309): KalturaClientBase->doQueue()
  • #3 {main}
    2018-07-11 23:59:20 [1253803025] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [5] - Drop folder path not valid [/tmp/sanity-drop-18-09-06-31-vkel-waggle.itsso.gc.ca]’ in /client/kaltura/app/infra/log/KalturaLog.php:82
    Stack trace:
    r#0 /client/kaltura/app/plugins/drop_folder/batch/DropFolderWatcher/KAsyncDropFolderWatcher.class.php(117): KalturaLog::err(‘Error with fold…’)

    #3 {main}
    2018-07-12 23:59:04 [1811418368] [KAsyncDropFolderWatcher->setDropFolderError] ERR: exception ‘Exception’ with message ‘Error with folder id [5] - Drop folder path not valid [/tmp/sanity-drop-18-09-06-31-mydomain.ca]’ in /client/kaltura/app/infra/log/KalturaLog.php:82
    Stack trace: