Is the database (you mean postgresql probably?) installed? Is it running? (Does ps waux show 'postmaster'?) What happens if you login as the openACS user ('service0' if you're strictly following the install guide) and type psql?
Post some more info and we'll try to help! :)