0

Kaltura管理コンソール内のにUploading any Contentアクセスしているときにエラーが発生しました。[ Content ] Tab私は管理者の役割を担っています。

次のように表示されます:

ここに画像の説明を入力してください

kaltura_api_v3.logファイル内:

2012-07-10 19:35:52 [127.0.0.1] [2090136132] [API] [KalturaFrontController->errorHandler] NOTICE: /opt/kaltura/app/infra/general/myCache.class.php line 39 - Memcache::connect(): Server example.mydomain.com (tcp 11211, udp 0) failed with: Connection refused (111)
2012-07-10 19:35:52 [127.0.0.1] [2090136132] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/general/myCache.class.php line 39 - Memcache::connect(): Can't connect to example.mydomain.com:11211, Connection refused (111)
2012-07-10 19:35:52 [127.0.0.1] [2090136132] [API] [myCache->myCache] NOTICE: ERROR: Error while trying to connect to memcache. Make sure it is properly running on example.mydomain.com:11211
2012-07-10 19:35:52 [127.0.0.1] [2090136132] [API] [kPermissionManager::addPartnerGroupAction] NOTICE: Permission item id [571] is not of type PermissionItemType::API_ACTION_ITEM but still defined in partner group permission id [117]
2012-07-10 19:35:52 [127.0.0.1] [2090136132] [API] [kPermissionManager::addPartnerGroupAction] NOTICE: Permission item id [633] is not of type PermissionItemType::API_ACTION_ITEM but still defined in partner group permission id [117]
2012-07-10 19:35:52 [127.0.0.1] [48976061] [API] [KalturaFrontController->errorHandler] NOTICE: /opt/kaltura/app/infra/general/myCache.class.php line 39 - Memcache::connect(): Server example.mydomain.com (tcp 11211, udp 0) failed with: Connection refused (111)
2012-07-10 19:35:52 [127.0.0.1] [48976061] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/general/myCache.class.php line 39 - Memcache::connect(): Can't connect to example.mydomain.com:11211, Connection refused (111)
2012-07-10 19:35:52 [127.0.0.1] [48976061] [API] [myCache->myCache] NOTICE: ERROR: Error while trying to connect to memcache. Make sure it is properly running on example.mydomain.com:11211
2012-07-10 19:35:53 [127.0.0.1] [48976061] [API] [kPermissionManager::addPartnerGroupAction] NOTICE: Permission item id [571] is not of type PermissionItemType::API_ACTION_ITEM but still defined in partner group permission id [117]
2012-07-10 19:35:53 [127.0.0.1] [48976061] [API] [kPermissionManager::addPartnerGroupAction] NOTICE: Permission item id [633] is not of type PermissionItemType::API_ACTION_ITEM but still defined in partner group permission id [117]
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] NOTICE: /opt/kaltura/app/infra/general/myCache.class.php line 39 - Memcache::connect(): Server example.mydomain.com (tcp 11211, udp 0) failed with: Connection refused (111)
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/general/myCache.class.php line 39 - Memcache::connect(): Can't connect to example.mydomain.com:11211, Connection refused (111)
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [myCache->myCache] NOTICE: ERROR: Error while trying to connect to memcache. Make sure it is properly running on example.mydomain.com:11211
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:02 [81.152.216.67] [1659128380] [API] [KalturaFrontController->errorHandler] WARN: /opt/kaltura/app/infra/KAutoloader.php line 52 - require_once(): Unable to allocate memory for pool.
2012-07-10 19:36:03 [81.152.216.67] [1659128380] [API] [KalturaFrontController->getExceptionObject] CRIT: exception 'Exception' with message 'Failed to connect to any Sphinx config' in /opt/kaltura/app/infra/db/DbManager.php:157
Stack trace:
#0 /opt/kaltura/app/plugins/sphinx_search/lib/SphinxCriteria.php(169): DbManager::getSphinxConnection()
#1 /opt/kaltura/app/plugins/sphinx_search/lib/SphinxCriteria.php(359): SphinxCriteria->executeSphinx('kaltura_entry', 'WHERE display_i...', 'ORDER BY create...', 50, 1000, true, '')
#2 /opt/kaltura/app/alpha/lib/model/entryPeer.php(449): SphinxCriteria->applyFilters()
#3 /opt/kaltura/app/api_v3/lib/KalturaEntryService.php(883): entryPeer::doSelect(Object(SphinxEntryCriteria))
#4 /opt/kaltura/app/api_v3/services/BaseEntryService.php(441): KalturaEntryService->listEntriesByFilter(Object(KalturaMediaEntryFilter), Object(KalturaFilterPager))
#5 [internal function]: BaseEntryService->listAction(Object(KalturaMediaEntryFilter), Object(KalturaFilterPager))
#6 /opt/kaltura/app/api_v3/lib/KalturaServiceReflector.php(293): call_user_func_array(Array, Array)
#7 /opt/kaltura/app/api_v3/lib/KalturaDispatcher.php(85): KalturaServiceReflector->invoke('list', Array)
#8 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(246): KalturaDispatcher->dispatch('baseentry', 'list', Array)
#9 /opt/kaltura/app/api_v3/lib/KalturaFrontController.php(90): KalturaFrontController->handleMultiRequest()
#10 /opt/kaltura/app/api_v3/web/index.php(19): KalturaFrontController->run()
#11 {main}

それなら私は何をすべきですか?:(

4

3 に答える 3

1

例外は、システムが sphinx に接続できないことを示しています。「searchd」プロセスが実行されていることを確認し、実行されていない場合は実行します (/opt/kaltura/app/scripts の下にスクリプトがあるはずです)。

Memcache はオプションである必要がありますが、パフォーマンスのためには絶対にお勧めします。Linux ディストリビューションのリポジトリからインストールできます。

于 2012-07-13T07:41:18.167 に答える
0

/opt/kaltura/log/sphinx/data/ 内のすべてのファイルを削除し、sphinx を再起動します。

于 2016-12-06T15:59:15.980 に答える
0

2 つの問題があります。PHP に十分なメモリがないか、ボックスのメモリが不足しているようです。

PHP の場合、/etc/php.ini の * memory_limit * 値を増やすことができます (Web サーバーの再起動が必要です) 。

もう 1 つの問題は、memcached サーバーが使用できないように見えることです。別のボックスで実行する場合は、ファイアウォールの設定を確認することをお勧めします。

お役に立てれば。

于 2012-07-10T13:43:02.880 に答える