CentOs 7 Installation Errors

I’ve tried several times installing and each time I get failures:
kaltura-sphinx-2.2.1-17.x86_64
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

Starting kaltura-monit (via systemctl): [ OK ]

Configuring your Kaltura DB…

Checking MySQL version…
Ver 5.5.44-MariaDB found compatible

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:)
ERROR: Couldn’t connect to Sphinx with mysql -hlocalhost -P9312.
Please check your setup and then run /opt/kaltura/bin/kaltura-db-config.sh again.

Do you wish to remove the Kaltura DBs? [n/Y]
Hit ‘n’ to keep it for debugging purposes.

Y
This will drop the following DBs:
kaltura kaltura_sphinx_log kalturadw kalturadw_ds kalturadw_bisources kalturalog
and remove users:
kaltura etl
on localhost
NOTE: this is not reversible.
It is recommended you also back up the current data using mysqldump before continuing.
You can use /opt/kaltura/bin/kaltura-export-db.sh to export the data.

Are you absolutely certain you want this? [n/Y]

Y
root DB passwd:
Removing kaltura
Removing kaltura_sphinx_log
Removing kalturadw
Removing kalturadw_ds
Removing kalturadw_bisources
Removing kalturalog
ERROR: we failed on something else…

Thanks!

You need to check why that is.
Start by running:
# /etc/init.d/kaltura-sphinx restart

Look at the output. Then check if it is running with:
# /etc/init.d/kaltura-sphinx status

if it isn’t running, check /opt/kaltura/log/sphinx/kaltura_sphinx_searchd.log and try to understand why.
if it is running, try to connect to it with the same command the install failed with.
check if it has a listener with:
# netstat -plnt|grep searchd

it should be listening on port 9312.

Hi Jess,

Thank you for the reply. Here is the output:

[root@GCvideo ~]# mysql -hlocalhost -P9312
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
[root@GCvideo ~]# /etc/init.d/kaltura-sphinx restart
Stopping searchd: Sphinx 2.2.1-id64-dev (r4097)
Copyright © 2001-2013, Andrew Aksyonoff
Copyright © 2008-2013, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file ‘/opt/kaltura/app/configurations/sphinx/kaltura.conf’…
FATAL: stop: pid file ‘/opt/kaltura/sphinx/searchd.pid’ does not exist or is not readable

Starting searchd: Sphinx 2.2.1-id64-dev (r4097)
Copyright © 2001-2013, Andrew Aksyonoff
Copyright © 2008-2013, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file ‘/opt/kaltura/app/configurations/sphinx/kaltura.conf’…
listening on all interfaces, port=9312
WARNING: index ‘kaltura_base’: no fields configured (use rt_field directive) - NOT SERVING
WARNING: index ‘kaltura_kuser_base’: no fields configured (use rt_field directive) - NOT SERVING
precaching index 'kaltura_entry’
precaching index 'kaltura_category’
precaching index 'kaltura_kuser’
precaching index 'kaltura_category_kuser’
precaching index 'kaltura_cue_point’
precaching index 'kaltura_entry_distribution’
precaching index 'kaltura_caption_item’
precaching index 'kaltura_tag’
precaching index 'kaltura_metadata’
precached 9 indexes in 0.029 sec

[root@GCvideo ~]# mysql -hlocalhost -P9312
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
[root@GCvideo ~]# /etc/init.d/kaltura-sphinx status
searchd (pid 7419 7418) is running…
[root@GCvideo ~]# mysql -hlocalhost -P9312
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
[root@GCvideo ~]# netstat -plnt|grep searchd
tcp 0 0 0.0.0.0:9312 0.0.0.0:* LISTEN 7419/searchd
[root@GCvideo ~]# mysql -hlocalhost -P9312
ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
[root@GCvideo ~]# mysql -hlocalhost -P9312 -pxxxxxxx
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 51
Server version: 5.5.44-MariaDB MariaDB Server

Copyright © 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

MariaDB [(none)]> exit

As you can see if I manually enter the -ppasswd flag it works, but no DB connected. I have previously edited the /opt/kaltura/bin/kaltura-functions.rc file on line 128 to add this flag and the “kaltura” db, which does allow me to bypass, but it fails later on. I wanted to start clean with this post to get at the root of the problem.

Thank you for such prompt response.
Fred

