I’m working on a POC for review and have been following the directions, making sure all of the prerequisites are in place, but when I run the config-all script, I keep getting the following error:
(please note this error comes right after a message that /opt/kaltura/app/kaltura-base-config.sh completed successfuly). The host is a Xen VM that is also CIS hardened.
ERROR: could not retreive partner.admin_secret for id -1. It probably means you did not yet run /opt/kaltura/app/kaltura-base-config.sh yet. Please do.
ERROR: /opt/kaltura/bin/kaltura-batch-config.sh failed:( You can re-run it when the issue is fixed.
[root@HOSTNAME init.d]# service kaltura status
Redirecting to /bin/systemctl status kaltura.service
systemctl
[root@HOSTNAME log]# tail kaltura_elastic_populate.log
PHP Fatal error: Uncaught Zend_Config_Exception: parse_ini_file(/opt/kaltura/app/configurations/kLocalMemCacheConf.ini): failed to open stream: Permission denied in /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php:184
Stack trace:
#0 /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php(125): Zend_Config_Ini->_loadIniFile(’/opt/kaltura/ap…’)
#1 /opt/kaltura/app/alpha/config/cache/kFileSystemConf.php(66): Zend_Config_Ini->__construct(’/opt/kaltura/ap…’)
#2 /opt/kaltura/app/alpha/config/cache/kFileSystemConf.php(90): kFileSystemConf->mergeMaps(Array, false)
#3 /opt/kaltura/app/alpha/config/cache/kFileSystemConf.php(83): kFileSystemConf->loadByHostName(‘kLocalMemCacheC…’, ‘HOSTNAME’)
#4 /opt/kaltura/app/alpha/config/kConfCacheManager.php(42): kFileSystemConf->load(NULL, ‘kLocalMemCacheC…’)
#5 /opt/kaltura/app/alpha/config/kConfCacheManager.php(67): kConfCacheManager::initLoad(‘kLocalMemCacheC…’)
#6 /opt/kaltura/app/alpha/config/kConfCacheManager.php(120): kConfCacheManager::init(false)
#7 in /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php on line 184
[root@HOSTNAME log]# tail kaltura_monit.log
[EDT Oct 8 14:26:46] error : ‘sphinx-populate’ failed to start (exit status 0) – ‘/etc/init.d/kaltura-populate start’: Thu Oct 8 14:25:45 EDT 2020
Starting:
Service populate isn’t running but stale lock file exists
Removing stale lock file at /opt/kaltura/log/populate.pid
/usr/bin/php populateFromLog.php >> /opt/kaltura/log/kaltura_populate.log 2>&1 &
[ OK ]
[EDT Oct 8 14:26:56] error : ‘sphinx’ process is not running
[EDT Oct 8 14:26:56] info : ‘sphinx’ trying to restart
[EDT Oct 8 14:26:56] info : ‘sphinx’ start: ‘/etc/init.d/kaltura-sphinx start’
[root@HOSTNAME log]# tail kaltura_populate.log
PHP Fatal error: Uncaught Zend_Config_Exception: parse_ini_file(/opt/kaltura/app/configurations/kLocalMemCacheConf.ini): failed to open stream: Permission denied in /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php:184
Stack trace:
#0 /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php(125): Zend_Config_Ini->_loadIniFile(’/opt/kaltura/ap…’)
#1 /opt/kaltura/app/alpha/config/cache/kFileSystemConf.php(66): Zend_Config_Ini->__construct(’/opt/kaltura/ap…’)
#2 /opt/kaltura/app/alpha/config/cache/kFileSystemConf.php(90): kFileSystemConf->mergeMaps(Array, false)
#3 /opt/kaltura/app/alpha/config/cache/kFileSystemConf.php(83): kFileSystemConf->loadByHostName(‘kLocalMemCacheC…’, ‘HOSTNAME’)
#4 /opt/kaltura/app/alpha/config/kConfCacheManager.php(42): kFileSystemConf->load(NULL, ‘kLocalMemCacheC…’)
#5 /opt/kaltura/app/alpha/config/kConfCacheManager.php(67): kConfCacheManager::initLoad(‘kLocalMemCacheC…’)
#6 /opt/kaltura/app/alpha/config/kConfCacheManager.php(120): kConfCacheManager::init(false)
#7 in /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php on line 184
[root@HOSTNAME log]# service monit status
Redirecting to /bin/systemctl status monit.service
Unit monit.service could not be found.
[root@HOSTNAME ~]# systemctl status kaltura.service
Unit kaltura.service could not be found.
[root@HOSTNAME ~]# systemctl status kaltura-sphinx
? kaltura-sphinx.service - LSB: start and stop sphinx searchd daemon
Loaded: loaded (/etc/rc.d/init.d/kaltura-sphinx; bad; vendor preset: disabled)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)
[root@HOSTNAME ~]# systemctl status elasticsearch
? elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2020-10-08 14:22:40 EDT; 33min ago
Docs: http://www.elastic.co
Main PID: 15652 (java)
CGroup: /system.slice/elasticsearch.service
±15652 /usr/bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+…
Oct 08 14:22:40 HOSTNAME systemd[1]: Stopped Elasticsearch.
Oct 08 14:22:40 HOSTNAME systemd[1]: Started Elasticsearch.
Any suggestions or advice would be appreciated.