@hiphopservers wrote:
When upgrade to the new version of Kaltura CE on CentOS v6.7 I get the following error when trying to run the configuration all script.
searchd (pid 18387 18386) is running... Stopping searchd: Sphinx 2.2.1-id64-dev (r4097) Copyright (c) 2001-2013, Andrew Aksyonoff Copyright (c) 2008-2013, Sphinx Technologies Inc (http://sphinxsearch.com) using config file '/opt/kaltura/app/configurations/sphinx/kaltura.conf'... stop: successfully sent SIGTERM to pid 18387 Backing up files to /opt/kaltura/sphinx.bck.1481576899. Once the upgrade is done and tested, please remove this di rectory to save space Starting searchd: Sphinx 2.2.1-id64-dev (r4097) Copyright (c) 2001-2013, Andrew Aksyonoff Copyright (c) 2008-2013, Sphinx Technologies Inc (http://sphinxsearch.com) using config file '/opt/kaltura/app/configurations/sphinx/kaltura.conf'... listening on all interfaces, port=9312 WARNING: index 'kaltura_base': no fields configured (use rt_field directive) - NOT SERVING WARNING: index 'kaltura_base_gt_in_charset': no fields configured (use rt_field directive) - NOT SERVING precaching index 'kaltura_entry' precaching index 'kaltura_category' precaching index 'kaltura_kuser' precaching index 'kaltura_category_kuser' precaching index 'kaltura_cue_point' precaching index 'kaltura_entry_distribution' precaching index 'kaltura_caption_item' precaching index 'kaltura_tag' precaching index 'kaltura_metadata' precaching index 'kaltura_schedule_event' precached 10 indexes in 0.049 sec 2016-12-12 21:08:19 [DbManager::connectFallbackLogic] ERR: exception 'Exception' with message 'failed to connect t o propel3' in /opt/kaltura/app/infra/log/KalturaLog.php:83 Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/db/DbManager.php(279): KalturaLog::err('failed to conne...') #1 /opt/kaltura/app/alpha/apps/kaltura/lib/myDbHelper.class.php(35): DbManager::connectFallbackLogic(Array, Array, Array) #2 /opt/kaltura/app/deployment/base/scripts/populateSphinxEntries.php(21): myDbHelper::getConnection('propel2') #3 {main} 2016-12-12 21:08:19 [DbManager::connectFallbackLogic] ERR: exception 'Exception' with message 'failed to connect t o propel2' in /opt/kaltura/app/infra/log/KalturaLog.php:83 Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/db/DbManager.php(279): KalturaLog::err('failed to conne...') #1 /opt/kaltura/app/alpha/apps/kaltura/lib/myDbHelper.class.php(35): DbManager::connectFallbackLogic(Array, Array, Array) #2 /opt/kaltura/app/deployment/base/scripts/populateSphinxEntries.php(21): myDbHelper::getConnection('propel2') #3 {main} 2016-12-12 21:08:19 [DbManager::connectFallbackLogic] ERR: exception 'Exception' with message 'failed to connect t o propel3' in /opt/kaltura/app/infra/log/KalturaLog.php:83 Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/db/DbManager.php(279): KalturaLog::err('failed to conne...') #1 /opt/kaltura/app/alpha/apps/kaltura/lib/myDbHelper.class.php(35): DbManager::connectFallbackLogic(Array, Array, Array) #2 /opt/kaltura/app/deployment/base/scripts/populateSphinxEntries.php(21): myDbHelper::getConnection('propel2') #3 {main} 2016-12-12 21:08:19 [DbManager::connectFallbackLogic] ERR: exception 'Exception' with message 'failed to connect t o propel2' in /opt/kaltura/app/infra/log/KalturaLog.php:83 Stack trace: #0 /opt/kaltura/app/alpha/apps/kaltura/lib/db/DbManager.php(279): KalturaLog::err('failed to conne...') #1 /opt/kaltura/app/alpha/apps/kaltura/lib/myDbHelper.class.php(35): DbManager::connectFallbackLogic(Array, Array, Array) #2 /opt/kaltura/app/deployment/base/scripts/populateSphinxEntries.php(21): myDbHelper::getConnection('propel2') #3 {main} PHP Fatal error: Uncaught exception 'PropelException' with message 'Could not connect to any database server' in /opt/kaltura/app/alpha/apps/kaltura/lib/myDbHelper.class.php:37 Stack trace: #0 /opt/kaltura/app/deployment/base/scripts/populateSphinxEntries.php(21): myDbHelper::getConnection('propel2') #1 {main} thrown in /opt/kaltura/app/alpha/apps/kaltura/lib/myDbHelper.class.php on line 37 Failed to run /opt/kaltura/app/deployment/base/scripts/populateSphinxEntries.php. Please try to run it manually and look at the logs ERROR: /opt/kaltura/bin/kaltura-sphinx-config.sh failed:( You can re-run it when the issue is fixed.
Install breaks at the sphinx configuration and will not move forward.
Posts: 4
Participants: 2