THen make sure PostgreSQL is running.
Then restart AOLserver.
This should fix it. It looks like AOLserver started up before PostgreSQL.