Hello,
I have 10.3.0 installed on an AWS EC2 instance. My current issue is that kaltura-batch does not start and gives an error similar to the one discussed in the post below.
However in my case the problem is not resolved when re-running:
/opt/kaltura/bin/kaltura-batch-config.sh
Any suggestions on the next steps for trouble-shooting would be appreciated.
My specific error in kaltura_batch.log is:
2015-02-04 13:19:33 [295703753] [KSchedulerConfig->load] NOTICE: loading configuration /opt/kaltura/app/configurations/batch at 1422942956
PHP Fatal error: Uncaught exception ‘Zend_Config_Exception’ with message ‘Section ‘ip-172-31-33-203.us-west-2.compute.internal’ cannot be found in /opt/kaltura/app/cache//batch/config.ini’ in /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php:150
Stack trace: #0 /opt/kaltura/app/batch/scheduler/KSchedulerConfig.class.php(59): Zend_Config_Ini->__construct(’/opt/kaltura/ap…’, ‘ip-172-31-33-20…’, true) #1 /opt/kaltura/app/batch/scheduler/KSchedulerConfig.class.php(42): KSchedulerConfig->load() #2 /opt/kaltura/app/batch/scheduler/KGenericScheduler.class.php(81): KSchedulerConfig->__construct(’/opt/kaltura/ap…’) #3 /opt/kaltura/app/batch/scheduler/KGenericScheduler.class.php(63): KGenericScheduler->loadConfig(’/opt/kaltura/ap…’) #4 /opt/kaltura/app/batch/KGenericBatchMgr.class.php(37): KGenericScheduler->__construct(’/usr/bin/php’, ‘/opt/kaltura/ap…’) #5 {main}
thrown in /opt/kaltura/app/vendor/ZendFramework/library/Zend/Config/Ini.php on line 150
What do you have in:
/opt/kaltura/app/configurations/batch/batch.ini, line 23?
[@INSTALLED_HOSNAME@ : mainTemplate]
‘@INSTALLED_HOSNAME@’ should be your actual hostname which the batch-config.sh script does as part of its job.
Also, try clearing /opt/kaltura/app/cache//batch dir and restart batch with:
# /etc/init.d/kaltura-batch restart
Thank you. I made the changes you suggested. Those changes alone did not solve the problem, however. The final culprit was the system “hostname” was pointing to the AWS default hostname. Once the system hostname was updated so that hostname returned my FQDN batch started fine.
Unfortunately my files are still getting stuck in the conversion process. The admin console reports status for "Extract Media (94) with Status = Pending with a Processing Start and End time of Dec. 31, 1969.
Is this normal? The dates seem odd. Also I can’t seem to find the entry id in any of the batch logs so not sure where this is failing in the batch process. Thanks for any additional hints.