Skip to content
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

Closed
noamtahan opened this issue May 28, 2014 · 10 comments
Closed

Service batch isn't running but stale lock file exists #137

noamtahan opened this issue May 28, 2014 · 10 comments

Comments

@noamtahan
Copy link
Contributor

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/]

[root@localhost ~]# service kaltura-batch restart
Shutting down:[FAILED]
Service Batch not running
Starting:[FAILED]
Service batch isn't running but stale lock file exists
Removing stale lock file at /opt/kaltura/log/batch/batch.pid
/usr/bin/php KGenericBatchMgr.class.php /usr/bin/php /opt/kaltura/app/configurations/batch >> /opt/kaltura/log/kaltura_batch.log 2>&1 &
[   OK  ]
[root@localhost ~]# 

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

 /opt/kaltura/log/batch/batch.pid

but service batch isn't running?
Thanks,
Noam.

@daemonhunt
Copy link

I fixed this issue on my instance simply by manually running:

/opt/kaltura/bin/kaltura-batch-config.sh

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.

@noamtahan
Copy link
Contributor Author

Hi @daemonhunt,
Thanks for your reply,
when I run the

/opt/kaltura/bin/kaltura-batch-config.sh

kaltura-batch process restarts and after it everything is working.
However, after restarting the machine this issue reoccurs.
In the kaltura-batch-config script the kaltura-batch restarting on line 84.

chkconfig httpd on
*/etc/init.d/kaltura-batch restart >/dev/null 2>&1*

So like I mentioned, After restarting the batch process everything work....

@eemirtekin
Copy link

Hi @noamtahan

when I run /opt/kaltura/bin/kaltura-batch-config.sh

kaltura-batch-9.16.0-1.noarch
base-config completed successfully, if you ever want to re-configure your system (e.g. change DB hostname) run the following script:

rm /opt/kaltura/app/base-config.lock

/opt/kaltura/bin/kaltura-base-config.sh

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.

Batch log

<2014-05-30 11:05:54 [1933674391] [KSchedulerConfig->load] NOTICE: loading configuration /opt/kaltura/app/configurations/batch at 1401432909
PHP Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Section 'kaltura.yasar.edu.tr' cannot be found in /opt/kaltura/app/cache//batch/config.ini' in /o$
Stack trace:
#0 /opt/kaltura/app/batch/scheduler/KSchedulerConfig.class.php(59): Zend_Config_Ini->__construct('/opt/kaltura/ap...', 'kaltura.yasar.e...', 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

How can I fix this problem;

Thanks a lot

@KalturaCommunity-zz
Copy link

Hello,

This would happen if the DB creation went badly.
The query that retreives the -1 secret is:
mysql> select admin_secret from partner where id=-1;

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!
http://connect.kaltura.com/registration

On Fri, 30 May 2014, eemirtekin wrote:

Hi @noamtahan

when I run /opt/kaltura/bin/kaltura-batch-config.sh

kaltura-batch-9.16.0-1.noarch
base-config completed successfully, if you ever want to re-configure your system (e.g. change DB hostname) run the following
script:

                                           rm /opt/kaltura/app/base-config.lock

                                         /opt/kaltura/bin/kaltura-base-config.sh

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.

How can I fix this problem;

Thanks a lot


Reply to this email directly or view it onGitHub.[2227038__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNzA1ODcxOSwiZGF0YSI6eyJpZCI6MzMzMjMxOTd9fQ==--c228daa569e5c9
b4dc509a42d98a1328de790bd0.gif]

@eemirtekin
Copy link

Hi~

[root@kaltura batch]# mysql -h $DB1_HOST -u $DB1_USER -p$DB1_PASS kaltura
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.1.73 Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> select admin_secret from partner where id=-1;
Empty set (0.00 sec)

mysql>

@jessp01
Copy link
Contributor

jessp01 commented May 30, 2014

So, as suspected, the DB creation stage failed.
Please run:

kaltura-drop-db.sh

kaltura-config-all.sh

