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 * from h...', Array) #4 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Pdo_Abstract->query('select * from h...', Array) #5 /var/www/pointfm/www/application/models/Fertility.php(120): Zend_Db_Adapter_Abstract->fetchAll('select * from h...', Array) #6 /var/www/pointfm/www/application/models/Fertility.php(179): Fertility->getPeriodsSince(NULL, '2015-05-03') #7 /var/www/pointfm/www/application/controllers/BirthdateController.php(95): Fertility->getLastYearPeriodsWithLengths(NULL) #8 /var/www/pointfm/www/application/controllers/BirthdateController.php(39): BirthdateController->getLastPeriodFromFertilityCalendar() #9 /var/www/pointfm/www/library/Zend/Controller/Action.php(513): BirthdateController->indexAction() #10 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #11 /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)) #12 /var/www/pointfm/www/index.php5(281): Zend_Controller_Front->dispatch() #13 {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 * from h...', Array) #3 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Pdo_Abstract->query('select * from h...', Array) #4 /var/www/pointfm/www/application/models/Fertility.php(120): Zend_Db_Adapter_Abstract->fetchAll('select * from h...', Array) #5 /var/www/pointfm/www/application/models/Fertility.php(179): Fertility->getPeriodsSince(NULL, '2015-05-03') #6 /var/www/pointfm/www/application/controllers/BirthdateController.php(95): Fertility->getLastYearPeriodsWithLengths(NULL) #7 /var/www/pointfm/www/application/controllers/BirthdateController.php(39): BirthdateController->getLastPeriodFromFertilityCalendar() #8 /var/www/pointfm/www/library/Zend/Controller/Action.php(513): BirthdateController->indexAction() #9 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #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}