[asterisk-users] Database postgresql not able to start
asterisk at opensourcesolution.in
asterisk at opensourcesolution.in
Sun Nov 15 00:52:22 CST 2009
i have installed database POSTGRESQL for storing call details. when i
restart database i get the error.
[root at localhost server]# psql -h
127.0.0.1 -U asterisk Password
psql: could not connect to server:
Connection refused
Is the server running on host "127.0.0.1" and
accepting
TCP/IP connections on port 5432?
THIS IS MY
/VAR/LIB/PGSQL/DATA/POSTGRESQL.CONF
# CONNECTIONS AND
AUTHENTICATION
#---------------------------------------------------------------------------
#
- Connection Settings -
#listen_addresses = 'localhost' # what IP
address(es) to listen on;
# comma-separated list of addresses;
# defaults
to 'localhost', '*' = all
port = 5432
max_connections = 100
# note:
increasing max_connections costs ~400 bytes of shared memory per
#
connection slot, plus lock space (see max_locks_per_transaction). You
#
might also need to raise shared_buffers to support more
connections.
#superuser_reserved_connections = 2
#unix_socket_directory =
''
#unix_socket_group = ''
#unix_socket_permissions = 0777 #
octal
#bonjour_name = '' # defaults to the computer
asterisk is not able
to make TCP/Ip connection. plz guide me where i am doing wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091115/93d34954/attachment.htm
More information about the asterisk-users
mailing list