And 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!
http://connect.kaltura.com/registration

On Fri, 30 May 2014, Emrah Emirtekin wrote:

Hi~

[root@kaltura batch]# mysql -h $DB1_HOST -u $DB1_USER -p$DB1_PASS kaltura
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.1.73 Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> select admin_secret from partner where id=-1;
Empty set (0.00 sec)

mysql>


Reply to this email directly or view it onGitHub.[5270205__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNzA2MzY0NiwiZGF0YSI6eyJpZCI6MzMzMjMxOTd9fQ==--f97689f4ee3b23
2015d0a61b1995bf1937cab675.gif]

@eemirtekin
Copy link

Below are all the log

Populating DB with data.. please wait..
Output for /opt/kaltura/app/deployment/base/scripts/installPlugins.php being logged into /opt/kaltura/log/installPlugins.log

Archving logs to /opt/kaltura/log/log_30_05_14_13_11.tar.gz...
ERROR: we failed on something else..

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
PHP Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Section 'kaltura.yasar.edu.tr' cannot be found in /opt/kaltura$
Stack trace:
#0 /opt/kaltura/app/batch/scheduler/KSchedulerConfig.class.php(59): Zend_Config_Ini->__construct('/opt/kaltura/ap...', 'kaltura.yasar.e..$
#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

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.000090] [127.0.0.1] [890389587] [API] [global] INFO: API-start pid:12425
2014-05-30 13:11:25 [0.001350] [127.0.0.1] [890389587] [API] [KalturaFrontController->run] DEBUG: Params [Array
(
[service] => system
[action] => ping
)
]
2014-05-30 13:11:25 [0.005004] [127.0.0.1] [890389587] [API] [KalturaDispatcher->dispatch] DEBUG: Dispatching service [system], action [ping], reqIndex [1] with params Array
(
)

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;
2014-05-30 13:11:25 [0.000298] [127.0.0.1] [890389587] [API] [Propel::initConnection] NOTICE: total conn took 0.0013320446014404 mysql:host=127.0.0.1;port=3306;dbname=kaltura;
2014-05-30 13:11:25 [0.000422] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: /* kaltura.yasar.edu.tr[890389587][propel] / SELECT kuser.ID, kuser.LOGIN_DATA_ID, kuser.IS_ADMIN, kuser.SCREEN_NAME, kuser$
2014-05-30 13:11:25 [0.000457] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00035977363586426 seconds
2014-05-30 13:11:25 [0.000278] [127.0.0.1] [890389587] [API] [kPermissionManager::getFromCache] DEBUG: No cache value found for key [role_null_partner_null_internal_0]
2014-05-30 13:11:25 [0.007198] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: /
kaltura.yasar.edu.tr[890389587][propel] / SELECT permission_to_permission_item.ID, permission_to_permission_item.PERMISS$
2014-05-30 13:11:25 [0.000516] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00041890144348145 seconds
2014-05-30 13:11:25 [0.000501] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: /
kaltura.yasar.edu.tr[890389587][propel] */ SELECT permission.ID, permission.TYPE, permission.NAME, permission.FRIENDLY_NA$
2014-05-30 13:11:25 [0.000192] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00010919570922852 seconds
2014-05-30 13:11:25 [0.000131] [127.0.0.1] [890389587] [API] [kPermissionManager::storeInCache] DEBUG: New value stored in cache for key [role_null_partner_null_internal_0] map hash [1490d228bbdadf143cbde796de5a1e04]
2014-05-30 13:11:25 [0.000706] [127.0.0.1] [890389587] [API] [KalturaActionReflector->initService] DEBUG: Create or retrieve instance of action class [SystemService]
2014-05-30 13:11:25 [0.000106] [127.0.0.1] [890389587] [API] [kPermissionManager::isActionPermitted] ERR: Service is not permitted
2014-05-30 13:11:25 [0.000056] [127.0.0.1] [890389587] [API] [KalturaBaseService->isPermitted] ERR: Action is not permitted
2014-05-30 13:11:25 [0.000052] [127.0.0.1] [890389587] [API] [KalturaBaseService->isPermitted] ERR: Kaltura network is not allowed
2014-05-30 13:11:25 [0.000496] [127.0.0.1] [890389587] [API] [KalturaFrontController->getExceptionObject] ERR: exception 'KalturaAPIException' with message 'The access to service [system->ping] is forbidden' in /opt/kalt$
Stack trace:
#0 /opt/kaltura/app/api_v3/lib/KalturaActionReflector.php(251): KalturaBaseService->initService('system', 'system', 'ping')
#1 /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php(111): KalturaActionReflector->initService()
#2 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(111): KalturaDispatcher->dispatch('system', 'ping', Array)
#3 /opt/kaltura/app/api_v3/web/index.php(20): KalturaFrontController->run()
#4 {main}
2014-05-30 13:11:25 [0.000098] [127.0.0.1] [890389587] [API] [KalturaFrontController->serializeResponse] DEBUG: Serialize start
2014-05-30 13:11:25 [0.000632] [127.0.0.1] [890389587] [API] [KalturaFrontController->serializeResponse] DEBUG: Serialize took - 0.00061821937561035
2014-05-30 13:11:25 [0.000060] [127.0.0.1] [890389587] [API] [global] INFO: API-end [0.079900026321411]
2014-05-30 13:11:25 [0.000044] [127.0.0.1] [890389587] [API] [global] DEBUG: <------------------------------------- api_v3 -------------------------------------

