-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service batch isn't running but stale lock file exists #137
Comments
I fixed this issue on my instance simply by manually running:
This just fixed batch and now it runs and restarts flawlessly. Strangely, there was no batch.pid in my log files at all when I was getting this error. Not sure what was happening. |
Hi @daemonhunt,
kaltura-batch process restarts and after it everything is working.
So like I mentioned, After restarting the batch process everything work.... |
Hi @noamtahan when I run /opt/kaltura/bin/kaltura-batch-config.sh kaltura-batch-9.16.0-1.noarch rm /opt/kaltura/app/base-config.lock/opt/kaltura/bin/kaltura-base-config.shERROR: 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. Batch log <2014-05-30 11:05:54 [1933674391] [KSchedulerConfig->load] NOTICE: loading configuration /opt/kaltura/app/configurations/batch at 1401432909 How can I fix this problem; Thanks a lot |
Hello, This would happen if the DB creation went badly. What does it return in your case? May the source be with you, Jess Portnoy Join us for Kaltura Connect 2014, June 16-18, NYC. Register today! On Fri, 30 May 2014, eemirtekin wrote:
|
Hi~ [root@kaltura batch]# mysql -h $DB1_HOST -u $DB1_USER -p$DB1_PASS kaltura Welcome to the MySQL monitor. Commands end with ; or \g. Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> select admin_secret from partner where id=-1; mysql> |
So, as suspected, the DB creation stage failed. kaltura-drop-db.shkaltura-config-all.shAnd if something fails, paste the output. May the source be with you, Jess Portnoy Join us for Kaltura Connect 2014, June 16-18, NYC. Register today! On Fri, 30 May 2014, Emrah Emirtekin wrote:
|
Below are all the log Populating DB with data.. please wait.. Archving logs to /opt/kaltura/log/log_30_05_14_13_11.tar.gz... generate.php.log; PHP Fatal error: Call to undefined method kConf::getInternal() in /opt/kaltura/app/alpha/config/kConf.php on line 218 installPlugins.log PHP Fatal error: Call to undefined method kConf::getInternal() in /opt/kaltura/app/alpha/config/kConf.php on line 218 kaltura_batch.log; 2014-05-30 11:40:22 [160846524] [KSchedulerConfig->load] NOTICE: loading configuration /opt/kaltura/app/configurations/batch at 1401438580 2014-05-30 13:11:25 [0.042288] [127.0.0.1] [890389587] [API] [global] DEBUG: >------------------------------------- api_v3 ------------------------------------- 2014-05-30 13:11:25 [0.019006] [127.0.0.1] [890389587] [API] [KalturaPDO->__construct] DEBUG: conn took - 0.00096607208251953 seconds to mysql:host=127.0.0.1;port=3306;dbname=kaltura; kaltura_prog.log 2014-05-30 11:56:17 [0.646896] [127.0.0.1] [781720744] [PS2] [sfContext->initialize] INFO: {sfContext} initialization kaltura_apache_errors.log [Fri May 30 11:56:17 2014] [error] [client 127.0.0.1] PHP Fatal error: Uncaught exception 'Infra_Exception' with message 'Kaltura client not found, maybe it wasn't generated' in /opt/kaltura/app/ui_infra/InfraBootstrapper.php:31\nStack trace:\n#0 kaltura_populate.log [2014-05-30 11:05:54]failed to connect [1] [0.00046086311340332] mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log; |
I would recommend removing and reinstalling. Seems a lot of things are kaltura-drop-db.shyum remove "kaltura"rm -rf /opt/kalturayum install kaltura-serverkaltura-config-all.shAt each step, look closely for errors and paste them here. Thanks, May the source be with you, Jess Portnoy Join us for Kaltura Connect 2014, June 16-18, NYC. Register today! On Fri, 30 May 2014, Emrah Emirtekin wrote:
|
Hi~ i install again but; Configuring your Kaltura DB... Checking MySQL version.. CREATE USER kaltura;
ERROR: we failed on something else.. /opt/kaltura/log/installPlugins.log PHP Fatal error: Call to undefined method kConf::getInternal() in /opt/kaltura/app/alpha/config/kConf.php on line 218 |
Hello, As discussed I connected to your machine. And all seems to work well. Thanks, May the source be with you, Jess Portnoy Join us for Kaltura Connect 2014, June 16-18, NYC. Register today! On Fri, 30 May 2014, Emrah Emirtekin wrote:
|
Hi All,
Something wrong with kaltura-batch service after machine restart.
kaltura 9.16 ; centos 6.5 X64.
[https://github.com//issues/124#issuecomment-44216130/]
I didnt check it on older releases but what can be the reason for that?
the stale lock file exist even after restarting the machine
but service batch isn't running?
Thanks,
Noam.
The text was updated successfully, but these errors were encountered: