Copyright © 2008 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
famfamfam
Hi,
sometimes on our Kaltura Server i got the message, that some services are down:
Your KalturaCE Server Is Only Partially Functional
1 services are down - go to the Server Monitor to learn more
If i check the batch log i found this:
27/01 16:08:13.29 {214759064} : handleParseCSV - Number of jobs: 0
27/01 16:08:18.29 {214749656} : Gracefully exiting...
Why exiting the batches?
Is it possible to start them automaticly?
Thanks.
Hi,
To automatically start the services - you'll need to set up a scheduled task / cron job to do that.
Regarding the specific batch case - can you send you full set of logs - that way we'll be able to analyze the issue?
You can upload it here as attachment.
could you please give me some hint about writing a cron job for restarting auto the batch ?
I tried adding the script kaltura/alpha/batch/runBatch.sh to init.d , but seems to be wrong, errror when running it in the console :
/etc/init.d/runBatch.sh start
/etc/init.d/runBatch.sh: line 5: kaltura_env.sh: No such file or directory
Could not open input file: runBatch.php
erwin
Hi!
I got do work runBatch.sh
You must exec the script like this:
sudo -u www-data /var/www/kalturaCE_DIR/kaltura/alpha/batch/runBatch.sh start
The first param is the action (start, stop, etc...), the second is optional and is the name of the batch wich you want to make the action.
Your problem is you're exec the script from a wrong location and the script can't load kaltura_env.php with defined variables inside.
Thanks ....
I met the same issue... there is no error or warning, the service just killed itself and print "gracefully exit..." in the log.
Also wandered if there is a way to restart the services automatically or keep the services alive.