kaltura_prog.log

2014-05-30 11:56:17 [0.646896] [127.0.0.1] [781720744] [PS2] [sfContext->initialize] INFO: {sfContext} initialization
2014-05-30 11:56:17 [0.000530] [127.0.0.1] [781720744] [PS2] [sfController->initialize] INFO: {sfController} initialization
2014-05-30 11:56:17 [0.000419] [127.0.0.1] [781720744] [PS2] [sfRouting->parse] INFO: {sfRouting} match route [kmc] "/kmc"
2014-05-30 11:56:17 [0.000083] [127.0.0.1] [781720744] [PS2] [sfWebRequest->loadParameters] INFO: {sfRequest} request parameters array ( 'module' => 'kmc', 'action' => 'kmc',)
2014-05-30 11:56:17 [0.000128] [127.0.0.1] [781720744] [PS2] [sfFrontWebController->dispatch] INFO: {sfController} dispatch request
2014-05-30 11:56:17 [0.006130] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter "sfRenderingFilter"
2014-05-30 11:56:17 [0.000069] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter "myHealthCheckAndSecurityFilter"
2014-05-30 11:56:17 [0.000073] [127.0.0.1] [781720744] [PS2] [myHealthCheckAndSecurityFilter->basicSecureRequest] WARN: basicSecureRequest: took [5.9604644775391E-6] seconds
2014-05-30 11:56:17 [0.000066] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter "sfCommonFilter"
2014-05-30 11:56:17 [0.000055] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter "sfFlashFilter"
2014-05-30 11:56:17 [0.000061] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter "sfExecutionFilter"
2014-05-30 11:56:17 [0.002789] [127.0.0.1] [781720744] [PS2] [sfView->initialize] INFO: {sfView} initialize view for "kmc/kmc"
2014-05-30 11:56:17 [0.005529] [127.0.0.1] [781720744] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmcSuccess.php"
2014-05-30 11:56:17 [0.002837] [127.0.0.1] [781720744] [PS2] [sfPHPView->decorate] INFO: {sfView} decorate content with "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2014-05-30 11:56:17 [0.000086] [127.0.0.1] [781720744] [PS2] [sfPHPView->renderFile] INFO: {sfView} render "/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2014-05-30 11:56:17 [0.001395] [127.0.0.1] [781720744] [PS2] [sfRenderingFilter->execute] INFO: {sfFilter} render to client
2014-05-30 11:56:17 [0.000072] [127.0.0.1] [781720744] [PS2] [sfWebResponse->sendHttpHeaders] INFO: {sfResponse} send status "HTTP/1.0 200 OK"
2014-05-30 11:56:17 [0.000062] [127.0.0.1] [781720744] [PS2] [sfWebResponse->sendHttpHeaders] INFO: {sfResponse} send header "Content-Type": "text/html; charset=utf-8"
2014-05-30 11:56:17 [0.000057] [127.0.0.1] [781720744] [PS2] [sfResponse->sendContent] INFO: {sfResponse} send content (3210 o)

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
/opt/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(662): InfraBootstrapper->_initClient()\n#1
/opt/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(615):
Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('client')\n#2
/opt/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(579):
Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL)\n#3
/opt/kaltura/app/vendor/ZendFramework/library/Zend/Application.php(347):
Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL)\n#4 /opt/kaltura/app/admin_console/web/index.php(37):
Zend_Application->bootstrap()\n#5 {main}\n thrown in /opt/kaltura/app/ui_infra/InfraBootstrapper.php on line 31

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;
PHP Fatal error: Uncaught exception 'PropelException' with message 'Unable to open PDO connection dsn[mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log;] user[kaltura] password[7rJU$
Stack trace:
#0 /opt/kaltura/app/vendor/propel/Propel.php(532): Propel::initConnection(Array, 'sphinx_log')
#1 /opt/kaltura/app/alpha/apps/kaltura/lib/myDbHelper.class.php(29): Propel::getConnection('sphinx_log')
#2 /opt/kaltura/app/plugins/sphinx_search/lib/model/SphinxLogServerPeer.php(20): myDbHelper::getConnection('sphinx_log')
#3 /opt/kaltura/app/plugins/sphinx_search/lib/model/om/BaseSphinxLogServerPeer.php(343): SphinxLogServerPeer::alternativeCon(NULL, 0)
#4 /opt/kaltura/app/plugins/sphinx_search/lib/model/SphinxLogServerPeer.php(36): BaseSphinxLogServerPeer::doSelect(Object(Criteria), NULL)
#5 /opt/kaltura/app/plugins/sphinx_search/scripts/popula in /opt/kaltura/app/vendor/propel/Propel.php on line 649
PHP Fatal error: Call to undefined method kConf::getInternal() in /opt/kaltura/app/alpha/config/kConf.php on line 218
PHP Fatal error: Call to undefined method kConf::getInternal() in /opt/kaltura/app/alpha/config/kConf.php on line 218