Hi Fred,

Sphinx actually does not require a passwd not does it even allow to set one.
However, it sometimes has issues with localhost and yet works with 127.0.0.1. I have seen it before.
does:
# mysql -h127.0.0.1 -P9312
work?

if so, simply input 127.0.0.1 instead of localhost when prompted by the config and you should be good.

Hi Jess,

That worked! It failed a little further down though:
Checking MySQL version…
Ver 5.5.44-MariaDB found compatible

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

kaltura-db-config.sh FAILED with: 27512 on line 184

Archving logs to /opt/kaltura/log/log_10_02_16_17_19.tar.gz…
ERROR: we failed on something else.

From InsertContent.log:
PHP Fatal error: Uncaught exception ‘KalturaException’ with message ‘Internal server error occurred’ in /opt/kaltura/app/tests/standAloneClient/exec.php:351
Stack trace:
#0 {main}
thrown in /opt/kaltura/app/tests/standAloneClient/exec.php on line 351

Thanks,
Fred

what do you see in this log?

Here’s the whole log:

Queuing action [userRole.add]
Queuing action [user.add]
Executing multirequest
service url: [http://GCvideo.cloudapp.net/]
curl: http://GCvideo.cloudapp.net//api_v3/service/multirequest
post: {“format”:“3”,“ignoreNull”:true,“clientTag”:“php5:16-02-10”,“apiVersion”:“3.3.0”,“0”:{“service”:“userrole”,“action”:“add”,“userRole”:{“objectType”:“KalturaUserRole”,“name”:“System Administrator”,“systemName”:“System Administrator”,“description”:“System Administrator”,“status”:“1”,“permissionNames”:"",“tags”:“admin_console”},“ks”:“OTM3OGZhNjY1M2Y3YjA2NjFhOGY4NjM2OWYwZjZhNjllZmQxM2U1M3wtMjstMjsxNDU1MjExMTY5OzI7MTQ2MjQ7Ow==”},“1”:{“service”:“user”,“action”:“add”,“user”:{“objectType”:“KalturaUser”,“id”:“myemail@gmail.com”,“screenName”:“myemail@gmail.com”,“fullName”:“Kaltura Administrator",“email”:"fredtmacdonald@gmail.com”,“status”:“1”,“password”:“admin123!”,“isAdmin”:“1”,“roleIds”:"{1:result:id}",“allowedPartnerIds”:""},“ks”:“OTM3OGZhNjY1M2Y3YjA2NjFhOGY4NjM2OWYwZjZhNjllZmQxM2U1M3wtMjstMjsxNDU1MjExMTY5OzI7MTQ2MjQ7Ow==”},“kalsig”:“6971b4b300e1941b8415eea0a842ed90”}
PHP Fatal error: Uncaught exception ‘KalturaException’ with message ‘Internal server error occurred’ in /opt/kaltura/app/tests/standAloneClient/exec.php:351
Stack trace:
#0 {main}
thrown in /opt/kaltura/app/tests/standAloneClient/exec.php on line 351
server: [GCvideo.cloudapp.net], session: [1772341688]
result (serialized): a:2:{i:0;O:15:“KalturaUserRole”:10:{s:2:“id”;i:9;s:4:“name”;s:20:“System Administrator”;s:10:“systemName”;s:20:“System Administrator”;s:11:“description”;s:20:“System Administrator”;s:6:“status”;i:1;s:9:“partnerId”;i:-2;s:15:“permissionNames”;s:5821:"AUDIT_PLUGIN_PERMISSION,FEATURE_MOBILE_FLAVORS,scheduledTask.SYSTEM_ADMIN_MANAGE,ADMIN_USER_ASSIGN_PARNTERS,dropFolder.SYSTEM_ADMIN_DROP_FOLDER_BASE,dropFolder.SYSTEM_ADMIN_DROP_FOLDER_MODIFY,eventNotification.SYSTEM_ADMIN_EVENT_NOTIFICATION_BASE,eventNotification.SYSTEM_ADMIN_EVENT_NOTIFICATION_MODIFY,GLOBAL_PARTNER_UI_CONF_UPDTAE,METADATA_PLUGIN_PERMISSION,PARTNER_-2_GROUP_PERMISSION,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_ACCOUNT_INFO,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_ADMIN_KMC_USERS,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_GENERAL_INFORMATION,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_GROUP_OPTIONS,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_OPTIONS_MONITOR_USAGE,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_PACKAGES_SERVICE,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_PACKAGES_SERVICE_PAID,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_TECH_DATA,SYSTEM_ADMIN_BASE,SYSTEM_ADMIN_BATCH_CONTROL,SYSTEM_ADMIN_BATCH_CONTROL_FAILED,SYSTEM_ADMIN_BATCH_CONTROL_INPROGRESS,SYSTEM_ADMIN_BATCH_CONTROL_SETUP,SYSTEM_ADMIN_CONTENT_DISTRIBUTION_BASE,SYSTEM_ADMIN_CONTENT_DISTRIBUTION_MODIFY,SYSTEM_ADMIN_DEVELOPERS_TAB,SYSTEM_ADMIN_EMAIL_INGESTION,SYSTEM_ADMIN_ENTRY_INVESTIGATION,SYSTEM_ADMIN_MANAGE_TEMPLATE_PARTNERS,SYSTEM_ADMIN_MP_REDIRECT,SYSTEM_ADMIN_PARTNER_CONFIGURATION_VIEW,SYSTEM_ADMIN_PERMISSIONS_MANAGE,SYSTEM_ADMIN_PUBLISHER_ADD,SYSTEM_ADMIN_PUBLISHER_BASE,SYSTEM_ADMIN_PUBLISHER_BLOCK,SYSTEM_ADMIN_PUBLISHER_CONFIG,SYSTEM_ADMIN_PUBLISHER_KMC_ACCESS,SYSTEM_ADMIN_PUBLISHER_LIST_COMMERCIAL,SYSTEM_ADMIN_PUBLISHER_REMOVE,SYSTEM_ADMIN_PUBLISHER_RESET_USER_PASSWORD,SYSTEM_ADMIN_PUBLISHER_USAGE,SYSTEM_ADMIN_REPORTS_READ,SYSTEM_ADMIN_REPORTS_UPDATE,SYSTEM_ADMIN_STORAGE,SYSTEM_ADMIN_SYSTEM_MONITOR,SYSTEM_ADMIN_USER_MANAGE,SYSTEM_ADMIN_VIRUS_SCAN,SYSTEM_ADMIN_WIDGET,SYSTEM_FILESYNC,SYSTEM_INTERNAL,VIRUSSCAN_PLUGIN_PERMISSION,drm.SYSTEM_ADMIN_DRM_PROFILE_BASE,drm.SYSTEM_ADMIN_DRM_PROFILE_MODIFY,drm.SYSTEM_ADMIN_DRM_POLICY_BASE,drm.SYSTEM_ADMIN_DRM_POLICY_MODIFY,playReady.PLAY_READY_ADMIN,SYSTEM_ADMIN_DELIVERY,SYSTEM_BASE_DELIVERY,eventNotification.SYSTEM_ADMIN_EVENT_NOTIFICATION_INSERT,businessProcessNotification.SYSTEM_ADMIN_ABORT,CONTENT_MANAGE_ASSIGN_USER_GROUP,ACCESS_CONTROL_ADD,ACCESS_CONTROL_BASE,ACCESS_CONTROL_DELETE,ACCESS_CONTROL_UPDATE,ACCOUNT_BASE,ACCOUNT_UPDATE_SETTINGS,adCuePoint.MANAGE,ADMIN_BASE,ADMIN_PERMISSION_ADD,ADMIN_PERMISSION_DELETE,ADMIN_PERMISSION_UPDATE,ADMIN_PUBLISHER_MANAGE,ADMIN_ROLE_ADD,ADMIN_ROLE_DELETE,ADMIN_ROLE_UPDATE,ADMIN_USER_ADD,ADMIN_USER_BULK,ADMIN_USER_DELETE,ADMIN_USER_UPDATE,ADMIN_WHITE_BRANDING,ADVERTISING_BASE,ADVERTISING_UPDATE_SETTINGS,ALWAYS_ALLOWED_ACTIONS,ALWAYS_ALLOWED_FROM_INTERNAL_IP_ACTIONS,ANALYTICS_BASE,ANALYTICS_SEND_DATA,ASPERA_BASE_PERMISSION,ATTACHMENT_MODIFY,AUDIT_TRAIL_ADD,AUDIT_TRAIL_BASE,BASE_USER_SESSION_PERMISSION,BULK_LOG_BASE,BULK_LOG_DELETE,BULK_LOG_DOWNLOAD,BULK_LOG_DOWNLOAD_EMAIL,CAPTION_MODIFY,CAPTION_SEARCH,CONTENT_INGEST_BASE,CONTENT_INGEST_BULK_UPLOAD,CONTENT_INGEST_CLIP_MEDIA,CONTENT_INGEST_EXTERNAL_SEARCH,CONTENT_INGEST_FEED,CONTENT_INGEST_INTO_ORPHAN,CONTENT_INGEST_INTO_READY,CONTENT_INGEST_ORPHAN_AUDIO,CONTENT_INGEST_ORPHAN_VIDEO,CONTENT_INGEST_REFERENCE_MODIFY,CONTENT_INGEST_REMOTE_STORAGE,CONTENT_INGEST_REPLACE,CONTENT_INGEST_UPLOAD,CONTENT_INGEST_WEBCAM,CONTENT_MANAGE_ACCESS_CONTROL,CONTENT_MANAGE_ANNOTATION,CONTENT_MANAGE_ASSIGN_CATEGORIES,CONTENT_MANAGE_BASE,CONTENT_MANAGE_CATEGORY_USERS,CONTENT_MANAGE_CUSTOM_DATA,CONTENT_MANAGE_DELETE,CONTENT_MANAGE_DISTRIBUTION_BASE,CONTENT_MANAGE_DISTRIBUTION_PROFILE_MODIFY,CONTENT_MANAGE_DISTRIBUTION_REMOVE,CONTENT_MANAGE_DISTRIBUTION_SEND,CONTENT_MANAGE_DISTRIBUTION_WHERE,CONTENT_MANAGE_DOWNLOAD,CONTENT_MANAGE_EDIT_CATEGORIES,CONTENT_MANAGE_EMBED_CODE,CONTENT_MANAGE_ENTRY_USERS,CONTENT_MANAGE_EXPORT,CONTENT_MANAGE_METADATA,CONTENT_MANAGE_MIX,CONTENT_MANAGE_RECONVERT,CONTENT_MANAGE_SCHEDULE,CONTENT_MANAGE_SHARE,CONTENT_MANAGE_THUMBNAIL,CONTENT_MANAGE_VIRUS_SCAN,CONTENT_MODERATE_APPROVE_REJECT,CONTENT_MODERATE_BASE,CONTENT_MODERATE_CUSTOM_DATA,CONTENT_MODERATE_METADATA,cuePoint.MANAGE,CUSTOM_DATA_FIELD_ADD,CUSTOM_DATA_FIELD_DELETE,CUSTOM_DATA_FIELD_UPDATE,CUSTOM_DATA_PROFILE_ADD,CUSTOM_DATA_PROFILE_BASE,CUSTOM_DATA_PROFILE_DELETE,CUSTOM_DATA_PROFILE_UPDATE,dropFolder.CONTENT_INGEST_DROP_FOLDER_BASE,dropFolder.CONTENT_INGEST_DROP_FOLDER_DELETE,dropFolder.CONTENT_INGEST_DROP_FOLDER_MATCH,dropFolder.CONTENT_INGEST_DROP_FOLDER_MODIFY,eventNotification.EVENT_NOTIFICATIONS_TEMPLATE_BASE,eventNotification.EVENT_NOTIFICATIONS_TEMPLATE_DELETE,eventNotification.EVENT_NOTIFICATIONS_TEMPLATE_MANAGE,eventNotification.EVENT_NOTIFICATION_BASE,eventNotification.EVENT_NOTIFICATION_DISPATCH,EXTERNAL_MEDIA_BASE,EXTERNAL_MEDIA_DELETE,EXTERNAL_MEDIA_MANAGE,INTEGRATION_BASE,INTEGRATION_UPDATE_SETTINGS,KMC_ACCESS,KMC_READ_ONLY,LIVE_STREAM_ADD,LIVE_STREAM_UPDATE,MANAGE_ADMIN_USERS,PARTNER_AGGREGATION_VIEW,PLAYLIST_ADD,PLAYLIST_BASE,PLAYLIST_DELETE,PLAYLIST_EMBED_CODE,PLAYLIST_UPDATE,SEARCH_SERVICE,SHORT_LINK_BASE,SHORT_LINK_MODIFY,STUDIO_ADD_UICONF,STUDIO_BASE,STUDIO_BRAND_UICONF,STUDIO_DELETE_UICONF,STUDIO_SELECT_CONTENT,STUDIO_UPDATE_UICONF,SYNDICATION_ADD,SYNDICATION_BASE,SYNDICATION_DELETE,SYNDICATION_UPDATE,TRANSCODING_ADD,TRANSCODING_BASE,TRANSCODING_DELETE,TRANSCODING_UPDATE,widevine.WIDEVINE_BASE,WIDGET_ADMIN,WIDGET_SESSION_PERMISSION,LIVE_CHANNEL_ADD,LIVE_CHANNEL_UPDATE,drm.DRM_DEVICE_BASE,MEDIA_SERVER_PARTNER_LEVEL,PUSH_PUBLISH_PERMISSION,LIVE_STREAM_CREATE_SYNC_POINTS,ALWAYS_ALLOWED_PERMISSION_HYBRID_ECDN,PLAYBACK_BASE_PERMISSION,RESPONSE_PROFILE_ADD,RESPONSE_PROFILE_DELETE,RESPONSE_PROFILE_UPDATE,scheduledTask.SCHEDULED_TASK_BASE,SERVER_NODE_BASE,SERVER_NODE_ADD,SERVER_NODE_DELETE,SERVER_NODE_UPDATE,APP_TOKEN_ADD,APP_TOKEN_DELETE,APP_TOKEN_BASE,APP_TOKEN_UPDATE,INTEGRATION_ACTIONS,LIKE_LIST_ADMIN,LIKE_LIST_USER";s:4:“tags”;s:13:“admin_console”;s:9:“createdAt”;i:1455124771;s:9:“updatedAt”;i:1455124771;}i:1;a:4:{s:4:“code”;s:22:“INTERNAL_SERVERL_ERROR”;s:7:“message”;s:30:“Internal server error occurred”;s:10:“objectType”;s:19:“KalturaAPIException”;s:4:“args”;a:0:{}}}
result (object dump): Array
(
[0] => KalturaUserRole Object
(
[id] => 9
[name] => System Administrator
[systemName] => System Administrator
[description] => System Administrator
[status] => 1
[partnerId] => -2
[permissionNames] => AUDIT_PLUGIN_PERMISSION,FEATURE_MOBILE_FLAVORS,scheduledTask.SYSTEM_ADMIN_MANAGE,ADMIN_USER_ASSIGN_PARNTERS,dropFolder.SYSTEM_ADMIN_DROP_FOLDER_BASE,dropFolder.SYSTEM_ADMIN_DROP_FOLDER_MODIFY,eventNotification.SYSTEM_ADMIN_EVENT_NOTIFICATION_BASE,eventNotification.SYSTEM_ADMIN_EVENT_NOTIFICATION_MODIFY,GLOBAL_PARTNER_UI_CONF_UPDTAE,METADATA_PLUGIN_PERMISSION,PARTNER
-2_GROUP_
_PERMISSION,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_ACCOUNT_INFO,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_ADMIN_KMC_USERS,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_GENERAL_INFORMATION,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_GROUP_OPTIONS,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_OPTIONS_MONITOR_USAGE,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_PACKAGES_SERVICE,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_PACKAGES_SERVICE_PAID,systemPartner.SYSTEM_ADMIN_PUBLISHER_CONFIG_TECH_DATA,SYSTEM_ADMIN_BASE,SYSTEM_ADMIN_BATCH_CONTROL,SYSTEM_ADMIN_BATCH_CONTROL_FAILED,SYSTEM_ADMIN_BATCH_CONTROL_INPROGRESS,SYSTEM_ADMIN_BATCH_CONTROL_SETUP,SYSTEM_ADMIN_CONTENT_DISTRIBUTION_BASE,SYSTEM_ADMIN_CONTENT_DISTRIBUTION_MODIFY,SYSTEM_ADMIN_DEVELOPERS_TAB,SYSTEM_ADMIN_EMAIL_INGESTION,SYSTEM_ADMIN_ENTRY_INVESTIGATION,SYSTEM_ADMIN_MANAGE_TEMPLATE_PARTNERS,SYSTEM_ADMIN_MP_REDIRECT,SYSTEM_ADMIN_PARTNER_CONFIGURATION_VIEW,SYSTEM_ADMIN_PERMISSIONS_MANAGE,SYSTEM_ADMIN_PUBLISHER_ADD,SYSTEM_ADMIN_PUBLISHER_BASE,SYSTEM_ADMIN_PUBLISHER_BLOCK,SYSTEM_ADMIN_PUBLISHER_CONFIG,SYSTEM_ADMIN_PUBLISHER_KMC_ACCESS,SYSTEM_ADMIN_PUBLISHER_LIST_COMMERCIAL,SYSTEM_ADMIN_PUBLISHER_REMOVE,SYSTEM_ADMIN_PUBLISHER_RESET_USER_PASSWORD,SYSTEM_ADMIN_PUBLISHER_USAGE,SYSTEM_ADMIN_REPORTS_READ,SYSTEM_ADMIN_REPORTS_UPDATE,SYSTEM_ADMIN_STORAGE,SYSTEM_ADMIN_SYSTEM_MONITOR,SYSTEM_ADMIN_USER_MANAGE,SYSTEM_ADMIN_VIRUS_SCAN,SYSTEM_ADMIN_WIDGET,SYSTEM_FILESYNC,SYSTEM_INTERNAL,VIRUSSCAN_PLUGIN_PERMISSION,drm.SYSTEM_ADMIN_DRM_PROFILE_BASE,drm.SYSTEM_ADMIN_DRM_PROFILE_MODIFY,drm.SYSTEM_ADMIN_DRM_POLICY_BASE,drm.SYSTEM_ADMIN_DRM_POLICY_MODIFY,playReady.PLAY_READY_ADMIN,SYSTEM_ADMIN_DELIVERY,SYSTEM_BASE_DELIVERY,eventNotification.SYSTEM_ADMIN_EVENT_NOTIFICATION_INSERT,businessProcessNotification.SYSTEM_ADMIN_ABORT,CONTENT_MANAGE_ASSIGN_USER_GROUP,ACCESS_CONTROL_ADD,ACCESS_CONTROL_BASE,ACCESS_CONTROL_DELETE,ACCESS_CONTROL_UPDATE,ACCOUNT_BASE,ACCOUNT_UPDATE_SETTINGS,adCuePoint.MANAGE,ADMIN_BASE,ADMIN_PERMISSION_ADD,ADMIN_PERMISSION_DELETE,ADMIN_PERMISSION_UPDATE,ADMIN_PUBLISHER_MANAGE,ADMIN_ROLE_ADD,ADMIN_ROLE_DELETE,ADMIN_ROLE_UPDATE,ADMIN_USER_ADD,ADMIN_USER_BULK,ADMIN_USER_DELETE,ADMIN_USER_UPDATE,ADMIN_WHITE_BRANDING,ADVERTISING_BASE,ADVERTISING_UPDATE_SETTINGS,ALWAYS_ALLOWED_ACTIONS,ALWAYS_ALLOWED_FROM_INTERNAL_IP_ACTIONS,ANALYTICS_BASE,ANALYTICS_SEND_DATA,ASPERA_BASE_PERMISSION,ATTACHMENT_MODIFY,AUDIT_TRAIL_ADD,AUDIT_TRAIL_BASE,BASE_USER_SESSION_PERMISSION,BULK_LOG_BASE,BULK_LOG_DELETE,BULK_LOG_DOWNLOAD,BULK_LOG_DOWNLOAD_EMAIL,CAPTION_MODIFY,CAPTION_SEARCH,CONTENT_INGEST_BASE,CONTENT_INGEST_BULK_UPLOAD,CONTENT_INGEST_CLIP_MEDIA,CONTENT_INGEST_EXTERNAL_SEARCH,CONTENT_INGEST_FEED,CONTENT_INGEST_INTO_ORPHAN,CONTENT_INGEST_INTO_READY,CONTENT_INGEST_ORPHAN_AUDIO,CONTENT_INGEST_ORPHAN_VIDEO,CONTENT_INGEST_REFERENCE_MODIFY,CONTENT_INGEST_REMOTE_STORAGE,CONTENT_INGEST_REPLACE,CONTENT_INGEST_UPLOAD,CONTENT_INGEST_WEBCAM,CONTENT_MANAGE_ACCESS_CONTROL,CONTENT_MANAGE_ANNOTATION,CONTENT_MANAGE_ASSIGN_CATEGORIES,CONTENT_MANAGE_BASE,CONTENT_MANAGE_CATEGORY_USERS,CONTENT_MANAGE_CUSTOM_DATA,CONTENT_MANAGE_DELETE,CONTENT_MANAGE_DISTRIBUTION_BASE,CONTENT_MANAGE_DISTRIBUTION_PROFILE_MODIFY,CONTENT_MANAGE_DISTRIBUTION_REMOVE,CONTENT_MANAGE_DISTRIBUTION_SEND,CONTENT_MANAGE_DISTRIBUTION_WHERE,CONTENT_MANAGE_DOWNLOAD,CONTENT_MANAGE_EDIT_CATEGORIES,CONTENT_MANAGE_EMBED_CODE,CONTENT_MANAGE_ENTRY_USERS,CONTENT_MANAGE_EXPORT,CONTENT_MANAGE_METADATA,CONTENT_MANAGE_MIX,CONTENT_MANAGE_RECONVERT,CONTENT_MANAGE_SCHEDULE,CONTENT_MANAGE_SHARE,CONTENT_MANAGE_THUMBNAIL,CONTENT_MANAGE_VIRUS_SCAN,CONTENT_MODERATE_APPROVE_REJECT,CONTENT_MODERATE_BASE,CONTENT_MODERATE_CUSTOM_DATA,CONTENT_MODERATE_METADATA,cuePoint.MANAGE,CUSTOM_DATA_FIELD_ADD,CUSTOM_DATA_FIELD_DELETE,CUSTOM_DATA_FIELD_UPDATE,CUSTOM_DATA_PROFILE_ADD,CUSTOM_DATA_PROFILE_BASE,CUSTOM_DATA_PROFILE_DELETE,CUSTOM_DATA_PROFILE_UPDATE,dropFolder.CONTENT_INGEST_DROP_FOLDER_BASE,dropFolder.CONTENT_INGEST_DROP_FOLDER_DELETE,dropFolder.CONTENT_INGEST_DROP_FOLDER_MATCH,dropFolder.CONTENT_INGEST_DROP_FOLDER_MODIFY,eventNotification.EVENT_NOTIFICATIONS_TEMPLATE_BASE,eventNotification.EVENT_NOTIFICATIONS_TEMPLATE_DELETE,eventNotification.EVENT_NOTIFICATIONS_TEMPLATE_MANAGE,eventNotification.EVENT_NOTIFICATION_BASE,eventNotification.EVENT_NOTIFICATION_DISPATCH,EXTERNAL_MEDIA_BASE,EXTERNAL_MEDIA_DELETE,EXTERNAL_MEDIA_MANAGE,INTEGRATION_BASE,INTEGRATION_UPDATE_SETTINGS,KMC_ACCESS,KMC_READ_ONLY,LIVE_STREAM_ADD,LIVE_STREAM_UPDATE,MANAGE_ADMIN_USERS,PARTNER_AGGREGATION_VIEW,PLAYLIST_ADD,PLAYLIST_BASE,PLAYLIST_DELETE,PLAYLIST_EMBED_CODE,PLAYLIST_UPDATE,SEARCH_SERVICE,SHORT_LINK_BASE,SHORT_LINK_MODIFY,STUDIO_ADD_UICONF,STUDIO_BASE,STUDIO_BRAND_UICONF,STUDIO_DELETE_UICONF,STUDIO_SELECT_CONTENT,STUDIO_UPDATE_UICONF,SYNDICATION_ADD,SYNDICATION_BASE,SYNDICATION_DELETE,SYNDICATION_UPDATE,TRANSCODING_ADD,TRANSCODING_BASE,TRANSCODING_DELETE,TRANSCODING_UPDATE,widevine.WIDEVINE_BASE,WIDGET_ADMIN,WIDGET_SESSION_PERMISSION,LIVE_CHANNEL_ADD,LIVE_CHANNEL_UPDATE,drm.DRM_DEVICE_BASE,MEDIA_SERVER_PARTNER_LEVEL,PUSH_PUBLISH_PERMISSION,LIVE_STREAM_CREATE_SYNC_POINTS,ALWAYS_ALLOWED_PERMISSION_HYBRID_ECDN,PLAYBACK_BASE_PERMISSION,RESPONSE_PROFILE_ADD,RESPONSE_PROFILE_DELETE,RESPONSE_PROFILE_UPDATE,scheduledTask.SCHEDULED_TASK_BASE,SERVER_NODE_BASE,SERVER_NODE_ADD,SERVER_NODE_DELETE,SERVER_NODE_UPDATE,APP_TOKEN_ADD,APP_TOKEN_DELETE,APP_TOKEN_BASE,APP_TOKEN_UPDATE,INTEGRATION_ACTIONS,LIKE_LIST_ADMIN,LIKE_LIST_USER
[tags] => admin_console
[createdAt] => 1455124771
[updatedAt] => 1455124771
[relatedObjects] =>
)

[1] => Array
    (
        [code] => INTERNAL_SERVERL_ERROR
        [message] => Internal server error occurred
        [objectType] => KalturaAPIException
        [args] => Array
            (
            )

    )

)

execution time for [http://GCvideo.cloudapp.net//api_v3/service/multirequest]: [7.9492309093475]
Executing failed for request #2 with error [Internal server error occurred]

Changed my email in the above.
Fred

can you please look for errors in /opt/kaltura/log/kaltura_api_v3.log?
use:
grep --color “ERR:|PHP|trace|CRIT|[error]” /opt/kaltura/log/kaltura_api_v3.log
initially and then look at the lines leading to the final err.

Hi Jess,

Couldn’t see any errors. So, reran the config and it completed. Successfully logged in. Thank you so much.

Have a great day!
Fred

Welcome, Fred.

Have a nice productive day, as well:)

1 Like

Sorry Jess. Was getting all kinds of issues when trying to configure admin_console and KMC. Decided to re-run install and am still getting stuck at sphinx. I captured the error when doing the yum install kaltura-server:

13/36
sed: can’t read /opt/kaltura/app/configurations/sphinx/kaltura.conf.template: No such file or directory

#####################################################################################################################################
Installation of kaltura-sphinx 2.2.1 completed
Please run

/opt/kaltura/bin/kaltura-sphinx-config.sh [/path/to/answer/file]

To finalize the setup.
#####################################################################################################################################

I noticed as well that the reason I can get into sphinx at times, is it starts for 60 seconds and then shuts down.

Sorry to bother again.

Thanks in advance.
Fred

Hi Fred,

if you run:
# rpm -qf /opt/kaltura/app/configurations/sphinx/kaltura.conf.template
you will see this is part of the kaltura-base package.
If you do not have this I believe you did not correctly remove the original install or did not correctly reinstall after removing.
I suggest you follow:

And then reinstall

I tried installing a few times on centos 7, but ran into the same issue (failing on the sphinx step). Same situation, sometimes it connected for me, but sometimes it did not, so perhaps you’re right that it runs for only about 60 seconds. I tried 3 or 4 fresh installs just to be sure.

I ended up moving back to centos 6 and the issue doesn’t seem to exist there.

Hi Jess,

Yes. ran the rpm and the template exists after install. There seems to be a sequencing issue with the call to the sed to create the conf from the template. The conf file is empty after the clean install. I ran yum remove kaltura-sphinx and then yum install kaltura-sphinx. This create a full conf file for the sphinx. No more timeouts for the sphinx.I am trying to complete an install as we speak…I’ll let you know how it goes.

Thanks,
Fred

Jess had suspected in my centos 6 thread that sometimes monit was restarting services thinking they had failed (in centos 6, it happened to httpd sometimes, while it’s sphinx in centos 7). A couple of small changes were made to the monit init files and my centos 7 install seems to be working now as well. The changes are to appear as part of the next stable installer build on Sunday.

Huge thanks to Jess for the help!

Most welcome, @craig.jamieson and thanks for reporting.
11.8.0 is now the official version and should work correctly. Do let me know should either of you have issues.

Thank you both. I decided on Thursday to switch to CentOS 6.7 as I am just trying to evaluate the product for a client and time was short. Good to know that this is corrected for future. @jess Many thanks and most impressive how quickly you turned that around. :slightly_smiling:.

Surething, Fred. Let me know should you require further assistance.