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 ???????...', Array) #4 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Pdo_Abstract->query('?SELECT ???????...', Array) #5 /var/www/pointfm/www/application/models/Company.php(362): Zend_Db_Adapter_Abstract->fetchAll('?SELECT ???????...', Array) #6 /var/www/pointfm/www/application/controllers/CompanyController.php(16): Company->getCategoriesWithCompanies('2') #7 /var/www/pointfm/www/application/controllers/SchoolsController.php(9): CompanyController->init() #8 /var/www/pointfm/www/library/Zend/Controller/Action.php(133): SchoolsController->init() #9 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(268): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #10 /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)) #11 /var/www/pointfm/www/index.php5(281): Zend_Controller_Front->dispatch() #12 {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 ???????...', Array) #3 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Pdo_Abstract->query('?SELECT ???????...', Array) #4 /var/www/pointfm/www/application/models/Company.php(362): Zend_Db_Adapter_Abstract->fetchAll('?SELECT ???????...', Array) #5 /var/www/pointfm/www/application/controllers/CompanyController.php(16): Company->getCategoriesWithCompanies('2') #6 /var/www/pointfm/www/application/controllers/SchoolsController.php(9): CompanyController->init() #7 /var/www/pointfm/www/library/Zend/Controller/Action.php(133): SchoolsController->init() #8 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(268): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array) #9 /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)) #10 /var/www/pointfm/www/index.php5(281): Zend_Controller_Front->dispatch() #11 {main}