@KalturaCommunity-zz
Copy link

I would recommend removing and reinstalling. Seems a lot of things are
dysfunctional.

kaltura-drop-db.sh

yum remove "kaltura"

rm -rf /opt/kaltura

yum install kaltura-server

kaltura-config-all.sh

At 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!
http://connect.kaltura.com/registration

On Fri, 30 May 2014, Emrah Emirtekin wrote:

Below are all the log

Populating DB with data.. please wait..
Output for /opt/kaltura/app/deployment/base/scripts/installPlugins.php being logged into /opt/kaltura/log/installPlugins.log

Archving logs to /opt/kaltura/log/log_30_05_14_13_11.tar.gz...
ERROR: we failed on something else..

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
PHP Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Section 'kaltura.yasar.edu.tr' cannot be found in
/opt/kaltura$
Stack trace:
#0 /opt/kaltura/app/batch/scheduler/KSchedulerConfig.class.php(59): Zend_Config_Ini->__construct('/opt/kaltura/ap...',
'kaltura.yasar.e..$
#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

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.000090] [127.0.0.1] [890389587] [API] [global] INFO: API-start pid:12425
2014-05-30 13:11:25 [0.001350] [127.0.0.1] [890389587] [API] [KalturaFrontController->run] DEBUG: Params [Array
(
[service] => system
[action] => ping
)
]
2014-05-30 13:11:25 [0.005004] [127.0.0.1] [890389587] [API] [KalturaDispatcher->dispatch] DEBUG: Dispatching service [system],
action [ping], reqIndex [1] with params Array
(
)

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;
2014-05-30 13:11:25 [0.000298] [127.0.0.1] [890389587] [API] [Propel::initConnection] NOTICE: total conn took 0.0013320446014404
mysql:host=127.0.0.1;port=3306;dbname=kaltura;
2014-05-30 13:11:25 [0.000422] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: /*
kaltura.yasar.edu.tr[890389587][propel] / SELECT kuser.ID, kuser.LOGIN_DATA_ID, kuser.IS_ADMIN, kuser.SCREEN_NAME, kuser$
2014-05-30 13:11:25 [0.000457] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00035977363586426
seconds
2014-05-30 13:11:25 [0.000278] [127.0.0.1] [890389587] [API] [kPermissionManager::getFromCache] DEBUG: No cache value found for
key [role_null_partner_null_internal_0]
2014-05-30 13:11:25 [0.007198] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: /
kaltura.yasar.edu.tr[890389587][propel] / SELECT permission_to_permission_item.ID, permission_to_permission_item.PERMISS$
2014-05-30 13:11:25 [0.000516] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00041890144348145
seconds
2014-05-30 13:11:25 [0.000501] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: /
kaltura.yasar.edu.tr[890389587][propel] */ SELECT permission.ID, permission.TYPE, permission.NAME, permission.FRIENDLY_NA$
2014-05-30 13:11:25 [0.000192] [127.0.0.1] [890389587] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00010919570922852
seconds
2014-05-30 13:11:25 [0.000131] [127.0.0.1] [890389587] [API] [kPermissionManager::storeInCache] DEBUG: New value stored in cache
for key [role_null_partner_null_internal_0] map hash [1490d228bbdadf143cbde796de5a1e04]
2014-05-30 13:11:25 [0.000706] [127.0.0.1] [890389587] [API] [KalturaActionReflector->initService] DEBUG: Create or retrieve
instance of action class [SystemService]
2014-05-30 13:11:25 [0.000106] [127.0.0.1] [890389587] [API] [kPermissionManager::isActionPermitted] ERR: Service is not permitted
2014-05-30 13:11:25 [0.000056] [127.0.0.1] [890389587] [API] [KalturaBaseService->isPermitted] ERR: Action is not permitted
2014-05-30 13:11:25 [0.000052] [127.0.0.1] [890389587] [API] [KalturaBaseService->isPermitted] ERR: Kaltura network is not allowed
2014-05-30 13:11:25 [0.000496] [127.0.0.1] [890389587] [API] [KalturaFrontController->getExceptionObject] ERR: exception
'KalturaAPIException' with message 'The access to service [system->ping] is forbidden' in /opt/kalt$
Stack trace:
#0 /opt/kaltura/app/api_v3/lib/KalturaActionReflector.php(251): KalturaBaseService->initService('system', 'system', 'ping')
#1 /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php(111): KalturaActionReflector->initService()
#2 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(111): KalturaDispatcher->dispatch('system', 'ping', Array)
#3 /opt/kaltura/app/api_v3/web/index.php(20): KalturaFrontController->run()
#4 {main}
2014-05-30 13:11:25 [0.000098] [127.0.0.1] [890389587] [API] [KalturaFrontController->serializeResponse] DEBUG: Serialize start
2014-05-30 13:11:25 [0.000632] [127.0.0.1] [890389587] [API] [KalturaFrontController->serializeResponse] DEBUG: Serialize took -
0.00061821937561035
2014-05-30 13:11:25 [0.000060] [127.0.0.1] [890389587] [API] [global] INFO: API-end [0.079900026321411]

