Hello all
As suggested by Jess I post here the same question posted on Github and still not solved. https://github.com/kaltura/platform-install-packages/issues/523
Server is Centos 6.3, 16 GB ram.
After yum update from of Kaltura ce 10.10 to 11.8 the batch script execution is failing and no new media is processed.
/etc/init.d/kaltura-batch status
Service Batch Manager isn't running [ FAILED ]
I looks like no PID lock file is created.
[root@videohost ~]# /etc/init.d/kaltura-batch restart
Stopping Batch Manager....
Killing Batch Manager with PID and related workers [ OK ]
Starting Batch Manager....
Batch Manager started with PID [ OK ]
[root@videohost ~]# ls -la /opt/kaltura/log/batch/batch.pid
ls: cannot access /opt/kaltura/log/batch/batch.pid: No such file or directory
If I restart kaltura-batch from monit it fail and a bunch of defunct processes appear at ps -aux
kaltura 22109 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22121 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22123 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22125 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22127 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22129 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22131 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22133 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22135 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
kaltura 22137 0.0 0.0 0 0 ? Z 21:44 0:00 [sh]
and so on, about 20 defunct processes
Below the last lines of /opt/kaltura/log/kaltura_batch.log
tail kaltura_batch.log
2016-02-17 14:52:36 [0.000000] [641611149] [1] [BATCH]
[KSchedulerConfig->load] NOTICE: loading configuration
/opt/kaltura/app/configurations/batch at 1453830755
PHP Fatal error: Uncaught exception 'Zend_Config_Exception' with
message 'Section 'videohost.netv.it' 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...',
'videohost.netv....', true)
1 /opt/kaltura/app/batch/scheduler/KSchedulerConfig.class.php(42): KSchedulerConfig->load()
2 /opt/kaltura/app/batch/scheduler/KGenericScheduler.class.php(88): KSchedulerConfig->__construct('/opt/kaltura/ap...')
3 /opt/kaltura/app/batch/scheduler/KGenericScheduler.class.php(70): 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
The hostname is resolvable and correct.
there are no difference between
/opt/kaltura/app/cache//batch/config.ini and
/opt/kaltura/app/configurations/batch/batch.ini
they are identical, and hostname at
/app/configurations/batch/batch.ini:
[.* : mainTemplate]
is correct
I tried to clear cache with:
find /opt/kaltura/app/cache -type f -exec rm {} \;
and restart the daemon but no difference.
Sanity test return all ok until partner ID
[Check memcached daemon is started by Monit] [PASSED, RC: 0] - [52.919132422]
[check daemon memcached init status] [PASSED, RC: 0] - [.003007207]
[kaltura-html5lib ver in KMC config.ini] [PASSED, RC: 0] - [.056952055]
[kaltura-kdp3 ver in KDP3 config.ini] [PASSED, RC: 0] - [.010422104]
[kaltura-kmc ver in KMC config.ini] [PASSED, RC: 0] - [.014156152]
[Get KMC SWFs] [PASSED, RC: 0] - [.120932115]
[check_testme_page] [FAILED, RC: 1] - [.032193084]
[check_kmc_index_page] [PASSED, RC: 0] - [.013382364]
[check_admin_console_index_page] [PASSED, RC: 0] - [.120580998]
[check_studio_index_page] [PASSED, RC: 0] - [.016036960]
[check_clipapp_index_page] [PASSED, RC: 0] - [.371713134]
[Create Partner] [FAILED, RC: 255] - [.070936344]
Partner creation failed. I will skip all tests that require it.
[Red5 file upload] [FAILED, RC: 2] - [.416108913]
Any help to solve this issue? Everything was working fine before the update and all post install script were ok with no error after upgrade.
Many thanks
ifprojects