0

我在Uploading any Content(或)访问[ Content ] TabKaltura 管理控制台中的 , 时出错。我是管理员角色。

它显示如下:

在此处输入图像描述

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

我看到两个问题。您的 PHP 没有足够的内存,或者您的盒子似乎内存不足。

对于 php,您可以在/etc/php.ini中增加 *memory_limit* 值(需要重新启动 Web 服务器)

另一件事是 memcached 服务器似乎不可用。如果它在不同的盒子上运行,您可能需要检查防火墙设置。

希望这可以帮助。

于 2012-07-10T13:43:02.880 回答
0

删除 /opt/kaltura/log/sphinx/data/ 中的所有文件并再次启动 sphinx。

于 2016-12-06T15:59:15.980 回答