2014-05-30 13:11:25 [0.000044] [127.0.0.1] [890389587] [API] [global] DEBUG: <------------------------------------- api_v3

kaltura_prog.log

2014-05-30 11:56:17 [0.646896] [127.0.0.1] [781720744] [PS2] [sfContext->initialize] INFO: {sfContext} initialization
2014-05-30 11:56:17 [0.000530] [127.0.0.1] [781720744] [PS2] [sfController->initialize] INFO: {sfController} initialization
2014-05-30 11:56:17 [0.000419] [127.0.0.1] [781720744] [PS2] [sfRouting->parse] INFO: {sfRouting} match route [kmc] "/kmc"
2014-05-30 11:56:17 [0.000083] [127.0.0.1] [781720744] [PS2] [sfWebRequest->loadParameters] INFO: {sfRequest} request parameters
array ( 'module' => 'kmc', 'action' => 'kmc',)
2014-05-30 11:56:17 [0.000128] [127.0.0.1] [781720744] [PS2] [sfFrontWebController->dispatch] INFO: {sfController} dispatch
request
2014-05-30 11:56:17 [0.006130] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter
"sfRenderingFilter"
2014-05-30 11:56:17 [0.000069] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter
"myHealthCheckAndSecurityFilter"
2014-05-30 11:56:17 [0.000073] [127.0.0.1] [781720744] [PS2] [myHealthCheckAndSecurityFilter->basicSecureRequest] WARN:
basicSecureRequest: took [5.9604644775391E-6] seconds
2014-05-30 11:56:17 [0.000066] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter
"sfCommonFilter"
2014-05-30 11:56:17 [0.000055] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter
"sfFlashFilter"
2014-05-30 11:56:17 [0.000061] [127.0.0.1] [781720744] [PS2] [sfFilterChain->execute] INFO: {sfFilter} executing filter
"sfExecutionFilter"
2014-05-30 11:56:17 [0.002789] [127.0.0.1] [781720744] [PS2] [sfView->initialize] INFO: {sfView} initialize view for "kmc/kmc"
2014-05-30 11:56:17 [0.005529] [127.0.0.1] [781720744] [PS2] [sfPHPView->renderFile] INFO: {sfView} render
"/opt/kaltura/app/alpha/apps/kaltura/modules/kmc/templates/kmcSuccess.php"
2014-05-30 11:56:17 [0.002837] [127.0.0.1] [781720744] [PS2] [sfPHPView->decorate] INFO: {sfView} decorate content with
"/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2014-05-30 11:56:17 [0.000086] [127.0.0.1] [781720744] [PS2] [sfPHPView->renderFile] INFO: {sfView} render
"/opt/kaltura/app/alpha/apps/kaltura/templates/kmclayout.php"
2014-05-30 11:56:17 [0.001395] [127.0.0.1] [781720744] [PS2] [sfRenderingFilter->execute] INFO: {sfFilter} render to client
2014-05-30 11:56:17 [0.000072] [127.0.0.1] [781720744] [PS2] [sfWebResponse->sendHttpHeaders] INFO: {sfResponse} send status
"HTTP/1.0 200 OK"
2014-05-30 11:56:17 [0.000062] [127.0.0.1] [781720744] [PS2] [sfWebResponse->sendHttpHeaders] INFO: {sfResponse} send header
"Content-Type": "text/html; charset=utf-8"
2014-05-30 11:56:17 [0.000057] [127.0.0.1] [781720744] [PS2] [sfResponse->sendContent] INFO: {sfResponse} send content (3210 o)

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
/opt/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(662):
InfraBootstrapper->_initClient()\n#1
/opt/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(615):
Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('client')\n#2
/opt/kaltura/app/vendor/ZendFramework/library/Zend/Application/Bootstrap/BootstrapAbstract.php(579):
Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL)\n#3
/opt/kaltura/app/vendor/ZendFramework/library/Zend/Application.php(347):
Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL)\n#4 /opt/kaltura/app/admin_console/web/index.php(37):
Zend_Application->bootstrap()\n#5 {main}\n thrown in /opt/kaltura/app/ui_infra/InfraBootstrapper.php on line 31

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;
PHP Fatal error: Uncaught exception 'PropelException' with message 'Unable to open PDO connection
dsn[mysql:host=127.0.0.1;port=3306;dbname=kaltura_sphinx_log;] user[kaltura] password[7rJU$
Stack trace:
#0 /opt/kaltura/app/vendor/propel/Propel.php(532): Propel::initConnection(Array, 'sphinx_log')
#1 /opt/kaltura/app/alpha/apps/kaltura/lib/myDbHelper.class.php(29): Propel::getConnection('sphinx_log')
#2 /opt/kaltura/app/plugins/sphinx_search/lib/model/SphinxLogServerPeer.php(20): myDbHelper::getConnection('sphinx_log')
#3 /opt/kaltura/app/plugins/sphinx_search/lib/model/om/BaseSphinxLogServerPeer.php(343): SphinxLogServerPeer::alternativeCon(NULL,
0)
#4 /opt/kaltura/app/plugins/sphinx_search/lib/model/SphinxLogServerPeer.php(36):
BaseSphinxLogServerPeer::doSelect(Object(Criteria), NULL)
#5 /opt/kaltura/app/plugins/sphinx_search/scripts/popula in /opt/kaltura/app/vendor/propel/Propel.php on line 649
PHP Fatal error: Call to undefined method kConf::getInternal() in /opt/kaltura/app/alpha/config/kConf.php on line 218
PHP Fatal error: Call to undefined method kConf::getInternal() in /opt/kaltura/app/alpha/config/kConf.php on line 218


