Dipak; Is the postmaster running with the -i options? Is localhost defined in HOSTS? Is localhosts allowed access to postgres via pg_hba.conf?
I am assuming that the postgres package installed as you were able to compile * with postgres support, so check out your postgres install. The error stats that * can not connect to postgres. Lyle ----- Original Message ----- From: "DIPAK PAUL" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 23, 2004 4:03 AM Subject: [Asterisk-Users] Problem with asterisk and postgresql > Hi Every one and Fabio Donaggio > > Fabio Donaggio you have faced same type of problem with postgresql with > asterisk. Did you solved your problem. Please help me. The problem is as > follows: > > When i reload the asterisk I had got this error > > > "== Parsing '/etc/asterisk/cdr_pgsql.conf': Found > Aug 23 14:22:33 ERROR[1076245120]: cdr_pgsql.c:299 my_load_module: > cdr_pgsql: Unable to connect to database server localhost. Calls will not > be logged! > Aug 23 14:22:33 ERROR[1076245120]: cdr_pgsql.c:300 my_load_module: > cdr_pgsql: Reason: could not connect to server: Connection refused > Is the server running on host localhost and accepting > TCP/IP connections on port 5432? > " > And I have configure the cdr_pgsql.conf file as: > " > [global] > hostname=localhost > port=5432 > dbname=asterisk > password= > user=postgres > " > > Please help me. > > With best regards. > > Dipak Kumar Paul > Tryarc LLC > > _________________________________________________________________ > Sports, sports and more sports! Keep up with all the action! > http://www.msn.co.in/sports/ Stay connected with MSN Sports! > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
