exception 'PDOException' with message 'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "192.168.0.2" and accepting TCP/IP connections on port 5432?' in /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('pgsql:host=192....', 'kpoint', 'gu3n454t4$GFRE', Array) #1 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Pgsql.php(87): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Pgsql->_connect() #3 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select object_i...', Array) #4 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Pdo_Abstract->query('select object_i...', Array) #5 /var/www/pointfm/www/application/models/Logger.php(95): Zend_Db_Adapter_Abstract->fetchAll('select object_i...', Array) #6 /var/www/pointfm/www/application/controllers/RecipesController.php(511): Logger->getAccessCountSince('recipe', '2016-02-13 00:0...', 27) #7 /var/www/pointfm/www/library/Zend/Controller/Action.php(513): RecipesController->getmostpopularAction() #8 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('getmostpopularA...') #9 /var/www/pointfm/www/library/Smarty/plugins/function.action.php(63): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #10 /var/www/pointfm/www/application/cache/templates_c/04134fb6118cdc7e2e0d2c7911ffa62c8dd66ccf.file.right.phtml.php(38): smarty_function_action(Array, Object(Smarty), Object(Smarty_Internal_Template)) #11 /var/www/pointfm/www/library/Smarty/sysplugins/smarty_internal_template.php(408): include('/var/www/pointf...') #12 /var/www/pointfm/www/library/Smarty/sysplugins/smarty_internal_template.php(525): Smarty_Internal_Template->renderTemplate() #13 /var/www/pointfm/www/application/cache/templates_c/cadc2afb63358879b60e810d57c82cb83b79dfc6.file.catalog.phtml.php(135): Smarty_Internal_Template->getRenderedTemplate() #14 /var/www/pointfm/www/library/Smarty/sysplugins/smarty_internal_template.php(408): include('/var/www/pointf...') #15 /var/www/pointfm/www/library/Smarty/sysplugins/smarty_internal_template.php(525): Smarty_Internal_Template->renderTemplate() #16 /var/www/pointfm/www/library/Smarty/Smarty.class.php(331): Smarty_Internal_Template->getRenderedTemplate() #17 /var/www/pointfm/www/library/Webexperience/View/Smarty.php(226): Smarty->fetch('recipes/catalog...') #18 /var/www/pointfm/www/library/Zend/Controller/Action/Helper/ViewRenderer.php(897): Webexperience_View_Smarty->render('recipes/catalog...') #19 /var/www/pointfm/www/library/Zend/Controller/Action/Helper/ViewRenderer.php(918): Zend_Controller_Action_Helper_ViewRenderer->renderScript('recipes/catalog...', NULL) #20 /var/www/pointfm/www/library/Zend/Controller/Action/Helper/ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render() #21 /var/www/pointfm/www/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #22 /var/www/pointfm/www/library/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #23 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('catalogAction') #24 /var/www/pointfm/www/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #25 /var/www/pointfm/www/index.php5(281): Zend_Controller_Front->dispatch() #26 {main} Next exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "192.168.0.2" and accepting TCP/IP connections on port 5432?' in /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Pgsql.php(87): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Pgsql->_connect() #2 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select object_i...', Array) #3 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Pdo_Abstract->query('select object_i...', Array) #4 /var/www/pointfm/www/application/models/Logger.php(95): Zend_Db_Adapter_Abstract->fetchAll('select object_i...', Array) #5 /var/www/pointfm/www/application/controllers/RecipesController.php(511): Logger->getAccessCountSince('recipe', '2016-02-13 00:0...', 27) #6 /var/www/pointfm/www/library/Zend/Controller/Action.php(513): RecipesController->getmostpopularAction() #7 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('getmostpopularA...') #8 /var/www/pointfm/www/library/Smarty/plugins/function.action.php(63): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /var/www/pointfm/www/application/cache/templates_c/04134fb6118cdc7e2e0d2c7911ffa62c8dd66ccf.file.right.phtml.php(38): smarty_function_action(Array, Object(Smarty), Object(Smarty_Internal_Template)) #10 /var/www/pointfm/www/library/Smarty/sysplugins/smarty_internal_template.php(408): include('/var/www/pointf...') #11 /var/www/pointfm/www/library/Smarty/sysplugins/smarty_internal_template.php(525): Smarty_Internal_Template->renderTemplate() #12 /var/www/pointfm/www/application/cache/templates_c/cadc2afb63358879b60e810d57c82cb83b79dfc6.file.catalog.phtml.php(135): Smarty_Internal_Template->getRenderedTemplate() #13 /var/www/pointfm/www/library/Smarty/sysplugins/smarty_internal_template.php(408): include('/var/www/pointf...') #14 /var/www/pointfm/www/library/Smarty/sysplugins/smarty_internal_template.php(525): Smarty_Internal_Template->renderTemplate() #15 /var/www/pointfm/www/library/Smarty/Smarty.class.php(331): Smarty_Internal_Template->getRenderedTemplate() #16 /var/www/pointfm/www/library/Webexperience/View/Smarty.php(226): Smarty->fetch('recipes/catalog...') #17 /var/www/pointfm/www/library/Zend/Controller/Action/Helper/ViewRenderer.php(897): Webexperience_View_Smarty->render('recipes/catalog...') #18 /var/www/pointfm/www/library/Zend/Controller/Action/Helper/ViewRenderer.php(918): Zend_Controller_Action_Helper_ViewRenderer->renderScript('recipes/catalog...', NULL) #19 /var/www/pointfm/www/library/Zend/Controller/Action/Helper/ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render() #20 /var/www/pointfm/www/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #21 /var/www/pointfm/www/library/Zend/Controller/Action.php(523): Zend_Controller_Action_HelperBroker->notifyPostDispatch() #22 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('catalogAction') #23 /var/www/pointfm/www/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #24 /var/www/pointfm/www/index.php5(281): Zend_Controller_Front->dispatch() #25 {main}