Reply to this email directly or view it onGitHub.[2227038__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNzA2NDU0MiwiZGF0YSI6eyJpZCI6MzMzMjMxOTd9fQ==--5e8d406f6c6600
504ecccce944fc255b4292e24d.gif]

@eemirtekin
Copy link

Hi~

i install again but;

Configuring your Kaltura DB...

Checking MySQL version..
Ver 5.1.73 found compatible

CREATE USER kaltura;
CREATE USER etl;
CREATE DATABASE kaltura;
CREATE DATABASE kaltura_sphinx_log;
CREATE DATABASE kalturadw;
CREATE DATABASE kalturadw_ds;
CREATE DATABASE kalturadw_bisources;
CREATE DATABASE kalturalog;
Checking connectivity to needed daemons...
Connectivity test passed:)
Cleaning cache..
Populating DB with data.. please wait..
Output for /opt/kaltura/app/deployment/base/scripts/installPlugins.php being logged into /opt/kaltura/log/installPlugins.log

    Archving logs to /opt/kaltura/log/log_30_05_14_09_19.tar.gz...

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

@KalturaCommunity-zz
Copy link

Hello,

As discussed I connected to your machine.
Following the same proc I suggested before, I ran:
[root@kaltura ~]# kaltura-drop-db.sh
[root@kaltura ~]# kaltura-config-all.sh /tmp/kaltura_30_05_09_15.ans

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!
http://connect.kaltura.com/registration

On Fri, 30 May 2014, Emrah Emirtekin wrote:

Hi~

i install again but;

Configuring your Kaltura DB...

Checking MySQL version..
Ver 5.1.73 found compatible

CREATE USER kaltura;
CREATE USER etl;
CREATE DATABASE kaltura;
CREATE DATABASE kaltura_sphinx_log;
CREATE DATABASE kalturadw;
CREATE DATABASE kalturadw_ds;
CREATE DATABASE kalturadw_bisources;
CREATE DATABASE kalturalog;
Checking connectivity to needed daemons...
Connectivity test passed:)
Cleaning cache..
Populating DB with data.. please wait..
Output for /opt/kaltura/app/deployment/base/scripts/installPlugins.php being logged into /opt/kaltura/log/installPlugins.log

Archving logs to /opt/kaltura/log/log_30_05_14_09_19.tar.gz...

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


Reply to this email directly or view it onGitHub.[2227038__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNzA3NzYxMSwiZGF0YSI6eyJpZCI6MzMzMjMxOTd9fQ==--4b40827b9bc450
3e7e26a567369099338c2a1c97.gif]

@jessp01 jessp01 closed this as completed May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants