I was having some problems with getting postgres started. When I tried service postgresql start - it would come back that postgresql is an unrecognized service. At the advice of people on this forum, I reinstalled postgresql. When in whm, it states that posgresql started ok, but in service status it still says failed. I have uncommented the tcp and port lines from postgresql.conf and set the tcp = true. I can log in and create a db and user, but when I try to connect to db, I receive an error message Warning: pg_connect(): Unable to connect to PostgreSQL server: unknown host name: localhost.
Any ideas?
I would really appreciate any help that anyone can offer.
Thanks,
Andy



LinkBack URL
About LinkBacks
Reply With Quote









