As your AOLserver user, can you connect to your database from a shell ? Try "psql yourdb", if you can connect and run queries than it's AOLserver that is not talking to PG.
In the documentation I note that sometimes it's necessarry to link libpq. Did you do that?