SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?

Details

Message
SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?
Code
7
File
/var/www/php/Zend-1.12/Zend/Db/Adapter/Pdo/Abstract.php
Line
144
Trace
#0 /var/www/php/Zend-1.12/Zend/Db/Adapter/Pdo/Pgsql.php(87): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/html/production/joblife.sk/library/Bart/Db/Adapter/Pdo/Pgsql.php(13): Zend_Db_Adapter_Pdo_Pgsql->_connect()
#2 /var/www/php/Zend-1.12/Zend/Db/Adapter/Abstract.php(460): Bart_Db_Adapter_Pdo_Pgsql->_connect()
#3 /var/www/php/Zend-1.12/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT accountt...', Array)
#4 /var/www/html/production/joblife.sk/library/Bart/Db/Adapter/Pdo/Pgsql.php(44): Zend_Db_Adapter_Pdo_Abstract->query('SELECT accountt...')
#5 /var/www/html/production/joblife.sk/library/Joblife/Acl.php(21): Bart_Db_Adapter_Pdo_Pgsql->getAll('SELECT accountt...')
#6 /var/www/html/production/joblife.sk/library/Joblife/Acl.php(14): Joblife_Acl->_loadRoles()
#7 /var/www/html/production/joblife.sk/library/Joblife/Acl.php(10): Joblife_Acl->_load()
#8 /var/www/html/production/joblife.sk/index.php(315): Joblife_Acl->__construct()
#9 {main}

go back