Vivian,
This is an error w/ your postgres setup, not OACS. Your error means AOLServer can't connect to postgres. Make sure you've used postgres's 'createdb' command to create the database, and 'createuser' to set up the right user to access the database (usually nsadmin), and that postmaster is running on the port AOLServer is expecting.
--dan